MySQL Forums
Forum List  »  Ruby

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.



Options: ReplyQuote

Written By
Cygwin/Ruby/Gem/MySQL install different?
July 31, 2008 06:33PM

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

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.