Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mysql module installation help



On Wed, 27 Oct 2004 08:05:30 -0400, Dan Shoop <email@hidden> wrote:
> 
> At 7:28 AM -0400 10/27/04, The MacMedic wrote:
> Well, that was a d'oh moment. I had not installed the developer tools
> yet and that solved the make problem.
> 
> Of course the problems aren't done yet. I use CPAN to download the
> DBD::mysql module and for some reason it keeps trying to compile for
> i386 architecture.
> 
> 
> Do a manual build. Make sure you do a clean make and have properly set the
> --test* parameters for access to your MySQL installation on the `perl
> Makefile.pl` line since you've probably configured MySQL to require a
> password (hopefully.)
> 
> 
> Next make sure that you have specified the MACOSX as the build platform:
>    perl -pi -e's/MACOSX/env MACOSX/' Makefile
> and the proceed with the make ; make test ; sudo make install.
> 
> 
> You might also look at
> http://www.heavyhosting.net/AppToolkit/index.html?main=downloads.html for a
> binary.-- 

I'm trying the manual install but I am apparantly much to dense to
figure this out.

I have downloaded the module, untarred it, and cd into the resulting directory.

perl -pi -e's/MACOSX/env MACOSX/' Makefile only brings another shell prompt

make  still brings: 

xserve:~/DBD-mysql-2.9004 admin$ make
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'
make: *** [dbdimp.o] Error 1
xserve:~/DBD-mysql-2.9004 admin$

HELP!!! I am in way over my head!

--Harry
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden

References: 
 >Mysql module installation help (From: The MacMedic <email@hidden>)
 >Re: Mysql module installation help (From: "Adam K. Wuellner" <email@hidden>)
 >Re: Mysql module installation help (From: The MacMedic <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.