Installing DBD::mysql on Mac OSX Server (Panther)
From: Jeff Malloy (JMalloy_at_Web-Tech.net)
Date: 11/10/04
- Previous message: Rudy Lippan: "Re: Problem while installing DBD:pg"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: dbi-users@perl.org Date: Wed, 10 Nov 2004 15:08:21 -0500
I am unable to successfully install the DBD::mysql (2.9004) module on a
Mac OSX Server Panther:10.3.6)
Using either:
cpan
install DBD::mysql
OR
perl -MCPAN -e shell
install DBD::mysql
OR
perl Makefile.PL
make test
make install
I get the same result during Makefile:
.
.
.
Checking if your kit is complete...
Looks good
Unrecognized argument in LIBS ignored: '-arch'
Unrecognized argument in LIBS ignored: 'i386'
Unrecognized argument in LIBS ignored: '-arch'
Unrecognized argument in LIBS ignored: 'ppc'
Unrecognized argument in LIBS ignored: '-pipe'
Using DBI 1.45 (for perl 5.008001 on darwin-thread-multi-2level)
installed in /Library/Perl/5.8.1/ darwin-thread-multi-2level/auto/DBI/
Writing Makefile for DBD::mysql
Then the make fails and reports this:
cc -c -I/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/DBI/
-I/usr/include/mysql -O3 -fno-omit-frame-pointer -arch i386 -arch ppc
-pipe -g -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"2.9004\"
-DXS_VERSION=\"2.9004\"
"-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE"
dbdimp.c
cc: cannot read specs file for arch `i386'
gnumake: *** [dbdimp.o] Error 1
I searched and found an earlier thread but it did not offer a
successful solution.
Can anyone point me to a solution?
Jeff
- Previous message: Rudy Lippan: "Re: Problem while installing DBD:pg"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]