[ruby-it] Connessione mysql senza mysql-devel (Urgente !)

Luigi Maroncelli luigi.m a condor.it
Ven 12 Set 2008 09:23:42 CEST


Ciao ,

si quella l'ho installata, ma mi continua a dare errore .... penso sia 
perché vuole le librerie lato server; in Yast la descrizione di quel 
pacchetto è:

"This package contains the development header files and libraries 
necessary to develop MySQL client applications."


Ti dirò di più, ho anche installato le mysql-devel ma per la OpenSuse 
10.X (sono le uniche disponibili) e le ha prese........ cioè non ha dato 
errore... ma quando faccio

gem install mysql
Building native extensions.  This could take a while...
ERROR:  Error installing mysql:
        ERROR: Failed to build gem native extension.

/usr/bin/ruby extconf.rb install mysql
checking 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
*** 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.


Con la 10.2 mi sembra avessi risolto proprio installando mysql-devel 
appropriate: entro questa mattina devo decidere se 
downgradare............... help !!!

Michele Casari ha scritto:
> hai provato con google?
> mysql-devel -> libmysqlclient-devel
>
>
> Ciao Michele
>   


More information about the Ml mailing list