From: Joseph Alotta Date: 2005-06-20T06:03:47+09:00 Subject: Re: help installing mysql-ruby on Tiger Thanks, Derek, you are the best. This worked. Joe. On Jun 18, 2005, at 6:05 PM, Derek Greentree wrote: > Hi Joe, > > From a terminal, > sudo gem install fixrbconfig > sudo fixrbconfig > > and then reinstall the mysql gem. > > - Derek > > On 2005-06-18 14:53:03 -0600, Joseph Alotta > said: > > >> Greetings, >> I am trying to install mysql-ruby on Tiger. I loaded the >> serverlogics package which put at the headers in /Library/MySQL >> and MySQL works okay from the command line. >> I used the following command which used to work in Panther: >> sudo gem install mysql -- --with-mysql-dir=/Library/MySQL >> Can someone please help? >> Joe. >> [user-11fahlg:~] jja% setenv >> PATH=/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/ >> Users/jja/bin:./ >> SECURITYSESSIONID=72833b0 >> HOME=/Users/jja >> SHELL=/bin/bash >> USER=jja >> __CF_USER_TEXT_ENCODING=0x1F5:0:0 >> TERM_PROGRAM=Apple_Terminal >> TERM_PROGRAM_VERSION=133 >> TERM=xterm-color >> HOSTTYPE=powermac >> VENDOR=apple >> OSTYPE=darwin >> MACHTYPE=powerpc >> SHLVL=1 >> PWD=/Users/jja >> LOGNAME=jja >> GROUP=jja >> HOST=user-11fahlg.dsl.mindspring.com >> RUBYOPT=rrubygems >> [user-11fahlg:~] jja% sudo gem install mysql -- --with-mysql-dir=/ >> Library/MySQL >> Attempting local installation of 'mysql' >> Local gem file not found: mysql*.gem >> Attempting remote installation of 'mysql' >> Building native extensions. This could take a while... >> ERROR: While executing gem ... (RuntimeError) >> ERROR: Failed to build gem native extension. >> Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/ >> mysql-2.5.1 for inspection. >> ruby extconf.rb install mysql -- --with-mysql-dir=/Library/ >> MySQL \nchecking for mysql_query() in -lmysqlclient... no >> checking for main() in -lm... no >> checking for mysql_query() in -lmysqlclient... no >> checking for main() in -lz... no >> 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 >> Results logged to /usr/lib/ruby/gems/1.8/gems/mysql-2.5.1/ >> gem_make.out >> [user-11fahlg:~] jja% sudo gem install mysql Attempting local >> installation of 'mysql' >> Local gem file not found: mysql*.gem >> Attempting remote installation of 'mysql' >> Building native extensions. This could take a while... >> ERROR: While executing gem ... (RuntimeError) >> ERROR: Failed to build gem native extension. >> Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/ >> mysql-2.5.1 for inspection. >> ruby extconf.rb install mysql\nchecking for mysql_query() in - >> lmysqlclient... no >> checking for main() in -lm... no >> checking for mysql_query() in -lmysqlclient... no >> checking for main() in -lz... no >> 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 >> Results logged to /usr/lib/ruby/gems/1.8/gems/mysql-2.5.1/ >> gem_make.out >> > > > >