Skip to content

Instantly share code, notes, and snippets.

@brianmario
Created March 31, 2011 06:29
Show Gist options
  • Save brianmario/895909 to your computer and use it in GitHub Desktop.
Save brianmario/895909 to your computer and use it in GitHub Desktop.
➜ mysql2.git git:(0.2.x) ✗ ruby --version
ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin10.6.0], MBARI 0x6770, Ruby Enterprise Edition 2011.03
➜ mysql2.git git:(0.2.x) ✗ rake cross native gem RUBY_CC_VERSION=1.8.7:1.9.2
(in /Users/brianmario/Sites/opensource/mysql2.git)
cd tmp/x86-mswin32-60/mysql2/1.8.7
/Users/brianmario/.rvm/rubies/ree-1.8.7-2011.03/bin/ruby -I. -rfake ../../../../ext/mysql2/extconf.rb --with-mysql-include=/Users/brianmario/Sites/opensource/mysql2.git/vendor/mysql-5.1.56-win32/include --with-mysql-lib=/Users/brianmario/Sites/opensource/mysql2.git/vendor/mysql-5.1.56-win32/lib/opt
checking for rb_thread_blocking_region()... no
checking for main() in -llibmysql... no
*** ../../../../ext/mysql2/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
--without-make-prog
--srcdir=../../../../ext/mysql2
--curdir
--ruby=/Users/brianmario/.rake-compiler/ruby/ruby-1.8.7/bin/ruby
--with-mysql-dir
--without-mysql-dir
--with-mysql-include=${mysql-dir}/include
--with-mysql-lib=${mysql-dir}/lib
--with-libmysqllib
--without-libmysqllib
rake aborted!
Command failed with status (1): [/Users/brianmario/.rvm/rubies/ree-1.8.7-20...]
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment