Cygwin/Ruby/Gem/MySQL install different?
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
Sorry, you can't reply to this topic. It has been closed.
© 1995-2008 MySQL AB, 2008- Sun Microsystems, Inc.