failed install raindrops on mac osx 10.5.8
- 2011-08-02 @ 04:46
whilst doing 'gem update' raindrops, a requirement for unicorn, i got this result.
> $ gem update
> Updating installed gems
> Updating unicorn
> Building native extensions. This could take a while...
> ERROR: Error installing unicorn:
> ERROR: Failed to build gem native extension.
> /Users/john/.rvm/rubies/ruby-1.9.2-head/bin/ruby extconf.rb
> checking for mmap() in sys/mman.h... yes
> checking for munmap() in sys/mman.h... yes
> checking for mremap() in sys/mman.h... no
> checking for getpagesize() in unistd.h... yes
> checking for rb_thread_blocking_region()... yes
> checking for rb_thread_io_blocking_region()... no
> checking for GCC 4+ atomic builtins... no
> checking for atomic_ops.h... no
> libatomic_ops is required if GCC 4+ is not used.
> See http://www.hpl.hp.com/research/linux/atomic_ops/
> Users of Debian-based distros may run:
> apt-get install libatomic-ops-dev
> *** 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:
> Gem files will remain installed in
/Users/john/.rvm/gems/ruby-1.9.2-head/gems/raindrops-0.7.0 for inspection.
> Results logged to
> Nothing to update
the same error occurs with manual install from the raindrop tarball.
rvm 1.6.25 is installed. OS is mac osx 10.5.8.
Re: [raindrops] failed install raindrops on mac osx 10.5.8
- Eric Wong
- 2011-08-02 @ 21:57
ferriswheel <firstname.lastname@example.org> wrote:
> > checking for GCC 4+ atomic builtins... no
> > checking for atomic_ops.h... no
> > libatomic_ops is required if GCC 4+ is not used.
> > See http://www.hpl.hp.com/research/linux/atomic_ops/
> the same error occurs with manual install from the raindrop tarball.
> rvm 1.6.25 is installed. OS is mac osx 10.5.8.
I cannot support non-Free OSes, but you should check that error message
again and see if GCC4 is used or install the atomic_ops library.
I have heard of newer OSX use a LLVM-based compiler that's not 100%
compatible with Ruby 1.9 itself, either.
Maybe somebody else on this list has more knowledge of non-Free OSes.