HowToInstallPdl
PDL-module installation for EMMA2
The Perlmodule PDL needs a non-standard configuration in order to handle missing values. Therefor, neither pre-packaged binary modules nor the CPAN-shell install path can be used. The installation process is described in short:
Downloading and unpacking
Download the latest PDL module distribution from http://search.cpan.org/~csoe/PDL/ and save it in a local file. In the download directory unpack the .tar.gz file:
tar -xzf PDL-2.x.x.tar.gz
Configuring PDL
Change into the PDL-2.x.x directory.
Edit the file perldl.conf. Locate the following two lines:
WITH_BADVAL => 0, # WITH_BADVAL => 1,
and change them to
# WITH_BADVAL => 0, WITH_BADVAL => 1,
Building and installing
After editing the configuration options just say
perl Makefile.PL
If that is ok, run:
make
make test
make install
(you need to be a privileged user (aka. 'root' for this step)
This should install PDL in the standard perl-module location. For more information about the installation process, see the INSTALL file in the distribution.