Re: Install on Mac os X 10.3.7

Thomas Register <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
>
> On Sun, 23 Jan 2005, James Burnette wrote:
> 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
...
> 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 found a reference somewhere with google (don't have it right now, or
I'd give credit where it's due) that suggested removing the "myld" from
makefile.  I wasn't sure how best to do this,  but found that executing
makefile with the nocatchstderr option eliminated the problem:

perl makefile --nocatchstderr

I'm now doing selects and inserts into my database.  (after taking care 
of a password problem.  Sigh).

You can see the reference to the option inside makefile.pl.  Hope this
helps:  I've found that using Perl and MySQL can be a RPitA.
Interesting and educational, though.

I'm also running 10.3.7.  Interesting point;  I'm running Jaguar on
another machine, with Perl 5.8.1 (that was an experience it itself), 
and it had no problem.

Tom


-- 
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.