Mac OS X 10.3.3, PERL 5.8.1 and MySQL 4

Mac OS X 10.3.3, PERL 5.8.1 and MySQL 4

am 01.04.2004 22:18:08 von Rick Smith

Hello,

Iâ€=99ve installed Bundle::DBI sucessfully using CPAN, but Iâ€=99m =
having problems installing Bundle::DBD::mysql. Iâ€=99ve tried both CPA=
N and manually going through the â€=9Cperl Makefile.PL-make-make test-m=
ake installâ€=9D sequence. I canâ€=99t get past the make part. Th=
e output of commands is shown below.

OS: Mac OS X 10.3.3
Perl: 5.8.1
MySQL: 4.0.18-standard (installed in /usr/local/share/mysql)


Thanks,
Rick

[pbg3:share/mysql/bin] smithrd% uname -a
Darwin pbg3.loc 7.3.0 Darwin Kernel Version 7.3.0: Fri Mar 5 14:22:55 PST =
2004; root:xnu/xnu-517.3.15.obj~4/RELEASE_PPC Power Macintosh powerpc
[pbg3:share/mysql/bin] smithrd% perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 1 RC3) configuration=
:
Platform:
osname=3Ddarwin, osvers=3D7.0, archname=3Ddarwin-thread-multi-2level
uname=3D'darwin hampsten 7.0 darwin kernel version 6.0: fri jul 25 16:5=
8:41 pdt 2003; root:xnu-344.frankd.rootsxnu-344.frankd~objrelease_ppc power=
macintosh powerpc '
config_args=3D'-ds -e -Dprefix=3D/usr -Dccflags=3D-g -pipe -Dldflags=
=3D-Dman3ext=3D3pm -Duseithreads -Duseshrplib'
hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine
usethreads=3Ddefine use5005threads=3Dundef useithreads=3Ddefine usemult=
iplicity=3Ddefine
useperlio=3Ddefine d_sfio=3Dundef uselargefiles=3Ddefine usesocks=3Dund=
ef
use64bitint=3Dundef use64bitall=3Dundef uselongdouble=3Dundef
usemymalloc=3Dn, bincompat5005=3Dundef
Compiler:
cc=3D'cc', ccflags =3D'-g -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp=
-precomp -fno-strict-aliasing -I/usr/local/include',
optimize=3D'-Os',
cppflags=3D'-no-cpp-precomp -g -pipe -pipe -fno-common -DPERL_DARWIN -n=
o-cpp-precomp -fno-strict-aliasing -I/usr/local/include'
ccversion=3D'', gccversion=3D'3.3 20030304 (Apple Computer, Inc. build =
1495)', gccosandvers=3D''
intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8, byteorder=3D432=
1
d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, longdblsize=
=3D8
ivtype=3D'long', ivsize=3D4, nvtype=3D'double', nvsize=3D8, Off_t=3D'of=
f_t', lseeksize=3D8
alignbytes=3D8, prototype=3Ddefine
Linker and Libraries:
ld=3D'MACOSX_DEPLOYMENT_TARGET=3D10.3 cc', ldflags =3D'-L/usr/local/lib=
'
libpth=3D/usr/local/lib /usr/lib
libs=3D-ldbm -ldl -lm -lc
perllibs=3D-ldl -lm -lc
libc=3D/usr/lib/libc.dylib, so=3Ddylib, useshrplib=3Dtrue, libperl=3Dli=
bperl.dylib
gnulibc_version=3D''
Dynamic Linking:
dlsrc=3Ddl_dyld.xs, dlext=3Dbundle, d_dlsymun=3Dundef, ccdlflags=3D' '
cccdlflags=3D' ', lddlflags=3D'-bundle -undefined dynamic_lookup -L/usr=
/local/lib'


Characteristics of this binary (from libperl):=20
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPL=
ICIT_CONTEXT
Locally applied patches:
RC3
Built under darwin
Compiled at Sep 12 2003 19:50:49
@INC:
/System/Library/Perl/5.8.1/darwin-thread-multi-2level
/System/Library/Perl/5.8.1
/Library/Perl/5.8.1/darwin-thread-multi-2level
/Library/Perl/5.8.1
/Library/Perl
/Network/Library/Perl/5.8.1/darwin-thread-multi-2level
/Network/Library/Perl/5.8.1
/Network/Library/Perl
.
[pbg3:share/mysql/bin] smithrd% ./mysql_config --cflags
-I/usr/local/share/mysql/include -O3 -fno-omit-frame-pointer
[pbg3:share/mysql/bin] smithrd% ./mysql_config --libs
-L/usr/local/share/mysql/lib -lmysqlclient -lz -lm
[pbg3:~/.cpan/build/DBD-mysql-2.9003] smithrd% perl Makefile.PL --cflags=3D=
-I/usr/local/share/mysql/include/ --ssl
I will use the following settings for compiling and testing:

cflags (Users choice) =3D -I/usr/local/share/mysql/include/
libs (mysql_config) =3D -L/usr/local/share/mysql/lib -lmysqlclie=
nt -lz -lm
nocatchstderr (default ) =3D 0
nofoundrows (default ) =3D 0
ssl (Users choice) =3D 1
testdb (default ) =3D test
testhost (default ) =
testpassword (default ) =
testuser (default ) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Using DBI 1.42 (for perl 5.008001 on darwin-thread-multi-2level) installed =
in /Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI
Writing Makefile for DBD::mysql

[pbg3:~/.cpan/build/DBD-mysql-2.9003] smithrd% make
cc -c -I/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI -I/usr/loc=
al/share/mysql/include/ -DDBD_MYSQL_WITH_SSL -g -pipe -pipe -fno-common -DP=
ERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os =
-DVERSION=3D\"2.9003\" -DXS_VERSION=3D\"2.9003\" "-I/System/Library/Perl/5=
8.1/darwin-thread-multi-2level/CORE" dbdimp.c
cc -c -I/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI -I/usr/loc=
al/share/mysql/include/ -DDBD_MYSQL_WITH_SSL -g -pipe -pipe -fno-common -DP=
ERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os =
-DVERSION=3D\"2.9003\" -DXS_VERSION=3D\"2.9003\" "-I/System/Library/Perl/5=
8.1/darwin-thread-multi-2level/CORE" mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.bundle
LD_RUN_PATH=3D"/usr/lib" /usr/bin/perl myld MACOSX_DEPLOYMENT_TARGET=3D10.3=
cc -bundle -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o -=
o blib/arch/auto/DBD/mysql/mysql.bundle -L/usr/local/share/mysql/lib -lmy=
sqlclient -lz -lm =20
make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
[pbg3:~/.cpan/build/DBD-mysql-2.9003] smithrd%=20



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