Re: DBD install on Mac OSX 10.3.9

Rudy Lippan <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
Just a guess here since I know nothing of Mac OSX:

On Thu, 21 Apr 2005, David Adelson wrote:

> I am having problems getting DBD::mysql to install on my mac server:
> angus.tamu.edu [~/.cpan/build/DBD-mysql-2.9006] % uname -a
> Darwin angus.tamu.edu 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17
> PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC  Power Macintosh powerpc
> angus.tamu.edu [~/.cpan/build/DBD-mysql-2.9006] % sw_vers
> ProductName:    Mac OS X Server
> ProductVersion: 10.3.9
> BuildVersion:   7W98
> 


>   cflags        (mysql_config) = -I/usr/include/mysql -O3
> -fno-omit-frame-pointer -arch i386 -arch ppc -pipe
>   libs          (mysql_config) = -arch i386 -arch ppc -pipe -L/usr/lib/mysql
> -lmysqlclient -lz -lm


Try passing in the cflags and libs for you arch instead of using the values
returned from mysql_config.

> "-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE"   dbdimp.c
> cc: cannot read specs file for arch `i386'


-r


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