Skip navigation links

MySQL Forums


Advanced Search

Cygwin/Ruby/Gem/MySQL install different?
Posted by: ron barry ()
Date: July 31, 2008 06:33PM

I've installed MySQL to c:\Program Files\MySQL\MySQL Server 5.0\ and have followed a number of the descriptions here with interest: particularly the install of the ruby mysql api.

When at a bash prompt, I do:

gem install mysql -- --with-mysql-[lib or dir]=/cygdrive/c/Program......./lib/opt,
I get the usual pain:

checking for mysql_query() in -lmysqlclient... no

I've tried every combination of path names (including the name of the lib itself) with --with-mysql-lib and --with-mysql-dir.

I guess it's possible that gem is still thinking that I need pathnames like c:\program.... instead of /cygdrive/c/program.... but that would almost defeat the purpose for which I'm using cygwin - to be able to treat pathnames the same on all targets: /depot/source/mystuff/etc should be a valid pathname regardless of win, mac, linux, or solaris.

Thanks....

rOn

Options: ReplyQuote


Subject Written By Posted
Cygwin/Ruby/Gem/MySQL install different? ron barry 07/31/2008 06:33PM
Re: Cygwin/Ruby/Gem/MySQL install different? Bryan Deter 10/06/2008 01:07PM


Sorry, you can't reply to this topic. It has been closed.