Hello,
I am trying to install the DBI module on my plesk 2.5 box (from instructions below) and it is spuing an error. Can anyone please help me in this.
1. Download DBI module from CPAN:
# ncftpget
ftp://ftp.cpan.org/pub/CPAN/authors...DBI-1.20.tar.gz
2. Uncompress DBI module archive:
# gunzip -c DBI-1.20.tar.gz |tar xvf -
3. Change directory to DBI-1.20
# cd DBI-1.20
4. Configure DBI modules:
# perl Makefile.PL
5. Make and install DBI modules:
# make && make install
Telent/SSH details:
[root@host DBI-1.20]# 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://www.perl.com/CPAN/modules/by-module
http://www.perl.org/CPAN/modules/by-module
ftp://ftp.funet.fi/pub/languages/perl/CPA...dules/by-module
Writing Makefile for DBI
Remember to actually *read* the README file!
Use 'make' to build the software (dmake or nmake on Windows).
Then 'make test' to execute self tests.
Then 'make install' to install the DBI and then delete this working
directory before unpacking and building any DBD::* drivers.
[root@host DBI-1.20]# make && make install
Global symbol "$cLass" requires explicit package name at /usr/lib/perl5/5.6.0/Ex
tUtils/Packlist.pm line 22.
Compilation failed in require at /usr/lib/perl5/5.6.0/ExtUtils/Install.pm line 3
4.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.6.0/ExtUtils/Install.pm li
ne 34.
Compilation failed in require.
BEGIN failed--compilation aborted.
make: *** [pm_to_blib] Error 255
[root@host DBI-1.20]#