Problem installing DBD::mysql on Solaris 8

Problem installing DBD::mysql on Solaris 8

am 27.01.2004 20:41:22 von red orbit

Hi,

I am getting the following error while installing perl
DBI module via cpan. I tried compliling the source
code also, still the same error. Pls help.

gcc -c
-I/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/auto/DBI
-I/usr/local/mysql/include -m64 -fno-strict-aliasing
-I/usr/local/include -I/opt/GNU/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" -fPIC
"-I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE"
dbdimp.c
/usr/local/bin/perl -p -e "s/~DRIVER~/mysql/g"
/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/auto/DBI/D river.xst
> mysql.xsi
/usr/local/bin/perl
/usr/local/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.3/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 -c
-I/usr/local/lib/perl5/site_perl/5.8.3/sun4-solaris/auto/DBI
-I/usr/local/mysql/include -m64 -fno-strict-aliasing
-I/usr/local/include -I/opt/GNU/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" -fPIC
"-I/usr/local/lib/perl5/5.8.3/sun4-solaris/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" /usr/local/bin/perl myld gcc
-G -L/usr/local/lib -L/opt/GNU/lib dbdimp.o mysql.o
-o blib/arch/auto/DBD/mysql/mysql.so
-L/usr/local/mysql/lib -lmysqlclient -lposix4 -lgen
-lsocket -lnsl -lm
ld: fatal: file dbdimp.o: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written
to blib/arch/auto/DBD/mysql/mysql.socollect2: ld
returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target
`blib/arch/auto/DBD/mysql/mysql.so'
/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
Running install for module DBD::mysql
Running make for R/RU/RUDY/DBD-mysql-2.9003.tar.gz
Is already unwrapped into directory
/export/home/bhini/.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

cpan>


Thanks.

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org