PERL

From CLONWiki
Revision as of 21:18, 22 November 2007 by Boiarino (talk | contribs)
Jump to navigation Jump to search

We are installing PERL modules directly into the PERL system location. Normally PERL modiles will be obtained from [1] in a form of tar files and placed in /usr/local/downloads. For every platform they must be copied to /usr/local/src, untared and installed. Following modules must be installed:

Pezca
Tk
DBI
DBD::mysql
Time

For installation instructions see README inside those packages. Usually you have to type:

perl Makefile.PL
gmake
gmake test (optionally)
gmake install

Following was noticed:

  • Pezca: After running 'perl Makefile.PL' and before 'gmake', modify 'Makefile': after '-Iinclude', add '-Iinclude/os/solaris -Iinclude/O.solaris' (adjust for OS; do not know why it did not happened during 'perl Makefile.PL' ...)
  • DBI:
clon01:DBI-1.52> perl Makefile.PL
*** Note:
   The optional PlRPC-modules (RPC::PlServer etc) are not installed.
   If you want to use the DBD::Proxy driver and DBI::ProxyServer
   modules, then you'll need to install the RPC::PlServer, RPC::PlClient,
   Storable and Net::Daemon modules. The CPAN Bundle::DBI may help you.
   You can install them any time after installing the DBI.
   You do *not* need these modules for typical DBI usage.
Optional modules are available from any CPAN mirror, in particular
   http://search.cpan.org/
   http://www.perl.com/CPAN/modules/by-module
   http://www.perl.org/CPAN/modules/by-module
   ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module