Problems Installing DBD::MYSQL on Solaris 5.8

Problems Installing DBD::MYSQL on Solaris 5.8

am 11.09.2007 17:40:22 von david.buice

------_=_NextPart_001_01C7F48A.123496F8
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello,
=20
I'm having some problems installing the PERL module DBD::MYSQL on a
Solaris 5.8 machine.
=20
I am using GCC 5.8.8 for the compiler.
=20
When I run 'perl Makefile.PL' I get the following:
=20
I will use the following settings for compiling and testing:
=20
cflags (mysql_config) =3D -I/opt/mysql/mysql/include -mt
-D_FORTEC_ -xarch=3Dv8
embedded (mysql_config) =3D
libs (mysql_config) =3D -L/opt/mysql/mysql/lib -lmysqlclient
-lz -lposix4 -lresolv -lgen -lsocket -lnsl -lm
mysql_config (guessed ) =3D mysql_config
nocatchstderr (default ) =3D 0
nofoundrows (default ) =3D 0
ssl (guessed ) =3D 0
testdb (default ) =3D test
testhost (default ) =3D
testpassword (default ) =3D
testsocket (default ) =3D
testuser (default ) =3D
=20
To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.
=20
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
=20
After I run 'make' I get the following:
=20
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=3Dv8
-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=3D64 -O -DVERSION=3D\"4.005\" =
-DXS_VERSION=3D\"4.005\"
-fPIC "-I/usr/local/lib/perl5/5.8.8/sun4-solaris/CORE" dbdimp.c
gcc: language arch=3Dv8 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=3Dv8
-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=3D64 -O -DVERSION=3D\"4.005\" =
-DXS_VERSION=3D\"4.005\"
-fPIC "-I/usr/local/lib/perl5/5.8.8/sun4-solaris/CORE" mysql.c
gcc: language arch=3Dv8 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=3D"/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 \
=20
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
=20
I would appreciate any help on how I can get this module to install
properly.
=20
Thank you,
=20
David Buice
ITIL Foundations Certified
EDS - PSIC
7000 Chicago Road
Warren, MI 48092
=20
( Phone:+1-586-575-4525
+ mailto:david.buice@eds.com
cell: 248-249-9122
=20

------_=_NextPart_001_01C7F48A.123496F8--