Problems Installing DBD::MYSQL on Solaris 5.8
Hello,
I'm having some problems installing the PERL module DBD::MYSQL on a
Solaris 5.8 machine.
I am using GCC 5.8.8 for the compiler.
When I run 'perl Makefile.PL' I get the following:
I will use the following settings for compiling and testing:
cflags (mysql_config) = -I/opt/mysql/mysql/include -mt
-D_FORTEC_ -xarch=v8
embedded (mysql_config) =
libs (mysql_config) = -L/opt/mysql/mysql/lib -lmysqlclient
-lz -lposix4 -lresolv -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
/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI/
Writing Makefile for DBD::mysql
After I run 'make' I get the following:
gcc -c -I/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI
-I/opt/mysql/mysql/include -mt -D_FORTEC_ -xarch=v8 -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"4.005\" -DXS_VERSION=\"4.005\"
-fPIC "-I/usr/local/lib/perl5/5.8.8/sun4-solaris/CORE" dbdimp.c
gcc: language arch=v8 not recognized
gcc: dbdimp.c: linker input file unused because linking not done
gcc -c -I/usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris/auto/DBI
-I/opt/mysql/mysql/include -mt -D_FORTEC_ -xarch=v8 -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"4.005\" -DXS_VERSION=\"4.005\"
-fPIC "-I/usr/local/lib/perl5/5.8.8/sun4-solaris/CORE" mysql.c
gcc: language arch=v8 not recognized
gcc: mysql.c: linker input file unused because linking not done
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 gcc
-G -L/usr/local/lib dbdimp.o mysql.o -o
blib/arch/auto/DBD/mysql/mysql.so \
-L/opt/mysql/mysql/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
*** Error code 1
make: Fatal error: Command failed for target
`blib/arch/auto/DBD/mysql/mysql.so
I would appreciate any help on how I can get this module to install
properly.
Thank you,
David Buice
ITIL Foundations Certified
EDS - PSIC
7000 Chicago Road
Warren, MI 48092
( Phone:+1-586-575-4525
+ mailto:david.buice@eds.com
cell: 248-249-9122
Received on Tue Sep 11 14:27:34 2007
This archive was generated by hypermail 2.1.8
: Sun Oct 07 2007 - 10:15:35 EDT
|