Re: SOLUTION
Hi All,
I tried to do as you suggested, I remove the libraries duplicated and try to compile.
The configure command seems ok.
But the make found an error. "gcc: language arch=v8 not recognized"
I attached the logs.
How can I solve the problem ?
Thank you.
napus008{cvsadmin}8> perl Makefile.PL
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I/home/cvsadmin/bugrep/mysql-5.0.45-solaris8-sparc-64bit/include -mt -D_FORTEC_ -xarch=v8
embedded (mysql_config) =
libs (mysql_config) = -L/home/cvsadmin/bugrep/mysql-5.0.45-solaris8-sparc-64bit/lib -lmysqlclient -lz -lposix4 -lr
esolv -lgen -lsocket -lnsl -lm
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
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'.
Using DBI 1.58 (for perl 5.008008 on sun4-solaris) installed in /home/cvsadmin/bugrep/perl-5.8.8.p/lib/site_perl/5.8.8/sun4-s
olaris/auto/DBI/
Writing Makefile for DBD::mysql
napus008{cvsadmin}11> make
gcc -c -I/home/cvsadmin/bugrep/perl-5.8.8.p/lib/site_perl/5.8.8/sun4-solaris/auto/DBI -I/home/cvsadmin/bugrep/mysql-5.0.45-solaris8-sparc-64bit/include -mt -D_FORTEC_ -xarch=v8 -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"4.001\" -DXS_VERSION=\"4.001\" -fPIC "-I/home/cvsadmin/bugrep/perl-5.8.8.p/lib/5.8.8/sun4-solaris/CORE" dbdimp.c
gcc: language arch=v8 not recognized
gcc: language arch=v8 not recognized
gcc: dbdimp.c: linker input file unused because linking not done
gcc -c -I/home/cvsadmin/bugrep/perl-5.8.8.p/lib/site_perl/5.8.8/sun4-solaris/auto/DBI -I/home/cvsadmin/bugrep/mysql-5.0.45-solaris8-sparc-64bit/include -mt -D_FORTEC_ -xarch=v8 -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"4.001\" -DXS_VERSION=\"4.001\" -fPIC "-I/home/cvsadmin/bugrep/perl-5.8.8.p/lib/5.8.8/sun4-solaris/CORE" mysql.c
gcc: language arch=v8 not recognized
gcc: language arch=v8 not recognized
gcc: mysql.c: linker input file unused because linking not done
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/home/cvsadmin/bugrep/mysql-5.0.45-solaris8-sparc-64bit/lib:/usr/lib" /home/cvsadmin/bugrep/perl-5.8.8.p/bin/perl myld gcc -G dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.so \
-L/home/cvsadmin/bugrep/mysql-5.0.45-solaris8-sparc-64bit/lib -lmysqlclient -lz -lposix4 -lresolv -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
Subject
Written By
Posted
December 07, 2004 05:13PM
December 08, 2004 11:23AM
December 08, 2004 11:31AM
December 21, 2004 06:55AM
February 14, 2006 10:32AM
Re: SOLUTION
October 24, 2007 08:59AM
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.