2 messages in com.mysql.lists.perlHelp on installing Bundle::DBD::mysql
FromSent OnAttachments
Laurence Stendard04 Dec 2003 03:13 
Rudy Lippan04 Dec 2003 11:27 
Subject:Help on installing Bundle::DBD::mysql
From:Laurence Stendard (lste@diveo.net.br)
Date:12/04/2003 03:13:50 AM
List:com.mysql.lists.perl

Hi !

I will appreciate any help on this issue.

I'm trying to install Bundle::DBD::mysql ( perl -MCPAN -e 'install
Bundle::DBD::mysql' ) on a Solaris 9 running Perl 5.8.2 but I got the error
messages below.

Many thanks,

Laurence

================================== /usr/local/bin/perl -p -e "s/~DRIVER~/mysql/g"
/usr/local/lib/perl5/site_perl/5.8.2/sun4-solaris-thread-multi/auto/DBI/Driver.xst
> mysql.xsi /usr/local/bin/perl /usr/local/lib/perl5/5.8.2/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.2/ExtUtils/typemap mysql.xs > mysql.xsc && mv
mysql.xsc mysql.c Warning: duplicate function definition 'do' detected in mysql.xs, line 192 Warning: duplicate function definition 'rows' detected in mysql.xs, line 290 gcc -B/usr/ccs/bin/ -c
-I/usr/local/lib/perl5/site_perl/5.8.2/sun4-solaris-thread-multi/auto/DBI
-I/usr/local/mysql/include -Xa -xstrconst -mt -D_FORTEC_ -xarch=v9 -D_REENTRANT
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" -fPIC
"-I/usr/local/lib/perl5/5.8.2/sun4-solaris-thread-multi/CORE" mysql.c gcc: unrecognized option `-Xa' <<<<<<<< ??? gcc: language arch=v9 not recognized <<<<<<<< ??? gcc: mysql.c: linker input file unused because linking not done <<<<<<<< ??? Running Mkbootstrap for DBD::mysql () chmod 644 mysql.bs rm -f blib/arch/auto/DBD/mysql/mysql.so LD_RUN_PATH="/usr/lib" /usr/local/bin/perl myld gcc -B/usr/ccs/bin/ -G
-L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so
-L/usr/local/mysql/lib -lmysqlclient -lposix4 -lcrypt -lgen -lsocket -lnsl -lm gcc: dbdimp.o: No such file or directory gcc: mysql.o: No such file or directory make: *** [blib/arch/auto/DBD/mysql/mysql.so] Error 1 <<<<<<<< ??? /usr/local/bin/make -- NOT OK Running make test Can't test without successful make <<<<<<<< Running make install make had returned bad status, install seems impossible Running install for module DBD::mysql Running make for R/RU/RUDY/DBD-mysql-2.9003.tar.gz Is already unwrapped into directory /.cpan/build/DBD-mysql-2.9003 Has already been processed within this session Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Bundle summary: The following items in bundle Bundle::DBD::mysql had installation problems: Mysql DBD::mysql