I must admit i have not installed xcode yet (still quite a newbie to
OS X)...
Thanks, I will try with all these instructions.
Cheers,
Guillaume Nodet
On Aug 23, 2007, at 1:52 AM, Nicolas Modrzyk wrote:
Hi Guillaume,
Have you followed the instructions on the following page:
http://wiki.rubyonrails.org/rails/pages/HowtoInstallOnOSXTiger
That would take you to a more up to date version of ruby. (The one
by default is pretty old) It also seems that xcode is not installed
on your machine and this is required to compile a few C extensions.
Also, for ease of work, instead of using sudo the whole time you
can install the gems in a local user directory:
http://rubygems.org/read/chapter/3#page83
Hope this helps,
Regards,
Niko
On Aug 23, 2007, at 8:10 AM, Guillaume Nodet wrote:
Could you help me building Ode on Mac ?
Since i switched, I have been unable to install ruby in a way to
works :-(
Here is the output when i run
Guillaume-Nodets-MacPro:~/work/ode/trunk gnodet$ sudo gem install
buildr
Bulk updating Gem source index for: http://gems.rubyforge.org
Install required dependency rjb? [Yn] y
Select which gem to install for your platform (universal-darwin8.0)
1. rjb 1.0.6 (mswin32)
2. rjb 1.0.6 (ruby)
3. Skip this gem
4. Cancel installation
2
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install buildr
checking for jni.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
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/ruby
Gem files will remain installed in
/usr/local/lib/ruby/gems/1.8/gems/rjb-1.0.6 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/rjb-1.0.6/ext/
gem_make.out
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/