Help on installing Bundle::DBD::mysql

Help on installing Bundle::DBD::mysql

am 04.12.2003 12:14:12 von Laurence Stendard

Hi !

I will appreciate any help on this issue.=20

I'm trying to install Bundle::DBD::mysql ( perl -MCPAN -e 'install =
Bundle::DBD::mysql' ) on a Solaris 9 running Perl 5.8.2 but I got the =
error messages below.

Many thanks,

Laurence

=
==================== =====3D=
=========3D
/usr/local/bin/perl -p -e "s/~DRIVER~/mysql/g" =
/usr/local/lib/perl5/site_perl/5.8.2/sun4-solaris-thread-mul ti/auto/DBI/D=
river.xst > mysql.xsi
/usr/local/bin/perl /usr/local/lib/perl5/5.8.2/ExtUtils/xsubpp -typemap =
/usr/local/lib/perl5/5.8.2/ExtUtils/typemap mysql.xs > mysql.xsc && mv =
mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line =
192
Warning: duplicate function definition 'rows' detected in mysql.xs, line =
290
gcc -B/usr/ccs/bin/ -c =
-I/usr/local/lib/perl5/site_perl/5.8.2/sun4-solaris-thread-m ulti/auto/DBI=
-I/usr/local/mysql/include -Xa -xstrconst -mt -D_FORTEC_ -xarch=3Dv9 =
-D_REENTRANT -fno-strict-aliasing -I/usr/local/include =
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -O2 =
-DVERSION=3D\"2.9003\" -DXS_VERSION=3D\"2.9003\" -fPIC =
"-I/usr/local/lib/perl5/5.8.2/sun4-solaris-thread-multi/CORE " mysql.c
gcc: unrecognized option `-Xa' <<<<<<<< ???
gcc: language arch=3Dv9 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"/usr/lib" /usr/local/bin/perl myld gcc -B/usr/ccs/bin/ =
-G -L/usr/local/lib dbdimp.o mysql.o -o =
blib/arch/auto/DBD/mysql/mysql.so -L/usr/local/mysql/lib -lmysqlclient =
-lposix4 -lcrypt -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 <<<<<<<< ???
/usr/local/bin/make -- NOT OK
Running make test
Can't test without successful make <<<<<<<<
Running make install
make had returned bad status, install seems impossible
Running install for module DBD::mysql
Running make for R/RU/RUDY/DBD-mysql-2.9003.tar.gz
Is already unwrapped into directory /.cpan/build/DBD-mysql-2.9003
Has already been processed within this session
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Bundle summary: The following items in bundle Bundle::DBD::mysql had
installation problems:
Mysql DBD::mysql

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=3Dgcdmp-msql-mysql-modules @m.gmane.org

Re: Help on installing Bundle::DBD::mysql

am 04.12.2003 20:28:00 von Rudy Lippan

On Thu, 4 Dec 2003, Laurence Stendard wrote:

> Hi !
>
> I will appreciate any help on this issue.
>
> I'm trying to install Bundle::DBD::mysql ( perl -MCPAN -e 'install
> Bundle::DBD::mysql' ) on a Solaris 9 running Perl 5.8.2 but I got the
> error messages below.


You have to use the same compiler to compile DBD::mysql that you used to
compile perl.


Rudy


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Help on installing Bundle::DBD::mysql

am 04.12.2003 20:28:00 von Rudy Lippan

On Thu, 4 Dec 2003, Laurence Stendard wrote:

> Hi !
>
> I will appreciate any help on this issue.
>
> I'm trying to install Bundle::DBD::mysql ( perl -MCPAN -e 'install
> Bundle::DBD::mysql' ) on a Solaris 9 running Perl 5.8.2 but I got the
> error messages below.


You have to use the same compiler to compile DBD::mysql that you used to
compile perl.


Rudy


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org