DBD::mysql / Perl / Solaris 9 torture
"Alan Pierce" <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm running Solaris 9 Sparc, with Perl 5.8.2 and MySQL 4.1.7-standard. I cannot get the DBD::Mysql module installed -required for Bugzilla. I'd appreciate any help you could offer. bash-2.05# perl Makefile.PL I will use the following settings for compiling and testing: cflags (mysql_config) = -I/usr/local/mysql/include -Xa -xstrconst -mt -D_FORTEC_ -xarch=v9 libs (mysql_config) = -L/usr/local/mysql/lib -lmysqlclient -lposix4 -lcrypt -lgen -lsocket -lnsl -lm ../zlib/libz.la nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ssl (guessed ) = 0 testdb (default ) = test testhost (default ) = testpassword (default ) = testuser (default ) = To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'. Checking if your kit is complete... Looks good Unrecognized argument in LIBS ignored: '../zlib/libz.la' Using DBI 1.46 (for perl 5.008002 on sun4-solaris-thread-multi) installed in /opt/csw/lib/perl/site_perl/auto/DBI/ Writing Makefile for DBD::mysql bash-2.05# make cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm cp lib/Mysql.pm blib/lib/Mysql.pm cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm cc -c -I/opt/csw/lib/perl/site_perl/auto/DBI/ -I/usr/local/mysql/include -Xa -xstrconst -mt -D_FORTEC_ -xarch=v9 -D_REENTRANT -I/opt/csw/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.9004\" -DXS_VERSION=\"2.9004\" -KPIC "-I/opt/csw/lib/perl/5.8.2/CORE" dbdimp.c /opt/csw/bin/perl -p -e "s/~DRIVER~/mysql/g" /opt/csw/lib/perl/site_perl/auto/DBI//Driver.xst > mysql.xsi /opt/csw/bin/perl /opt/csw/share/perl/5.8.2/ExtUtils/xsubpp -typemap /opt/csw/share/perl/5.8.2/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c Warning: duplicate function definition 'do' detected in mysql.xs, line 196 Warning: duplicate function definition 'rows' detected in mysql.xs, line 294 cc -c -I/opt/csw/lib/perl/site_perl/auto/DBI/ -I/usr/local/mysql/include -Xa -xstrconst -mt -D_FORTEC_ -xarch=v9 -D_REENTRANT -I/opt/csw/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.9004\" -DXS_VERSION=\"2.9004\" -KPIC "-I/opt/csw/lib/perl/5.8.2/CORE" mysql.c "mysql.xs", line 355: warning: implicit function declaration: is_prefix Running Mkbootstrap for DBD::mysql () chmod 644 mysql.bs rm -f blib/arch/auto/DBD/mysql/mysql.so LD_RUN_PATH="/usr/lib" /opt/csw/bin/perl myld cc -G -L/usr/lib -L/usr/ccs/lib -L/opt/forte8/SUNWspro/prod/lib -L/opt/csw/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 ld: fatal: file dbdimp.o: wrong ELF class: ELFCLASS64 ld: fatal: File processing errors. No output written to blib/arch/auto/DBD/mysql/mysql.so chmod 755 blib/arch/auto/DBD/mysql/mysql.so chmod: WARNING: can't access blib/arch/auto/DBD/mysql/mysql.so make: *** [blib/arch/auto/DBD/mysql/mysql.so] Error 1 bash-2.05# Among other things I tried : perl Makefile.PL --cflags "-L/opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.9/3.4.1 -lgcc" which just produced other problems. Any thoughts. _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/ -- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/[email protected]