Mailing Lists: Apple Mailing Lists

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

installing the MySQL native gem in Leopard Server under the PPC Architecture



Hi all,

I am having an issue getting this gem to install, but what has me more baffled still is that, rails suposedly has no mysql gem by default since version 2.0, and when i did a gem list this seemed to confirm that as there was no mysql gem listed, but soing a rails app -- database=mysql, and subsequently doing rake db:create, managed to create the database, i figure it was using an internal non native gem.... but... what gives, and if i try to install the propper gem all i get are errors, this are some of the options i have tried:


sudo gem install mysql -- --with-mysql-dir=/usr/bin/mysql
sudo gem install mysql -- --with-mysql-config=/usr/bin/mysql_config
sudo env ARCHFLAGS="-arch ppc" gem install mysql -- --with-mysql- config=/usr/bin/mysql_config
sudo env ARCHFLAGS="-arch ppc" gem install mysql -- --with-mysql- include=/opt/local/include/mysql5/mysql/ --with-mysql-lib=/opt/local/ lib/mysql5/mysql/mysql


sudo su -

ARCHFLAGS='-arch ppc' gem install mysql -- --with-mysql-config=/usr/ bin/mysql_config
ARCHFLAGS='-arch ppc' gem install mysql -- --with-mysql-config=/usr/ local/mysql/bin/mysql_config



none of this attemps seem to work...


so i am begging, has anybody out there been able to propperly install the native mysql gem in leopard server running on a PPC ?


uname -a
Darwin server.domain-name.tld 9.7.0 Darwin Kernel Version 9.7.0: Tue Mar 31 22:54:29 PDT 2009; root:xnu-1228.12.14~1/RELEASE_PPC Power Macintosh


thanks in advance,

Luis R. Rojas

_______________________________________________
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


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.