Install on Mac os X 10.3.7

James Burnette <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
I am trying to install DBD-mysql-2.9004 on Mac OS X 10.3.7 with perl  
v5.8.1-RC3 built for darwin-thread-multi-2level and MySQL 4.1.9.Make 
fails with this message:

make
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cc -c  -I/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI/ 
-I/usr/local/mysql/include -fno-omit-frame-pointer -g -pipe -pipe 
-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing 
-I/usr/local/include -Os   -DVERSION=\"2.9004\" -DXS_VERSION=\"2.9004\"  
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE"   dbdimp.c
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" 
/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI//Driver.xst > 
mysql.xsi
/usr/bin/perl /System/Library/Perl/5.8.1/ExtUtils/xsubpp  -typemap 
/System/Library/Perl/5.8.1/ExtUtils/typemap  mysql.xs > mysql.xsc && mv 
mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 196
Warning: duplicate function definition 'rows' detected in mysql.xs, line 294
cc -c  -I/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI/ 
-I/usr/local/mysql/include -fno-omit-frame-pointer -g -pipe -pipe 
-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing 
-I/usr/local/include -Os   -DVERSION=\"2.9004\" -DXS_VERSION=\"2.9004\"  
"-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="/usr/lib" /usr/bin/perl myld MACOSX_DEPLOYMENT_TARGET=10.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/mysql/lib 
-lmysqlclient -lm -lz  
make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 255
[ESCORIAL:~/Desktop/DBD-mysql-2.9004] zeste% make test
rm -f blib/arch/auto/DBD/mysql/mysql.bundle
LD_RUN_PATH="/usr/lib" /usr/bin/perl myld MACOSX_DEPLOYMENT_TARGET=10.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/mysql/lib 
-lmysqlclient -lm -lz  
make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 255
[ESCORIAL:~/Desktop/DBD-mysql-2.9004] zeste% make install
rm -f blib/arch/auto/DBD/mysql/mysql.bundle
LD_RUN_PATH="/usr/lib" /usr/bin/perl myld MACOSX_DEPLOYMENT_TARGET=10.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/mysql/lib 
-lmysqlclient -lm -lz  
make: *** [blib/arch/auto/DBD/mysql/mysql.bundle] Error 255

I am an intermediate user of unix and do not know how to fix this 
problem. There is no information about it on mysql.com forums or from a 
google search. Version  2.9003 fails even for a different reason even 
after trying various suggestions form the web.

Thank you,

Jim

-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.