I'm getting this when i try installing DBD::mysql, can you help me solve this problem?
-=CONSOLE OUTPUT=-
CPAN::Forum
DBD-mysql - error installing
| Posted on Fri Feb 16 22:17:03 2007 by just |
| error installing |
|
I'm getting this when i try installing DBD::mysql, can you help me solve this problem? -=CONSOLE OUTPUT=- [root@exhile perl-5.8.8]# cpan DBD::mysql
CPAN: File::HomeDir loaded ok
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Thu, 15 Feb 2007 18:08:30 GMT
Running install for module DBD::mysql
Running make for C/CA/CAPTTOFU/DBD-mysql-4.001.tar.gz
CPAN: Digest::SHA loaded ok
Checksum for /root/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.001.tar.gz ok
Scanning cache /root/.cpan/build for sizes
DBD-mysql-4.001/
DBD-mysql-4.001/ChangeLog
DBD-mysql-4.001/constants.h
DBD-mysql-4.001/dbdimp.c
DBD-mysql-4.001/dbdimp.h
DBD-mysql-4.001/eg/
DBD-mysql-4.001/eg/prepare_memory_usage.pl
DBD-mysql-4.001/eg/proc_example1.pl
DBD-mysql-4.001/eg/proc_example2.pl
DBD-mysql-4.001/eg/proc_example3.pl
DBD-mysql-4.001/INSTALL.html
DBD-mysql-4.001/lib/
DBD-mysql-4.001/lib/Bundle/
DBD-mysql-4.001/lib/Bundle/DBD/
DBD-mysql-4.001/lib/Bundle/DBD/mysql.pm
DBD-mysql-4.001/lib/DBD/
DBD-mysql-4.001/lib/DBD/mysql/
DBD-mysql-4.001/lib/DBD/mysql/GetInfo.pm
DBD-mysql-4.001/lib/DBD/mysql/INSTALL.pod
DBD-mysql-4.001/lib/DBD/mysql.pm
DBD-mysql-4.001/Makefile.PL
DBD-mysql-4.001/Makefile.PL.embedded
DBD-mysql-4.001/MANIFEST
DBD-mysql-4.001/MANIFEST.SKIP
DBD-mysql-4.001/META.yml
DBD-mysql-4.001/myld
DBD-mysql-4.001/mysql.xs
DBD-mysql-4.001/README
DBD-mysql-4.001/t/
DBD-mysql-4.001/t/00base.t
DBD-mysql-4.001/t/10dsnlist.t
DBD-mysql-4.001/t/20createdrop.t
DBD-mysql-4.001/t/30insertfetch.t
DBD-mysql-4.001/t/35limit.t
DBD-mysql-4.001/t/35prepare.t
DBD-mysql-4.001/t/40bindparam.t
DBD-mysql-4.001/t/40bindparam2.t
DBD-mysql-4.001/t/40blobs.t
DBD-mysql-4.001/t/40listfields.t
DBD-mysql-4.001/t/40nulls.t
DBD-mysql-4.001/t/40numrows.t
DBD-mysql-4.001/t/41bindparam.t
DBD-mysql-4.001/t/41blobs_prepare.t
DBD-mysql-4.001/t/42bindparam.t
DBD-mysql-4.001/t/50chopblanks.t
DBD-mysql-4.001/t/50commit.t
DBD-mysql-4.001/t/60leaks.t
DBD-mysql-4.001/t/70takeimp.t
DBD-mysql-4.001/t/75supported_sql.t
DBD-mysql-4.001/t/80procs.t
DBD-mysql-4.001/t/insertid.t
DBD-mysql-4.001/t/lib.pl
DBD-mysql-4.001/t/mysql.dbtest
DBD-mysql-4.001/t/param_values.t
DBD-mysql-4.001/t/prepare_noerror.t
DBD-mysql-4.001/t/texecute.t
DBD-mysql-4.001/t/utf8.t
DBD-mysql-4.001/TODO
Removing previously used /root/.cpan/build/DBD-mysql-4.001
CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.001.tar.gz
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I'/usr/include'
embedded (guessed ) =
libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testsocket (default ) =
testuser (default ) =
To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.
Checking if your kit is complete...
Looks good
Using DBI 1.53 (for perl 5.008008 on i686-linux-stdio) installed in /usr/local/lib/perl5/site_perl/
+5.8.8/i686-linux/auto/DBI/
Writing Makefile for DBD::mysql
CPAN: YAML loaded ok
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/local/lib/perl5/site_perl/5.8.8/i686-linux/auto/DBI -I'/usr/include' -DDBD_MYSQL_INSE
+RT_ID_IS_GOOD -g -DSOCKS -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_F
+ILE_OFFSET_BITS=64 -I/usr/include/gdbm -DSOCKS -DSOCKS -O2 -DVERSION=\"4.001\" -DXS_VERSION=\"4.
+001\" -fpic "-I/usr/local/lib/perl5/5.8.8/i686-linux/CORE" dbdimp.c
/usr/local/bin/perl -p -e "s/~DRIVER~/mysql/g" /usr/local/lib/perl5/site_perl/5.8.8/i686-linux/auto
+/DBI/Driver.xst > mysql.xsi
/usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.8
+/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 254
Warning: duplicate function definition 'rows' detected in mysql.xs, line 658
cc -c -I/usr/local/lib/perl5/site_perl/5.8.8/i686-linux/auto/DBI -I'/usr/include' -DDBD_MYSQL_INSE
+RT_ID_IS_GOOD -g -DSOCKS -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_F
+ILE_OFFSET_BITS=64 -I/usr/include/gdbm -DSOCKS -DSOCKS -O2 -DVERSION=\"4.001\" -DXS_VERSION=\"4.
+001\" -fpic "-I/usr/local/lib/perl5/5.8.8/i686-linux/CORE" mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/lib/mysql" /usr/local/bin/perl myld cc -shared -L/usr/local/lib dbdimp.o mysql.o
+ -o blib/arch/auto/DBD/mysql/mysql.so \
-L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm \
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/DBD/mysql/mysql.so] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
[root@exhile perl-5.8.8]# -=CONSOLE OUTPUT=- Any help is very much appreciated Thank you for your time. |
| Direct Responses: 4445 | Write a response |
(4)
]