Beste,
Ik probeer op mijn Cent Os 5 installatie met DirectAdmin en Ruby Enterprise Edition de MySQL gem te installeren.
Echter, welke oplossing ik ook probeer geen werkt.
Voglens mij is het probleem dat het 'mysql-devel' pakket niet geïnstalleerd is. Mysql is door DirectAdmin geïnstalleerd, dus het via YUM installeren van dit pakketje is niet mogelijk.
Heeft iemand tips hoe ik deze gem toch kan installeren? Of zijn de header files van de mysql installatie op een andere lokatie te vinden?
Dank!
/opt/ruby/bin/gem install mysql
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
/opt/ruby-enterprise-1.8.7-2010.02/bin/ruby extconf.rb
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
checking for main() in -lmygcc... no
checking for mysql_query() in -lmysqlclient... no

Likes:


Quote