towershooter Posted February 5, 2006 Report Share Posted February 5, 2006 I am having problem installing PERL modules. I am using WEBMIN and just about every module fails on install. When I try to install the DBD::mysql module for instance I get this: Making, testing and installing DBD::mysql .. Untarring module file Executing gunzip -c /tmp/.webmin/DBD-mysql-2.9008.tar.gz | tar xvf - .. x DBD-mysql-2.9008, 0 bytes, 0 tape blocks x DBD-mysql-2.9008/t, 0 bytes, 0 tape blocks x DBD-mysql-2.9008/t/60leaks.t, 5228 bytes, 11 tape blocks x DBD-mysql-2.9008/t/40listfields.t, 4197 bytes, 9 tape blocks x DBD-mysql-2.9008/t/10dsnlist.t, 2020 bytes, 4 tape blocks x DBD-mysql-2.9008/t/40numrows.t, 4232 bytes, 9 tape blocks x DBD-mysql-2.9008/t/30insertfetch.t, 2625 bytes, 6 tape blocks x DBD-mysql-2.9008/t/00base.t, 989 bytes, 2 tape blocks x DBD-mysql-2.9008/t/insertid.t, 1234 bytes, 3 tape blocks x DBD-mysql-2.9008/t/50commit.t, 6618 bytes, 13 tape blocks x DBD-mysql-2.9008/t/40nulls.t, 2591 bytes, 6 tape blocks x DBD-mysql-2.9008/t/dbdadmin.t, 7700 bytes, 16 tape blocks x DBD-mysql-2.9008/t/lib.pl, 5588 bytes, 11 tape blocks x DBD-mysql-2.9008/t/20createdrop.t, 1833 bytes, 4 tape blocks x DBD-mysql-2.9008/t/mysql.dbtest, 3683 bytes, 8 tape blocks x DBD-mysql-2.9008/t/40bindparam.t, 5389 bytes, 11 tape blocks x DBD-mysql-2.9008/t/mysql.t, 19622 bytes, 39 tape blocks x DBD-mysql-2.9008/t/40blobs.t, 3507 bytes, 7 tape blocks x DBD-mysql-2.9008/t/akmisc.t, 27171 bytes, 54 tape blocks x DBD-mysql-2.9008/t/50chopblanks.t, 3926 bytes, 8 tape blocks x DBD-mysql-2.9008/t/ak-dbd.t, 15699 bytes, 31 tape blocks x DBD-mysql-2.9008/t/mysql2.t, 4187 bytes, 9 tape blocks x DBD-mysql-2.9008/lib, 0 bytes, 0 tape blocks x DBD-mysql-2.9008/lib/DBD, 0 bytes, 0 tape blocks x DBD-mysql-2.9008/lib/DBD/mysql, 0 bytes, 0 tape blocks x DBD-mysql-2.9008/lib/DBD/mysql/GetInfo.pm, 16069 bytes, 32 tape blocks x DBD-mysql-2.9008/lib/DBD/mysql/INSTALL.pod, 20584 bytes, 41 tape blocks x DBD-mysql-2.9008/lib/DBD/mysql.pm, 48086 bytes, 94 tape blocks x DBD-mysql-2.9008/lib/Bundle, 0 bytes, 0 tape blocks x DBD-mysql-2.9008/lib/Bundle/DBD, 0 bytes, 0 tape blocks x DBD-mysql-2.9008/lib/Bundle/DBD/mysql.pm, 417 bytes, 1 tape blocks x DBD-mysql-2.9008/lib/Mysql, 0 bytes, 0 tape blocks x DBD-mysql-2.9008/lib/Mysql/Statement.pm, 3989 bytes, 8 tape blocks x DBD-mysql-2.9008/lib/Mysql.pm, 23888 bytes, 47 tape blocks x DBD-mysql-2.9008/TODO, 896 bytes, 2 tape blocks x DBD-mysql-2.9008/myld, 1603 bytes, 4 tape blocks x DBD-mysql-2.9008/constants.h, 1937 bytes, 4 tape blocks x DBD-mysql-2.9008/dbdimp.c, 71348 bytes, 140 tape blocks x DBD-mysql-2.9008/dbdimp.h, 6461 bytes, 13 tape blocks x DBD-mysql-2.9008/README, 2795 bytes, 6 tape blocks x DBD-mysql-2.9008/MANIFEST.SKIP, 31 bytes, 1 tape blocks x DBD-mysql-2.9008/Makefile.PL, 10778 bytes, 22 tape blocks x DBD-mysql-2.9008/META.yml, 381 bytes, 1 tape blocks x DBD-mysql-2.9008/INSTALL.html, 27496 bytes, 54 tape blocks x DBD-mysql-2.9008/ChangeLog, 43939 bytes, 86 tape blocks x DBD-mysql-2.9008/MANIFEST, 586 bytes, 2 tape blocks x DBD-mysql-2.9008/mysql.xs, 9185 bytes, 18 tape blocks Compiling module Executing /usr/bin/perl Makefile.PL && make .. Can't locate DBI/DBD.pm in @INC (@INC contains: /usr/perl5/5.6.1/lib/i86pc-solaris-64int /usr/perl5/ 5.6.1/lib /usr/perl5/site_perl/5.6.1/i86pc-solaris-64int /usr/perl5/site_perl/5.6.1 /usr/perl5/site_ perl /usr/perl5/vendor_perl/5.6.1/i86pc-solaris-64int /usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor _perl .) at Makefile.PL line 24. Installation of DBD::mysql failed. Check the output above and try installing manually. You can also install the module from CPAN with the command perl -MCPAN -e shell. Any help please? I am running Solaris 9 on an HP DL140 box K Quote Link to comment Share on other sites More sharing options...
jlc Posted February 5, 2006 Report Share Posted February 5, 2006 Did you try the CPAN shell? perl -MCPAN -e shell Also, do you have a compiler installed? Usually here /opt/SUNWspro/bin/cc try cc -v also if you do have cc installed, is it in your path echo $PATH if you have it installed in the location above and its not in your path, than add the following in your .profile export PATH=$PATH:/opt/SUNWspro/bin/cc If you don't have the compiler than get it: http://javashoplm.sun.com/ECom/docs/Welcom...ansactionId=try Quote Link to comment Share on other sites More sharing options...
jlc Posted February 5, 2006 Report Share Posted February 5, 2006 Sun Studio 10 http://www.sun.com/download/products.xml?id=41e70b09 Sun Studio 11 http://developers.sun.com/prodtech/cc/products/get.html Quote Link to comment Share on other sites More sharing options...
devries Posted February 6, 2006 Report Share Posted February 6, 2006 Can't locate DBI/DBD.pm in @INC You nee to install that module. The other one depends on it. :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.