ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ruby-talk
ruby-talk
Re: Leopard + mysql
by Michael Steinfeld other posts by this author
Oct 29 2007 12:30PM messages near this date
Re: Leopard + mysql | Re: Leopard + mysql
Did you install MySQL? Binary or Source? Even if you are connecting to
a remote database, you are still going to have to have mysql header
files and libs installed.

On 10/29/07, X43 X43 <a43131@[...].com>  wrote:
>  Michael Steinfeld wrote:
>  > did you install the mysql adapter gem?
> 
>  That's where the problem is coming. I tried doing that in both manner:
> 
>  gem install mysql
> 
>  and as shown here :
>  http://www.notsostupid.com/blog/2007/10/25/ruby-leopard-and-gems/
> 
> 
>  Both result in :
> 
>  Building native extensions.  This could take a while...
>  ERROR:  While executing gem ... (Gem::Installer::ExtensionBuildError)
>      ERROR: Failed to build gem native extension.
> 
>  ruby extconf.rb install mysql
>  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
>  *** extconf.rb failed ***
> 
>  Appreciate your response. Thanks in advance.
>  Aashish
>  --
>  Posted via http://www.ruby-forum.com/.
> 
> 


-- 
Michael Steinfeld
Linux Admin/Developer
AIM: mikesteinfeld
GTALK: mikeisgreat@gmail.com
Thread:
X43 X43
Michael Steinfeld
X43 X43
Michael Steinfeld
X43 X43
Laurent Sansonetti
X43 X43

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved