3 messages in com.mysql.lists.perlRe: DBD::mysql bug in Mac OS X 10.3
FromSent OnAttachments
Matt Post15 Nov 2003 20:01 
Rudy Lippan16 Nov 2003 12:15 
Matt Post16 Nov 2003 15:13 
Subject:Re: DBD::mysql bug in Mac OS X 10.3
From:Matt Post (ma@onpost.net)
Date:11/16/2003 03:13:34 PM
List:com.mysql.lists.perl

echo $? returned 2.

I ran 'perl Makefile.PL --nocatchstderr && make' and everything compiled fine. Just to check, I followed that up with 'make install' and tested it with my scripts -- no problems.

Matt

On Sun, 16 Nov 2003, Rudy Lippan wrote:

On Sat, 15 Nov 2003, Matt Post wrote:

Hello,

Hello,

I was getting the error above. However, when I ran the compile command directly (not through the perl 'myld' script) everything compiled fine:

mpost89 ~/.cpan/build/DBD-mysql-2.9003$ 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 -lz -lm mpost89 ~/.cpan/build/DBD-mysql-2.9003$

What is the output of

mpost89 ~/.cpan/build/DBD-mysql-2.9003$ 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 -lz -lm

mpost89 ~/.cpan/build/DBD-mysql-2.9003$ echo $?

I'd just like to know what error code cc is returning.

Also could you try building the make file with --nocatchstderr which keeps myld from runnign myld and see if everything compiles correctly.

Thank you,