Problems Installing DBD::MYSQL on Solaris 5.8

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

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) =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

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=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 \

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 [at] eds.com
cell: 248-249-9122


------_=_NextPart_001_01C7F48A.123496F8--
david.buice [ Di, 11 September 2007 17:40 ] [ ID #1817378 ]
Datenbanken » gmane.comp.db.mysql.perl » Problems Installing DBD::MYSQL on Solaris 5.8

Vorheriges Thema: Problems bundling DBD::mysql using Module::Install::Bundle
Nächstes Thema: DBD-mysql-4.005 instalation error!