MySQL Forums
Forum List  »  Perl

Re: MySQL, Solaris 9 and DBD::mysql
Posted by: carlo reyes
Date: May 30, 2006 01:34PM

Thank you again for the reply Bill. After uninstalling active perl and installing a 64 bit version of perl, I ran perl Makefile.PL and then make. I am still having thesame problem. I apologize for huge post.

# perl Makefile.PL

$ENV{LANG} is not 'C' execing 'perl Makefile.PL' with ENV{LANG} == 'C'
You can skip this check by: 'export LANG='C' before running 'perl Makefile.PL or by upgrading your Perl'

I will use the following settings for compiling and testing:

cflags (mysql_config) = -I/opt/mysql/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v9
embedded (mysql_config) =
libs (mysql_config) = -xarch=v9 -L/opt/mysql/mysql/lib -lmysqlclient -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lm
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ps-protocol (default ) = 1
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'.

Unrecognized argument in LIBS ignored: '-xarch=v9'
Using DBI 1.50 (for perl 5.008 on sun4-solaris) installed in /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI/
Writing Makefile for DBD::mysql
# make
/opt/SUNWspro/bin/cc -c -I/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI/ -I/opt/mysql/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v9 -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -I/usr/local/include -xarch=v9 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -xtarget=ultra -xarch=v9 -DVERSION=\"3.0004_1\" -DXS_VERSION=\"3.0004_1\" -KPIC -xtarget=ultra -xarch=v9 "-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE" dbdimp.c
"dbdimp.c", line 285: warning: statement not reached
/opt/SUNWspro/bin/cc -c -I/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI/ -I/opt/mysql/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v9 -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -I/usr/local/include -xarch=v9 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -xtarget=ultra -xarch=v9 -DVERSION=\"3.0004_1\" -DXS_VERSION=\"3.0004_1\" -KPIC -xtarget=ultra -xarch=v9 "-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE" mysql.c
"mysql.xs", line 529: warning: implicit function declaration: mysql_st_next_results
"mysql.xs", line 663: warning: implicit function declaration: is_prefix
Running Mkbootstrap for DBD::mysql ()
chmod 644
rm -f blib/arch/auto/DBD/mysql/
LD_RUN_PATH="/opt/mysql/mysql/lib:/usr/lib" /usr/local/bin/perl myld /opt/SUNWspro/bin/cc -xtarget=ultra -xarch=v9 -G -xarch=v9 -L/usr/local/lib -L/opt/SUNWspro/WS6U2/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/ -L/opt/mysql/mysql/lib -lmysqlclient -lz -lposix4 -lcrypt -lgen -lsocket -lnsl -lm
ld: fatal: relocation error: R_SPARC_H44: file /opt/mysql/mysql/lib/libmysqlclient.a(libmysql.o): symbol <unknown>: relocations based on the ABS44 coding model can not be used in building a shared object
*** Error code 1
make: Fatal error: Command failed for target `blib/arch/auto/DBD/mysql/'

Edited 1 time(s). Last edit at 05/30/2006 01:36PM by carlo reyes.

Options: ReplyQuote

Written By
Re: MySQL, Solaris 9 and DBD::mysql
May 30, 2006 01:34PM
June 05, 2006 10:49AM
June 05, 2006 01:10PM
March 07, 2005 12:57PM
March 07, 2005 12:58PM
February 14, 2006 10:32AM
October 24, 2007 08:59AM
November 17, 2007 07:58PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.