On Thursday, November 6, 2003, at 11:38 AM, Jan Pieter Kunst wrote:


I'd be curious what kind of numbers Panther shows. Once I get my xServe setup, just arrived, I'll try running some tests myself.

I just installed Panther on my G5 at home. Unfortunately, for some reason I can't get the Perl module DBD::mysql to install (using CPAN, had no problems doing this in Jaguar) so I can't run the benchmark suite for now.


JP


I had similar issues, but I was also using a custom build of MySQL, which was not in a standard location.

Try this:

perl Makefile.PL --cflags=-I/path/to/include/mysql "--libs=-L/path/to/lib/mysql -lmysqlclient"
export MACOSX_DEPLOYMENT_TARGET=10.3
make



If you get errors during the make process, try editing the Makefile to make sure it has the appropriate paths in these lines (39 + 40):


LDDLFLAGS = -bundle -undefined dynamic_lookup -L/path/to/mysql/lib
LDFLAGS = -L/path/to/mysql/lib

The only other thing I could do to get it to compile was to copy the part of the failed command from the 'cc' to the end of the line, e.g.:

LD_RUN_PATH="/imax/lib/mysql" /usr/bin/perl myld MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.bundle -L/imax/lib/mysql -lmysqlclient

becomes:

cc -bundle -undefined dynamic_lookup dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.bundle -L/path/to/lib/mysql -lmysqlclient

then type make again and see if it finishes.

Klugey, but it worked for me.

- Gabriel


-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to