gem install do_sqlite3
try it
On Nov 11, 1:41 am, José Valim <[EMAIL PROTECTED]> wrote:
> I couldn't install do_mysql on Windows.
> Any help?
>
> >gem install do_mysql
>
> Building native extensions. This could take a while...
> ERROR: Error installing do_mysql:
> ERROR: Failed to build gem native extension.
>
> c:/ruby/bin/ruby.exe extconf.rb install do_mysql
> checking for mysql.h... no
> checking for main() in libmysql.lib... no
> checking for mysql_query() in mysql.h... no
> *** extconf.rb failed ***
>
> Could not create Makefile due to some reason, probably lack of
> necessary libraries and/or headers. Check the mkmf.log file for more
> details. You may need configuration options.
>
> Provided configuration options:
> --with-opt-dir
> --without-opt-dir
> --with-opt-include
> --without-opt-include=${opt-dir}/include
> --with-opt-lib
> --without-opt-lib=${opt-dir}/lib
> --with-make-prog
> --srcdir=.
> --curdir
> --ruby=c:/ruby/bin/ruby
> --with-mysql-dir
> --without-mysql-dir
> --with-mysql-include
> --without-mysql-include=${mysql-dir}/include
> --with-mysql-lib
> --without-mysql-lib=${mysql-dir}/lib
> --with-libmysqllib
> --without-libmysqllib
>
> Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/
> do_mysql-0.9.6 for inspection.
> Results logged to c:/ruby/lib/ruby/gems/1.8/gems/do_mysql-0.9.6/ext/
> gem_make.out
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DataMapper" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---