S
smerz
Hi all,
I have downloaded and installed Ruby on Rails and started on the
ONLamp tutorial (cookbook), all went well and RoR installed OK. My
installation of MySql gem file failed with error:
ERROR: Error installing gem mysql[.gem]: ERROR: Failed to build gem
native extension.
Gem files will remain installed in
C:/ruby/lib/ruby/gems/1.8/gems/mysql-2.7 for inspection.
ruby extconf.rb install mysql\nchecking for mysql_query() in
mysqlclient.lib... no
checking for main() in m.lib... yes
checking for mysql_query() in mysqlclient.lib... no
checking for main() in z.lib... no
checking for mysql_query() in mysqlclient.lib... no
checking for main() in socket.lib... no
checking for mysql_query() in mysqlclient.lib... no
checking for main() in nsl.lib... no
checking for mysql_query() in mysqlclient.lib... no
Background info:
Windows XP
Ruby 1.8.4 installed OK
MySQL 2.7 gem
MySQL 5.0.18 installed OK (I created tables, inserted data, all
OK) directory is C:\ent\mysql
Ruby on Rails 1.0 installed OK
After installing MySQL from installer, I noticed that MySQL did not
install a /lib and /include directories. I then downloaded the zip
version of MySQL which contained these diectories and added them, all
to no avail - I still get the error above.
BTW I have dowloaded the gem file and run it from a 'temp' directory. I
have tried running ruby extconf.rb with various options, all with not
luck
Any ideas ?
( I am going to download InstantRails and try that - whilst I am a big
fan of Ruby this whole RoR install/demo process needs more polishing)
If i have missed anything out, I am happy to give more details.
Regards,
Serge
I have downloaded and installed Ruby on Rails and started on the
ONLamp tutorial (cookbook), all went well and RoR installed OK. My
installation of MySql gem file failed with error:
ERROR: Error installing gem mysql[.gem]: ERROR: Failed to build gem
native extension.
Gem files will remain installed in
C:/ruby/lib/ruby/gems/1.8/gems/mysql-2.7 for inspection.
ruby extconf.rb install mysql\nchecking for mysql_query() in
mysqlclient.lib... no
checking for main() in m.lib... yes
checking for mysql_query() in mysqlclient.lib... no
checking for main() in z.lib... no
checking for mysql_query() in mysqlclient.lib... no
checking for main() in socket.lib... no
checking for mysql_query() in mysqlclient.lib... no
checking for main() in nsl.lib... no
checking for mysql_query() in mysqlclient.lib... no
Background info:
Windows XP
Ruby 1.8.4 installed OK
MySQL 2.7 gem
MySQL 5.0.18 installed OK (I created tables, inserted data, all
OK) directory is C:\ent\mysql
Ruby on Rails 1.0 installed OK
After installing MySQL from installer, I noticed that MySQL did not
install a /lib and /include directories. I then downloaded the zip
version of MySQL which contained these diectories and added them, all
to no avail - I still get the error above.
BTW I have dowloaded the gem file and run it from a 'temp' directory. I
have tried running ruby extconf.rb with various options, all with not
luck
Any ideas ?
( I am going to download InstantRails and try that - whilst I am a big
fan of Ruby this whole RoR install/demo process needs more polishing)
If i have missed anything out, I am happy to give more details.
Regards,
Serge