Problem installing mysql ruby bindings gem on aix

After much digging and coaxing, I’ve gotten Ruby and Rails installed on
an AIX 5.3 box. However, I can’t seem to get the mysql gem to install.
I’ve googled a bit, and I’ve found some similar error messages, but
nothing has worked. I have the mysql aix binaries installed in
/usr/local/mysql. If I do

$sudo gem install mysql – --with-mysql-dir=/usr/local/mysql, I get:
“*** extconf.rb failed ***”

If I change to the gem directory and run:

$sudo ruby extconf.rb
–with-mysql-conf=/usr/local/mysql/bin/mysql_config

I get the following:

checking for mysql_ssl_set()… no
checking for mysql.h… no
checking for mysql/mysql.h… no
*** extconf.rb failed ***

I’ve tried a number of switch option, but nothing seems to work. Any
suggestions will be much appreciated.

Looks like you are missing the mysql dev libraries


Aníbal Rojas

http://anibal.rojas.com.ve

On Thu, Sep 4, 2008 at 10:46 AM, John Felix

Do you know which specific libraries I need? One of them, mysql.h, is
in the /usr/local/mysql/include directory. I’m new on AIX, so forgive
me if this is a newbie question.

Aníbal Rojas wrote:

Looks like you are missing the mysql dev libraries


An�bal Rojas
http://hasmanydevelopers.com
http://rubycorner.com
http://anibal.rojas.com.ve

On Thu, Sep 4, 2008 at 10:46 AM, John Felix