Re: MySQL, Solaris 9 and DBD::mysql
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 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
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/mysql.so -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/mysql.so'
Edited 1 time(s). Last edit at 05/30/2006 01:36PM by carlo reyes.
Subject
Written By
Posted
December 07, 2004 05:13PM
December 08, 2004 11:23AM
December 08, 2004 11:31AM
December 21, 2004 06:55AM
Re: MySQL, Solaris 9 and DBD::mysql
May 30, 2006 01:34PM
February 14, 2006 10:32AM
November 17, 2007 07:58PM
December 03, 2008 07:27PM
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.