I am trying to install gem mysql 2.8.1. I would use it to create a Rails 2.0.2 application on Ubuntu 10.04. I would use Ruby 1.8.7. I have installed development dependencies (other gems). For some reason I can not install it. I cannot figure out exactly how to fix this. Please, help!
I get the following in the terminal when I try to install it:
mohnish@pc146724-desktop:~/Downloads$ sudo gem install mysql-2.8.1.gem Building native extensions. This could take a while... ERROR: Error installing mysql-2.8.1.gem: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb 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... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lmygcc... 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. Provided configuration options:
Thanks for the help!
boddhisattva Jan 6 2018-11-11T00: 00Z
source share