HowToInstallPdl: Difference between revisions

From BRF-Software
Jump to navigation Jump to search
imported>MichaelDondrup
No edit summary
 
m (3 revisions)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
= PDL-module installation for EMMA2 =
= 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:
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:
Line 42: Line 42:
<code><nowiki>    make test </nowiki></code>
<code><nowiki>    make test </nowiki></code>


<code><nowiki>    make install </nowiki></code>
<code><nowiki>    make install </nowiki></code> (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.

Latest revision as of 07:17, 26 October 2011

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.