MySQL DBD modules

anothermacguy

Registered
Has anyone successfully installed the DBD::Mysql module for Perl5? Better yet, has anyone been able to use the mysqladmin script? Any help would be greatly apprciated. I get the following error when running make:

[localhost:Library/Desktop/Msql-Mysql-modules-1.2215] root# make
mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Msql-Mysql-modules
mkdir blib/lib/auto
mkdir blib/lib/auto/Msql-Mysql-modules
mkdir blib/man1
/usr/bin/perl -Iblib/arch -Iblib/lib -I/System/Library/Perl/darwin \
-I/System/Library/Perl -Ilib -MExtUtils::perlPP \
-e ppp "dbd/dbimon.in" "dbimon" "lib/DBD/mysql/Install/Config.pm"
/usr/bin/pod2text mysql/lib/DBD/mysql.pm >README
mkdir ../blib/lib/DBD
mkdir ../blib/arch/auto/DBD
mkdir ../blib/arch/auto/DBD/mysql
mkdir ../blib/lib/auto/DBD
mkdir ../blib/lib/auto/DBD/mysql
mkdir ../blib/man3
cp lib/DBD/mysql.pm ../blib/lib/DBD/mysql.pm
cp lib/Mysql/Statement.pm ../blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm ../blib/lib/Bundle/DBD/mysql.pm
cp lib/Mysql.pm ../blib/lib/Mysql.pm
cc -c -I/Library/Perl/darwin/auto/DBI -I/usr/local/include/mysql -I../dbd -I/Library/Perl/darwin/auto/DBI -I/System/Library/Perl/darwin -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -O3 -DVERSION=\"2.0415\" -DXS_VERSION=\"2.0415\" -fpic -I/System/Library/Perl/darwin/CORE -DDBD_MYSQL dbdimp.c
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" < /Library/Perl/darwin/auto/DBI/Driver.xst > mysql.xsi
/usr/bin/perl -I/System/Library/Perl/darwin -I/System/Library/Perl /System/Library/Perl/ExtUtils/xsubpp -typemap /System/Library/Perl/ExtUtils/typemap mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
cc -c -I/Library/Perl/darwin/auto/DBI -I/usr/local/include/mysql -I../dbd -I/Library/Perl/darwin/auto/DBI -I/System/Library/Perl/darwin -g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -O3 -DVERSION=\"2.0415\" -DXS_VERSION=\"2.0415\" -fpic -I/System/Library/Perl/darwin/CORE -DDBD_MYSQL mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
LD_RUN_PATH="/usr/local/lib/mysql" cc -o ../blib/arch/auto/DBD/mysql/mysql.bundle -bundle -undefined suppress dbdimp.o mysql.o -L/usr/local/lib/mysql -L/usr/local/lib/mysql -lmysqlclient
/usr/bin/ld: table of contents for archive: /usr/local/lib/mysql/libmysqlclient.a is out of date; rerun ranlib(1) (can't load from it)
make[1]: *** [../blib/arch/auto/DBD/mysql/mysql.bundle] Error 1
make: *** [subdirs] Error 2


Thanks again......anothermacguy
 
Top