[Ror-es] Re: Instalación del módulo mysql en Mac Os X Tiger

Alejandro Fernández Fernández
Tue Feb 28 18:13:48 GMT 2006


Hola, me contesto a mi mismo, al no tener instalado mysql en lugar  
estandar no me compilaba la solución lo he conseguido con:

gem install mysql -- --with-mysql-config=/Library/MySQL/bin/mysql_config

que es donde tengo instalado mysql

Saludos.


El 28/02/2006, a las 18:22, Alejandro Fernández Fernández escribió:

> Hola, he instalado rails sin problemas en mi mac con sistema Mac os  
> x Tiger, pero me encuentro con el problema que no puedo instalar el  
> módulo de mysql, he seguido las recomendaciones del libro Agile Web  
> Development with Rails sobre la instalación de mysql en mac  
> parcheando el sistema pero no lo soluciono me sigue saliendo el  
> mismo problema cuando intento instalar mysql con gems
> La salida que obtengo es :
>
> ERROR: Failed to build gem native extension.
> Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/ 
> mysql-2.7 for inspection.
>   ruby extconf.rb install mysql\nchecking 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
>
> Saludos y gracias de antemano.
>
> Alejandro Fernández Fernández
> Centro Guadalinfo Santisteban del Puerto (Jaén)
> msn: 
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://barclay.textdrive.com/pipermail/ror-es/attachments/20060228/c2bb4985/attachment.htm