hi
sorry for the length of this mail - my basic question is just:
how do you succesfully install the Msql-Mysql-modules-1.2216 on macosX?
(i only need the mysql part of this module, and i already have the mysql
database server running smoothly)
please see extensive shell-dump below - commands seperated by newline.
im not too fond of words like:
warning, Unrecognized, undefined and error ...
anyone got a clue?
many thanks i nadvance
allan
_____________________
[localhost:/applications] aju% cd Msql-Mysql-modules-1.2216
[localhost:/applications/Msql-Mysql-modules-1.2216] aju% ls
ChangeLog MANIFEST.SKIP README lib mysql
tests
MANIFEST Makefile.PL dbd mSQL nodbd
[localhost:/applications/Msql-Mysql-modules-1.2216] aju% perl makefile.pl
Which drivers do you want to install?
1) MySQL only
2) mSQL only (either of mSQL 1 or mSQL 2)
3) MySQL and mSQL (either of mSQL 1 or mSQL 2)
4) mSQL 1 and mSQL 2
5) MySQL, mSQL 1 and mSQL 2
Enter the appropriate number: [3] 1
Do you want to install the MysqlPerl emulation? You might keep your old
Mysql module (to be distinguished from DBD::mysql!) if you are concerned
about compatibility to existing applications! [n]
Where is your MySQL installed? Please tell me the directory that
contains the subdir 'include'. [/usr/local]
Which database should I use for testing the MySQL drivers? [test]
On which host is database test running (hostname, ip address
or host:port) [localhost]
User name for connecting to database test? [undef]
Password for connecting to database test? [undef]
Creating files for MySQL ....................
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lgz
Unrecognized argument in LIBS ignored: 'libgcc.a'
Using DBI 1.15 installed in /Library/Perl/darwin/auto/DBI
Writing Makefile for DBD::mysql
Writing Makefile for Msql-Mysql-modules
[localhost:/applications/Msql-Mysql-modules-1.2216] aju% 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.0416\" -DXS_VERSION=\"2.0416\"
-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
Warning: duplicate function definition 'rows' detected in mysql.xs, line 381
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.0416\" -DXS_VERSION=\"2.0416\"
-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:/usr/lib" 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 -lm -lz
/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
[localhost:/applications/Msql-Mysql-modules-1.2216] aju% make test
LD_RUN_PATH="/usr/local/lib/mysql:/usr/lib" 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 -lm -lz
/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
__________________________