coba ke sini, perasaan mirip masalahnya. http://blog.m-schmidt.eu/2009/12/11/ruby-on-rails-mysql-on-mac-os-x-10-6-snow-leopard/
-- rubyist ? "railsmine.net" : "ongolongol.com" ________________________________ Dari: Dwinanto Santoso <[email protected]> Kepada: [email protected] Terkirim: Rab, 17 Februari, 2010 19:32:36 Judul: Re: [id-ruby] instalasi gem mysql di mac os dengan xampp saya dah coba pake yg pertama mysqlplus ada error begini: Building native extensions. This could take a while... ERROR: Error installing mysqlplus: ERROR: Failed to build gem native extension. /System/Library/ Frameworks/ Ruby.framework/ Versions/ 1.8/usr/bin/ ruby extconf.rb checking for mysql_query( ) in -lmysqlclient. .. no checking for main() in -lm... yes checking for mysql_query( ) in -lmysqlclient. .. no checking for main() in -lz... yes checking for mysql_query( ) in -lmysqlclient. .. no checking for main() in -lsocket... no checking for mysql_query( ) in -lmysqlclient. .. no checking for main() in -lnsl... no checking for mysql_query( ) in -lmysqlclient. .. no checking for main() in -lmygcc... no checking for mysql_query( ) in -lmysqlclient. .. no *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt- dir --with-opt-include --without-opt- include=$ {opt-dir} /include --with-opt-lib --without-opt- lib=${opt- dir}/lib --with-make- prog --without-make- prog --srcdir=. --curdir --ruby=/System/ Library/Framewor ks/Ruby.framewor k/Versions/ 1.8/usr/bin/ ruby --with-mysql- config --without-mysql- config --with-mysql- dir --without-mysql- dir --with-mysql- include --without-mysql- include=$ {mysql-dir} /include --with-mysql- lib --without-mysql- lib=${mysql- dir}/lib --with-mysqlclientl ib --without-mysqlclie ntlib --with-mlib --without-mlib --with-mysqlclientl ib --without-mysqlclie ntlib --with-zlib --without-zlib --with-mysqlclientl ib --without-mysqlclie ntlib --with-socketlib --without-socketlib --with-mysqlclientl ib --without-mysqlclie ntlib --with-nsllib --without-nsllib --with-mysqlclientl ib --without-mysqlclie ntlib --with-mygcclib --without-mygcclib --with-mysqlclientl ib --without-mysqlclie ntlib Gem files will remain installed in /Library/Ruby/ Gems/1.8/ gems/mysqlplus- 0.1.1 for inspection. kalo pake cara yg kedua ada masalah ini: sudo ARCHFLAGS=”-arch i386″ gem install mysql — –with-mysql-dir= /Applications/ XAMPP/xamppfiles / Password: sudo: ARCHFLAGS=”-arch: command not found ada saran? mungkin ada component yg saya belum install kali ya? 2010/2/15 Bobby Prabowo <tigaen...@gmail. com> > > > > On Feb 15, 2010, at 1:14 AM, Dwinanto Santoso wrote: > > > saya mau tanya apakah ada yg pernah coba instalasi gem mysql dengan > platform > > mac os x 10.5.8 dan menggunakan xampp? > > > > saya sudah coba ikuti instruksi berikut: > > > http://wonko. com/post/ how-to-install- the-mysqlruby- gem-on-mac- > os-x-leopard > > > > tp masih gagal, message errornya sama kalo misalnya kita coba install > dengan > > menggunakan gem install mysql. > > > > ada yang bisa kasih saran saya musti cari literatur dimana? > > > > thx a bunch > > > > > bisa juga pakai yang ini kalau masih mau mempertahankan xampp nya > > > http://blog. keksrolle. de/2009/10/ 09/resolving- trouble-with- > ruby-on-rails- with-mysql- on-xampp- on-osx-snow- leopard.html > > > [Non-text portions of this message have been removed] > > > -- www.adeape.com [Non-text portions of this message have been removed] Lebih bergaul dan terhubung dengan lebih baik. Tambah lebih banyak teman ke Yahoo! Messenger sekarang! http://id.messenger.yahoo.com/invite/ [Non-text portions of this message have been removed]

