
robertcr
New User
Aug 5, 2011, 2:02 PM
Post #1 of 2
(5207 views)
|
|
Error Installing mysql module
|
Can't Post
|
|
Hi I'm installing mysql perl module on my server. but i have the following error: [root@monitoreo]#uname -a SunOS monitoreo 5.10 Generic_144488-04 sun4v sparc SUNW,Sun-Fire-T1000 [root@monitoreo]# cpan[1]> i /DBD-mysql/ Going to read '/.cpan/Metadata' Database was generated on Fri, 05 Aug 2011 04:32:14 GMT Distribution CAPTTOFU/DBD-mysql-3.0008.tar.gz Distribution CAPTTOFU/DBD-mysql-4.019.tar.gz Distribution GRISHACE/DBD-mysql-AutoTypes-1.0.tar.gz Distribution LINNIN/DBD-mysql-SimpleMySQL-0.5.tar.gz Distribution OYAMA/DBD-mysqlPP-0.04.tar.gz 5 items found cpan[2]> install CAPTTOFU/DBD-mysql-4.019.tar.gz Running make for C/CA/CAPTTOFU/DBD-mysql-4.019.tar.gz CPAN: checksum security checks disabled because Digest::SHA not installed. Please consider installing the Digest::SHA module. WARNING: Many CPAN distributions were archived with GNU tar and some of them may be incompatible with Solaris tar. We respectfully suggest you configure CPAN to use a GNU tar instead ("o conf init tar") or install a recent Archive::Tar instead; CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.019.tar.gz PLEASE NOTE: For 'make test' to run properly, you must ensure that the database user '' can connect to your MySQL server and has the proper privileges that these tests require such as 'drop table', 'create table', 'drop procedure', 'create procedure' as well as others. mysql> grant all privileges on test.* to ''@'localhost' identified by 's3kr1t'; You can also optionally set the user to run 'make test' with: perl Makefile.PL --testuser=username I will use the following settings for compiling and testing: cflags (mysql_config) = -I/opt/mysql/mysql/include -m64 -KPIC -g -mt embedded (mysql_config) = libs (mysql_config) = -L/opt/mysql/mysql/lib -lmysqlclient -lthread -lsocket -lnsl -lm -lrt mysql_config (guessed ) = mysql_config nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ssl (guessed ) = 0 testdb (default ) = test testhost (default ) = testpassword (default ) = testsocket (default ) = testuser (guessed ) = To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'. Checking if your kit is complete... Looks good Using DBI 1.58 (for perl 5.008004 on sun4-solaris-64int) installed in /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int/auto/DBI/ Writing Makefile for DBD::mysql Writing MYMETA.yml and MYMETA.json cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm cc -c -I/usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int/auto/DBI -I/opt/mysql/mysql/include -m64 -KPIC -g -mt -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"4.019\" -DXS_VERSION=\"4.019\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" dbdimp.c /usr/ucb/cc: language optional software package not installed *** Error code 1 make: Fatal error: Command failed for target `dbdimp.o' CAPTTOFU/DBD-mysql-4.019.tar.gz /usr/ccs/bin/make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: CAPTTOFU/DBD-mysql-4.019.tar.gz : make NO cpan[3]> could someone help me with this issue Thanks
|