raindrops RubyGem user+dev discussion/patches/pulls/bugs/help
 help / Atom feed
* failed install raindrops on mac osx 10.5.8
@ 2011-08-02  4:46 ferriswheel
  2011-08-02 21:57 ` Eric Wong
  0 siblings, 1 reply; 2+ messages in thread
From: ferriswheel @ 2011-08-02  4:46 UTC (permalink / raw)
  To: raindrops

hello,

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:
>         --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=/Users/john/.rvm/rubies/ruby-1.9.2-head/bin/ruby
>         --with-atomic_ops-dir
>         --without-atomic_ops-dir
>         --with-atomic_ops-include
>         --without-atomic_ops-include=${atomic_ops-dir}/include
>         --with-atomic_ops-lib
>         --without-atomic_ops-lib=${atomic_ops-dir}/lib
>
>
> 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 /Users/john/.rvm/gems/ruby-1.9.2-head/gems/raindrops-0.7.0/ext/raindrops/gem_make.out
> 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.

regards

john


^ permalink raw reply	[flat|threaded] 2+ messages in thread

* Re: failed install raindrops on mac osx 10.5.8
  2011-08-02  4:46 failed install raindrops on mac osx 10.5.8 ferriswheel
@ 2011-08-02 21:57 ` Eric Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2011-08-02 21:57 UTC (permalink / raw)
  To: raindrops

ferriswheel <ferriswheel@jetechserv.com> 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.

-- 
Eric Wong


^ permalink raw reply	[flat|threaded] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-02  4:46 failed install raindrops on mac osx 10.5.8 ferriswheel
2011-08-02 21:57 ` Eric Wong

raindrops RubyGem user+dev discussion/patches/pulls/bugs/help

Archives are clonable:
	git clone --mirror https://bogomips.org/raindrops-public
	git clone --mirror http://ou63pmih66umazou.onion/raindrops-public

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.raindrops
	nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.raindrops

 note: .onion URLs require Tor: https://www.torproject.org/
       or Tor2web: https://www.tor2web.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox