OpenKB::Server Technical Papers

Ruby

Ruby: Rails gem install mysql throws error: extconf.rb failed

by admin on Aug.17, 2008, under Ruby

hecking 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.
===============soluton

gem install mysql — –with-mysql-config=/usr/local/mysql/bin/mysql_config

Comments Off more...

Ruby: Rmagick compile failed

by admin on Apr.13, 2008, under Ruby

gem install rmagick

Building native extensions. This could take a while…
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
Can’t install RMagick 2.3.0. Can’t find Magick-config in
/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin

—————

solution

install imagemagick from source

http://www.imagemagick.org/script/install-source.php#unix

Comments Off more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!