1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!-- Inserted as a reminder to do this. The mention of a test suite
|
---|
8 | is usually right before the root user installation commands. Please
|
---|
9 | delete these 12 (including one blank) lines after you are done.-->
|
---|
10 |
|
---|
11 | <!-- Use one of the two mentions below about a test suite,
|
---|
12 | delete the line that is not applicable. Of course, if the
|
---|
13 | test suite uses syntax other than "make check", revise the
|
---|
14 | line to reflect the actual syntax to run the test suite -->
|
---|
15 |
|
---|
16 | <!-- <para>This package does not come with a test suite.</para> -->
|
---|
17 | <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
|
---|
18 |
|
---|
19 | <!ENTITY pdl-download-http "http://prdownloads.sourceforge.net/pdl/PDL-&pdl-version;.tar.gz">
|
---|
20 | <!ENTITY pdl-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/PDL-&pdl-version;.tar.gz">
|
---|
21 | <!ENTITY pdl-md5sum "edd056a006eae8b46e8ef804b9774a93">
|
---|
22 | <!ENTITY pdl-size "2.1 MB">
|
---|
23 | <!ENTITY pdl-buildsize "74 MB">
|
---|
24 | <!ENTITY pdl-time "2.56 SBU">
|
---|
25 | ]>
|
---|
26 |
|
---|
27 | <sect1 id="pdl" xreflabel="PDL">
|
---|
28 | <?dbhtml filename="pdl.html" ?>
|
---|
29 |
|
---|
30 | <sect1info>
|
---|
31 | <othername>$LastChangedBy$</othername>
|
---|
32 | <date>$Date$</date>
|
---|
33 | <keywordset>
|
---|
34 | <keyword role="package">PDL-&pdl-version;.tar</keyword>
|
---|
35 | <keyword role="ftpdir">PDL</keyword>
|
---|
36 | </keywordset>
|
---|
37 | </sect1info>
|
---|
38 |
|
---|
39 | <title>PDL-&pdl-version;</title>
|
---|
40 |
|
---|
41 | <indexterm zone="pdl">
|
---|
42 | <primary sortas="a-PDL">PDL</primary>
|
---|
43 | </indexterm>
|
---|
44 |
|
---|
45 | <sect2 role="package">
|
---|
46 | <title>Introduction to PDL</title>
|
---|
47 |
|
---|
48 | <para><application>PDL</application> (Perl Data Language) gives
|
---|
49 | standard <application>Perl</application> the ability to compactly store
|
---|
50 | and quickly manipulate the large N-dimensional data arrays common to
|
---|
51 | scientific computing. <application>PDL</application> turns
|
---|
52 | <application>Perl</application> into an array-oriented, numerical language
|
---|
53 | similar to such commercial packages as <application>IDL</application>
|
---|
54 | and <application>MatLab</application>. One can write simple
|
---|
55 | <application>Perl</application> expressions to manipulate entire numerical
|
---|
56 | arrays all at once.</para>
|
---|
57 |
|
---|
58 | <para><application>PDL</application> provides extensive numerical and
|
---|
59 | semi-numerical functionality with support for two- and three-dimensional
|
---|
60 | visualisation as well as a variety of I/O formats. The goal is to allow
|
---|
61 | <application>PDL</application> to interact with a variety of external
|
---|
62 | numerical packages, graphics and visualisation systems. Easy interfacing
|
---|
63 | to such systems is one of the core design features of
|
---|
64 | <application>PDL</application>.</para>
|
---|
65 |
|
---|
66 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
67 | <itemizedlist spacing="compact">
|
---|
68 | <listitem>
|
---|
69 | <para>Download (HTTP): <ulink url="&pdl-download-http;"/></para>
|
---|
70 | </listitem>
|
---|
71 | <listitem>
|
---|
72 | <para>Download (FTP): <ulink url="&pdl-download-ftp;"/></para>
|
---|
73 | </listitem>
|
---|
74 | <listitem>
|
---|
75 | <para>Download MD5 sum: &pdl-md5sum;</para>
|
---|
76 | </listitem>
|
---|
77 | <listitem>
|
---|
78 | <para>Download size: &pdl-size;</para>
|
---|
79 | </listitem>
|
---|
80 | <listitem>
|
---|
81 | <para>Estimated disk space required: &pdl-buildsize;</para>
|
---|
82 | </listitem>
|
---|
83 | <listitem>
|
---|
84 | <para>Estimated build time: &pdl-time;</para>
|
---|
85 | </listitem>
|
---|
86 | </itemizedlist>
|
---|
87 |
|
---|
88 | <bridgehead renderas="sect3">PDL Dependencies</bridgehead>
|
---|
89 |
|
---|
90 | <para><application>PDL</application> is a collection of over 90
|
---|
91 | <application>Perl</application> modules. Some of these modules require
|
---|
92 | additional libraries, packages and/or <application>Perl</application>
|
---|
93 | modules for full functionality. Listed below are the modules which require
|
---|
94 | additional software or configuration. If you don't need a particular
|
---|
95 | module's functionality, you don't need to install its dependencies. The
|
---|
96 | dependency tree for each module is listed downward, meaning you'll need to
|
---|
97 | start at the bottom of a module's tree and work up. The dependencies are
|
---|
98 | listed in the same order as they are in the
|
---|
99 | <filename>DEPENDENCIES</filename> file, found in the package source
|
---|
100 | tree.</para>
|
---|
101 |
|
---|
102 | <para>This package (and many of the dependency packages) requires a Fortran
|
---|
103 | compiler for full functionality of all the different modules. The
|
---|
104 | <command>gfortran</command> compiler installed with the current BLFS
|
---|
105 | version of <application>GCC</application> (&gcc-version;) will not work. If
|
---|
106 | you want to compile the parts of this package that require a Fortran
|
---|
107 | compiler, you'll need to install a
|
---|
108 | <application>GCC</application>-3.x.x version of Fortran. The
|
---|
109 | <application>GCC</application> developers recommend using Fortran from
|
---|
110 | <application>GCC</application>-3.4.6. You can find specific instructions
|
---|
111 | to install a <application>GCC</application>-3.4.6 compiler on the
|
---|
112 | <ulink url="http://wiki.linuxfromscratch.org/blfs/wiki/gcc3">BLFS
|
---|
113 | Wiki</ulink>. Alternatively, if you have a need to install
|
---|
114 | <xref linkend="gcc3"/>, you can add the Fortran compiler to the list of
|
---|
115 | compilers installed in those instructions. Don't forget to put the
|
---|
116 | directory containing the <command>{g,f}77</command> commands at the
|
---|
117 | beginning of your <envar>PATH</envar> environment variable before
|
---|
118 | beginning the compilation.</para>
|
---|
119 |
|
---|
120 | <bridgehead renderas="sect4">PDL::NiceSlice</bridgehead>
|
---|
121 |
|
---|
122 | <para>The <application>PDL</application>::NiceSlice module is used to
|
---|
123 | enhance <application>PDL</application>'s slice syntax.
|
---|
124 | <quote>Slicing</quote> is a term used in the process of creating a
|
---|
125 | cross-section, or slice, of a <application>PDL</application> object
|
---|
126 | (piddle).</para>
|
---|
127 |
|
---|
128 | <itemizedlist spacing='compact'>
|
---|
129 | <listitem>
|
---|
130 | <para><ulink
|
---|
131 | url="http://www.cpan.org/authors/id/P/PM/PMQS/Filter-&Filter-version;.tar.gz">
|
---|
132 | Filter-&Filter-version;</ulink></para>
|
---|
133 | </listitem>
|
---|
134 | </itemizedlist>
|
---|
135 |
|
---|
136 | <bridgehead renderas="sect4">Inline::Pdlpp</bridgehead>
|
---|
137 |
|
---|
138 | <para>The Inline::Pdlpp module allows you to define fast PP
|
---|
139 | code inline in your scripts.</para>
|
---|
140 |
|
---|
141 | <itemizedlist spacing='compact'>
|
---|
142 | <listitem>
|
---|
143 | <para><ulink
|
---|
144 | url="http://www.cpan.org/authors/id/I/IN/INGY/Inline-&Inline-version;.tar.gz">
|
---|
145 | Inline-&Inline-version;</ulink></para>
|
---|
146 | <itemizedlist>
|
---|
147 | <listitem>
|
---|
148 | <para><ulink
|
---|
149 | url="http://www.cpan.org/authors/id/D/DC/DCONWAY/Parse-RecDescent-&Parse-RecDescent-version;.tar.gz">
|
---|
150 | Parse-RecDescent-&Parse-RecDescent-version;</ulink></para>
|
---|
151 | </listitem>
|
---|
152 | </itemizedlist>
|
---|
153 | </listitem>
|
---|
154 | </itemizedlist>
|
---|
155 |
|
---|
156 | <bridgehead renderas="sect4">Perldl</bridgehead>
|
---|
157 |
|
---|
158 | <para><command>perldl</command> is a simple shell (written in
|
---|
159 | <application>Perl</application>) which allows interactive
|
---|
160 | use of <application>PDL</application>.</para>
|
---|
161 |
|
---|
162 | <itemizedlist spacing='compact'>
|
---|
163 | <listitem>
|
---|
164 | <para><ulink
|
---|
165 | url="http://www.cpan.org/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-&Term-ReadLine-Gnu-version;.tar.gz">
|
---|
166 | Term-ReadLine-Gnu-&Term-ReadLine-Gnu-version;</ulink></para>
|
---|
167 | </listitem>
|
---|
168 | </itemizedlist>
|
---|
169 |
|
---|
170 | <bridgehead renderas="sect4">PDL::Graphics::TriD</bridgehead>
|
---|
171 |
|
---|
172 | <para>The <application>PDL</application>::Graphics::TriD module implements
|
---|
173 | a generic 3D plotting interface for <application>PDL</application>. Points,
|
---|
174 | lines and surfaces (among other objects) are supported.</para>
|
---|
175 |
|
---|
176 | <itemizedlist spacing='compact'>
|
---|
177 | <listitem>
|
---|
178 | <para>OpenGL (<xref linkend="x-window-system"/>)</para>
|
---|
179 | </listitem>
|
---|
180 | </itemizedlist>
|
---|
181 |
|
---|
182 | <bridgehead renderas="sect4">PDL::Graphics::PGPLOT</bridgehead>
|
---|
183 |
|
---|
184 | <para>The <application>PDL</application>::Graphics::PGPLOT module is a
|
---|
185 | convenience interface to the <application>PGPLOT</application> commands,
|
---|
186 | implemented using the object oriented <application>PGPLOT</application>
|
---|
187 | plotting package in the PDL::Graphics::PGPLOT::Window module.</para>
|
---|
188 |
|
---|
189 | <itemizedlist spacing='compact'>
|
---|
190 | <listitem>
|
---|
191 | <para><ulink
|
---|
192 | url="http://www.cpan.org/authors/id/K/KG/KGB/PGPLOT-&PGPLOT-perl-version;.tar.gz">
|
---|
193 | PGPLOT-&PGPLOT-perl-version;</ulink></para>
|
---|
194 | <itemizedlist>
|
---|
195 | <listitem>
|
---|
196 | <para><ulink
|
---|
197 | url="http://www.cpan.org/authors/id/K/KG/KGB/ExtUtils-F77-&ExtUtils-F77-version;.tar.gz">
|
---|
198 | ExtUtils-F77-&ExtUtils-F77-version;</ulink></para>
|
---|
199 | <itemizedlist>
|
---|
200 | <listitem>
|
---|
201 | <para><ulink
|
---|
202 | url="http://wiki.linuxfromscratch.org/blfs/wiki/gcc3">a Fortran
|
---|
203 | compiler</ulink></para>
|
---|
204 | </listitem>
|
---|
205 | </itemizedlist>
|
---|
206 | </listitem>
|
---|
207 | <listitem>
|
---|
208 | <para><ulink
|
---|
209 | url="http://astro.caltech.edu/~tjp/pgplot/">PGPLOT</ulink></para>
|
---|
210 | <itemizedlist>
|
---|
211 | <listitem>
|
---|
212 | <para><xref linkend="x-window-system"/>,
|
---|
213 | <xref linkend="lesstif"/>,
|
---|
214 | <xref linkend="tk"/>, and <ulink
|
---|
215 | url="http://wiki.linuxfromscratch.org/blfs/wiki/gcc3">a Fortran
|
---|
216 | compiler</ulink></para>
|
---|
217 | </listitem>
|
---|
218 | </itemizedlist>
|
---|
219 | </listitem>
|
---|
220 | </itemizedlist>
|
---|
221 | </listitem>
|
---|
222 | </itemizedlist>
|
---|
223 |
|
---|
224 | <bridgehead renderas="sect4">PDL::Graphics::PLPLOT</bridgehead>
|
---|
225 |
|
---|
226 | <para>The <application>PDL</application>::Graphics::PLPLOT module is a
|
---|
227 | simple interface to the <application>PLplot</application> plotting library.</para>
|
---|
228 |
|
---|
229 | <itemizedlist spacing='compact'>
|
---|
230 | <listitem>
|
---|
231 | <para><ulink url="http://plplot.sourceforge.net/">PLplot</ulink></para>
|
---|
232 | <itemizedlist>
|
---|
233 | <listitem>
|
---|
234 | <para><xref linkend="pkgconfig"/>,
|
---|
235 | <xref linkend="x-window-system"/>,
|
---|
236 | <xref linkend="GTK"/>,
|
---|
237 | <xref linkend="freetype2"/>,
|
---|
238 | <ulink url="http://www.boutell.com/gd/">GD</ulink>,
|
---|
239 | <ulink url="http://www.svgalib.org/">SVGAlib</ulink>,
|
---|
240 | <xref linkend="gnome-libs"/>,
|
---|
241 | <xref linkend="jdk"/>,
|
---|
242 | <xref linkend="tk"/>,
|
---|
243 | <xref linkend="python"/> (with
|
---|
244 | <ulink url="http://www.numpy.org/">Numeric Python</ulink>),
|
---|
245 | <ulink url="http://wiki.linuxfromscratch.org/blfs/wiki/gcc3">a
|
---|
246 | Fortran compiler</ulink>,
|
---|
247 | <ulink url="http://www.swig.org/">SWIG</ulink>, and
|
---|
248 | <ulink url="http://sourceforge.net/projects/incrtcl/">iTcl</ulink></para>
|
---|
249 | </listitem>
|
---|
250 | </itemizedlist>
|
---|
251 | </listitem>
|
---|
252 | </itemizedlist>
|
---|
253 |
|
---|
254 | <bridgehead renderas="sect4">PDL::Graphics::IIS</bridgehead>
|
---|
255 |
|
---|
256 | <para>The <application>PDL</application>::Graphics::IIS
|
---|
257 | module provides an interface to any image display <quote>device</quote>
|
---|
258 | which supports the <quote>IIS protocol</quote>.</para>
|
---|
259 |
|
---|
260 | <itemizedlist spacing='compact'>
|
---|
261 | <listitem>
|
---|
262 | <para><ulink
|
---|
263 | url="http://tdc-www.harvard.edu/software/saoimage.html">SAOimage</ulink></para>
|
---|
264 | <itemizedlist>
|
---|
265 | <listitem>
|
---|
266 | <para><xref linkend="x-window-system"/></para>
|
---|
267 | </listitem>
|
---|
268 | </itemizedlist>
|
---|
269 | </listitem>
|
---|
270 | <listitem>
|
---|
271 | <para><ulink
|
---|
272 | url="http://iraf.noao.edu/iraf/web/projects/x11iraf/x11iraf.html">X11
|
---|
273 | IRAF</ulink></para>
|
---|
274 | <itemizedlist>
|
---|
275 | <listitem>
|
---|
276 | <para><xref linkend="x-window-system"/> and
|
---|
277 | <xref linkend="tk"/></para>
|
---|
278 | </listitem>
|
---|
279 | </itemizedlist>
|
---|
280 | </listitem>
|
---|
281 | </itemizedlist>
|
---|
282 |
|
---|
283 | <bridgehead renderas="sect4">PDL::Graphics::Karma</bridgehead>
|
---|
284 |
|
---|
285 | <para>The <application>PDL</application>::Graphics::Karma
|
---|
286 | module is an interface to <application>Karma</application> visualisation
|
---|
287 | applications.</para>
|
---|
288 |
|
---|
289 | <itemizedlist spacing='compact'>
|
---|
290 | <listitem>
|
---|
291 | <para><ulink
|
---|
292 | url="http://www.atnf.csiro.au/computing/software/karma/">Karma</ulink></para>
|
---|
293 | <itemizedlist>
|
---|
294 | <listitem>
|
---|
295 | <para><xref linkend="x-window-system"/></para>
|
---|
296 | </listitem>
|
---|
297 | </itemizedlist>
|
---|
298 | </listitem>
|
---|
299 | </itemizedlist>
|
---|
300 |
|
---|
301 | <para><emphasis>Note:</emphasis> You may need to modify the
|
---|
302 | <option>WHERE_KARMA => undef</option> line in the source tree
|
---|
303 | <filename>perldl.conf</filename> file to point to your installation
|
---|
304 | of <application>Karma</application></para>
|
---|
305 |
|
---|
306 | <bridgehead renderas="sect4">PDL::IO::Pic</bridgehead>
|
---|
307 |
|
---|
308 | <para> The <application>PDL</application>::IO::Pic module implements I/O
|
---|
309 | for a number of popular image formats by exploiting the
|
---|
310 | <command>xxxtopnm</command> and <command>pnmtoxxx</command>
|
---|
311 | converters from the <application>Netpbm</application> package and the
|
---|
312 | <command>cjpeg</command> and <command>djpeg</command> converters.
|
---|
313 | It also contains the routine wmpeg to write MPEG movies from piddles
|
---|
314 | representing image stacks.</para>
|
---|
315 |
|
---|
316 | <itemizedlist spacing='compact'>
|
---|
317 | <listitem>
|
---|
318 | <para><ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink>,
|
---|
319 | <xref linkend="libjpeg"/> and
|
---|
320 | <ulink url="ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/mpeg/encode/">
|
---|
321 | mpeg_encode</ulink></para>
|
---|
322 | </listitem>
|
---|
323 | </itemizedlist>
|
---|
324 |
|
---|
325 | <bridgehead renderas="sect4">PDL::Slatec</bridgehead>
|
---|
326 |
|
---|
327 | <para> The <application>PDL</application>::Slatec module serves the dual
|
---|
328 | purpose of providing an interface to parts of the slatec library and showing
|
---|
329 | how to interface <application>PDL</application> to an external library.
|
---|
330 | The module provides routines to manipulate matrices, calculate FFTs, fit
|
---|
331 | data using polynomials, and interpolate/integrate data using piecewise
|
---|
332 | cubic Hermite interpolation.</para>
|
---|
333 |
|
---|
334 | <itemizedlist spacing='compact'>
|
---|
335 | <listitem>
|
---|
336 | <para><ulink
|
---|
337 | url="http://www.cpan.org/authors/id/K/KG/KGB/ExtUtils-F77-&ExtUtils-F77-version;.tar.gz">
|
---|
338 | ExtUtils-F77-&ExtUtils-F77-version;</ulink></para>
|
---|
339 | <itemizedlist>
|
---|
340 | <listitem>
|
---|
341 | <para><ulink
|
---|
342 | url="http://wiki.linuxfromscratch.org/blfs/wiki/gcc3">a Fortran
|
---|
343 | compiler</ulink></para>
|
---|
344 | </listitem>
|
---|
345 | </itemizedlist>
|
---|
346 | </listitem>
|
---|
347 | </itemizedlist>
|
---|
348 |
|
---|
349 | <bridgehead renderas="sect4">PDL::GSL</bridgehead>
|
---|
350 |
|
---|
351 | <para> The <application>PDL</application>::<application>GSL</application>
|
---|
352 | module is an interface to the functions provided by the Gnu Scientific Library.</para>
|
---|
353 |
|
---|
354 | <itemizedlist spacing='compact'>
|
---|
355 | <listitem>
|
---|
356 | <para><ulink url="http://www.gnu.org/software/gsl/">GSL</ulink></para>
|
---|
357 | </listitem>
|
---|
358 | </itemizedlist>
|
---|
359 |
|
---|
360 | <bridgehead renderas="sect4">PDL::FFTW</bridgehead>
|
---|
361 |
|
---|
362 | <para> The <application>PDL</application>::<application>FFTW</application>
|
---|
363 | module is a means to interface <application>PDL</application> with the
|
---|
364 | <application>FFTW</application> library. It's similar to the standard FFT
|
---|
365 | routine but it's usually faster and has support for real transforms. It works
|
---|
366 | well for the types of piddles for which the library was compiled (otherwise it
|
---|
367 | must do conversions).</para>
|
---|
368 |
|
---|
369 | <itemizedlist spacing='compact'>
|
---|
370 | <listitem>
|
---|
371 | <para><ulink url="http://www.fftw.org/">FFTW-2.x</ulink></para>
|
---|
372 | </listitem>
|
---|
373 | </itemizedlist>
|
---|
374 |
|
---|
375 | <bridgehead renderas="sect4">PDL::IO::Browser</bridgehead>
|
---|
376 |
|
---|
377 | <para>The <application>PDL</application>::IO::Browser module
|
---|
378 | is a 2D cursor terminal data browser for piddles.</para>
|
---|
379 |
|
---|
380 | <para>There is no additional software required to use the module. However,
|
---|
381 | the default is to not install the module because some platforms don't provide
|
---|
382 | a curses compatible library. To enable the module, issue the following
|
---|
383 | command:</para>
|
---|
384 |
|
---|
385 | <screen><userinput>sed -i -e "s/WITH_IO_BROWSER => 0/WITH_IO_BROWSER => 1/" \
|
---|
386 | perldl.conf</userinput></screen>
|
---|
387 |
|
---|
388 | <bridgehead renderas="sect4">PDL::IO::NDF</bridgehead>
|
---|
389 |
|
---|
390 | <para>The <application>PDL</application>::IO::NDF module adds the ability to
|
---|
391 | read and write Starlink N-dimensional data files as N-dimensional piddles.</para>
|
---|
392 |
|
---|
393 | <itemizedlist spacing='compact'>
|
---|
394 | <listitem>
|
---|
395 | <para><ulink
|
---|
396 | url="http://www.cpan.org/authors/id/A/AA/AALLAN/Astro-FITS-Header-&Astro-FITS-Header-version;.tar.gz">
|
---|
397 | Astro-FITS-Header-&Astro-FITS-Header-version;</ulink></para>
|
---|
398 | <itemizedlist>
|
---|
399 | <listitem>
|
---|
400 | <para><ulink
|
---|
401 | url="http://www.cpan.org/authors/id/P/PR/PRATZLAFF/Astro-FITS-CFITSIO-&Astro-FITS-CFITSIO-version;.tar.gz">
|
---|
402 | Astro-FITS-CFITSIO-&Astro-FITS-CFITSIO-version;</ulink></para>
|
---|
403 | <itemizedlist>
|
---|
404 | <listitem>
|
---|
405 | <para><ulink
|
---|
406 | url="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/">CFITSIO</ulink></para>
|
---|
407 | </listitem>
|
---|
408 | </itemizedlist>
|
---|
409 | </listitem>
|
---|
410 | <listitem>
|
---|
411 | <para><ulink
|
---|
412 | url="ftp://ftp.starlink.rl.ac.uk/pub/ussc/store/starperl/starperl.tar.Z">
|
---|
413 | NDF-&NDF-version;</ulink></para>
|
---|
414 | <itemizedlist>
|
---|
415 | <listitem>
|
---|
416 | <para><ulink
|
---|
417 | url="ftp://ftp.starlink.rl.ac.uk/pub/ussc/store/starperl/starperl.tar.Z">
|
---|
418 | Starlink-Config-&Starlink-Config-version;</ulink></para>
|
---|
419 | <itemizedlist>
|
---|
420 | <listitem>
|
---|
421 | <para><ulink url="http://star-www.rl.ac.uk/">Starlink IMG</ulink></para>
|
---|
422 | <itemizedlist>
|
---|
423 | <listitem>
|
---|
424 | <para><ulink url="http://star-www.rl.ac.uk/">Starlink NDF</ulink></para>
|
---|
425 | <itemizedlist>
|
---|
426 | <listitem>
|
---|
427 | <para><ulink
|
---|
428 | url="http://wiki.linuxfromscratch.org/blfs/wiki/gcc3">a
|
---|
429 | Fortran compiler</ulink></para>
|
---|
430 | </listitem>
|
---|
431 | </itemizedlist>
|
---|
432 | </listitem>
|
---|
433 | </itemizedlist>
|
---|
434 | </listitem>
|
---|
435 | </itemizedlist>
|
---|
436 | </listitem>
|
---|
437 | </itemizedlist>
|
---|
438 | </listitem>
|
---|
439 | <listitem>
|
---|
440 | <para><ulink
|
---|
441 | url="ftp://ftp.starlink.rl.ac.uk/pub/ussc/store/starperl/starperl.tar.Z">
|
---|
442 | GSD-&GSD-version;</ulink></para>
|
---|
443 | <itemizedlist>
|
---|
444 | <listitem>
|
---|
445 | <para><ulink
|
---|
446 | url="ftp://ftp.starlink.rl.ac.uk/pub/ussc/store/starperl/starperl.tar.Z">
|
---|
447 | Starlink-Config-&Starlink-Config-version;</ulink></para>
|
---|
448 | <itemizedlist>
|
---|
449 | <listitem>
|
---|
450 | <para><ulink
|
---|
451 | url="http://star-www.rl.ac.uk/">Starlink GSD</ulink></para>
|
---|
452 | <itemizedlist>
|
---|
453 | <listitem>
|
---|
454 | <para><ulink
|
---|
455 | url="http://wiki.linuxfromscratch.org/blfs/wiki/gcc3">a
|
---|
456 | Fortran compiler</ulink></para>
|
---|
457 | </listitem>
|
---|
458 | </itemizedlist>
|
---|
459 | </listitem>
|
---|
460 | </itemizedlist>
|
---|
461 | </listitem>
|
---|
462 | </itemizedlist>
|
---|
463 | </listitem>
|
---|
464 | </itemizedlist>
|
---|
465 | </listitem>
|
---|
466 | </itemizedlist>
|
---|
467 |
|
---|
468 | <para condition="html" role="usernotes">User Notes:
|
---|
469 | <ulink url="&blfs-wiki;/pdl"/></para>
|
---|
470 |
|
---|
471 | </sect2>
|
---|
472 |
|
---|
473 | <sect2 role="installation">
|
---|
474 | <title>Installation of PDL</title>
|
---|
475 |
|
---|
476 | <para>Install <application>PDL</application> (and all the dependency
|
---|
477 | <application>Perl</application> modules) by running the following commands:</para>
|
---|
478 |
|
---|
479 | <screen><userinput>sed -i 's/\(dirname);\)/\1\nuse blib;/' Demos/BAD*demo.pm.PL &&
|
---|
480 | perl Makefile.PL &&
|
---|
481 | make &&
|
---|
482 | make test</userinput></screen>
|
---|
483 |
|
---|
484 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
485 |
|
---|
486 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
487 |
|
---|
488 | </sect2>
|
---|
489 |
|
---|
490 | <sect2 role="commands">
|
---|
491 | <title>Command Explanations</title>
|
---|
492 |
|
---|
493 | <para><command>sed -i '...' Demos/BAD*demo.pm.PL</command>: This is
|
---|
494 | necessary to fix a build issue caused by changes in
|
---|
495 | ExtUtils::MakeMaker-6.30 which was introduction in
|
---|
496 | <application>Perl</application>-5.8.8.</para>
|
---|
497 |
|
---|
498 | </sect2>
|
---|
499 |
|
---|
500 | <sect2 role="configuration">
|
---|
501 | <title>Configuring PDL</title>
|
---|
502 |
|
---|
503 | <sect3 id="pdl-config">
|
---|
504 | <title>Config Files</title>
|
---|
505 |
|
---|
506 | <para><filename>~/.perldlrc</filename> and
|
---|
507 | <filename>local.perldlrc</filename> in the current directory</para>
|
---|
508 |
|
---|
509 | <indexterm zone="pdl pdl-config">
|
---|
510 | <primary sortas="e-AA.perldlrc">~/.perldlrc</primary>
|
---|
511 | </indexterm>
|
---|
512 |
|
---|
513 | <indexterm zone="pdl pdl-config">
|
---|
514 | <primary sortas="e-local.perldlrc">local.perldlrc</primary>
|
---|
515 | </indexterm>
|
---|
516 |
|
---|
517 | </sect3>
|
---|
518 |
|
---|
519 | <sect3>
|
---|
520 | <title>Configuration Information</title>
|
---|
521 |
|
---|
522 | <para>See <ulink
|
---|
523 | url="http://pdl.sourceforge.net/PDLdocs/perldl.html#the startup file ~/.perldlrc"/>
|
---|
524 | for information about configuring <command>perldl</command> to suit your
|
---|
525 | needs.</para>
|
---|
526 |
|
---|
527 | </sect3>
|
---|
528 |
|
---|
529 | </sect2>
|
---|
530 |
|
---|
531 | <sect2 role="content">
|
---|
532 | <title>Contents</title>
|
---|
533 |
|
---|
534 | <segmentedlist>
|
---|
535 | <segtitle>Installed Programs</segtitle>
|
---|
536 | <segtitle>Installed Modules</segtitle>
|
---|
537 | <segtitle>Installed Directories</segtitle>
|
---|
538 |
|
---|
539 | <seglistitem>
|
---|
540 | <seg>pdl, pdldoc, perldl, and pptemplate</seg>
|
---|
541 | <seg>90+ individual <application>Perl</application> modules</seg>
|
---|
542 | <seg>/usr/lib/perl5/site_perl/&lfs-perl-version;/i686-linux/{,auto/}PDL</seg>
|
---|
543 | </seglistitem>
|
---|
544 | </segmentedlist>
|
---|
545 |
|
---|
546 | <variablelist>
|
---|
547 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
548 | <?dbfo list-presentation="list"?>
|
---|
549 | <?dbhtml list-presentation="table"?>
|
---|
550 |
|
---|
551 | <varlistentry id="pdl-prog">
|
---|
552 | <term><command>pdl</command></term>
|
---|
553 | <listitem>
|
---|
554 | <para>is a binary program called from
|
---|
555 | <application>PDL</application> scripts which is used to
|
---|
556 | interface <command>perldl</command>.</para>
|
---|
557 | <indexterm zone="pdl pdl-prog">
|
---|
558 | <primary sortas="b-pdl">pdl</primary>
|
---|
559 | </indexterm>
|
---|
560 | </listitem>
|
---|
561 | </varlistentry>
|
---|
562 |
|
---|
563 | <varlistentry id="pdldoc">
|
---|
564 | <term><command>pdldoc</command></term>
|
---|
565 | <listitem>
|
---|
566 | <para>is a shell interface to
|
---|
567 | <application>PDL</application> documentation.</para>
|
---|
568 | <indexterm zone="pdl pdldoc">
|
---|
569 | <primary sortas="b-pdldoc">pdldoc</primary>
|
---|
570 | </indexterm>
|
---|
571 | </listitem>
|
---|
572 | </varlistentry>
|
---|
573 |
|
---|
574 | <varlistentry id="perldl">
|
---|
575 | <term><command>perldl</command></term>
|
---|
576 | <listitem>
|
---|
577 | <para>is a simple shell (written in <application>Perl</application>)
|
---|
578 | for interactive use of <application>PDL</application>.</para>
|
---|
579 | <indexterm zone="pdl perldl">
|
---|
580 | <primary sortas="b-perldl">perldl</primary>
|
---|
581 | </indexterm>
|
---|
582 | </listitem>
|
---|
583 | </varlistentry>
|
---|
584 |
|
---|
585 | <varlistentry id="pptemplate">
|
---|
586 | <term><command>pptemplate</command></term>
|
---|
587 | <listitem>
|
---|
588 | <para>is a script to generate <filename>Makefile.PL</filename>
|
---|
589 | and PP file skeletons.</para>
|
---|
590 | <indexterm zone="pdl pptemplate">
|
---|
591 | <primary sortas="b-pptemplate">pptemplate</primary>
|
---|
592 | </indexterm>
|
---|
593 | </listitem>
|
---|
594 | </varlistentry>
|
---|
595 |
|
---|
596 | </variablelist>
|
---|
597 |
|
---|
598 | </sect2>
|
---|
599 |
|
---|
600 | </sect1>
|
---|