source: general/prog/pdl.xml@ 0b5a693

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 0b5a693 was 0b5a693, checked in by Randy McMurchy <randy@…>, 19 years ago

Final round of renaming the package-name entities

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3337 af4574ff-66df-0310-9fd7-8a98e5e911e0

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