From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6939 64.71.128.0/18 X-Spam-Status: No, score=-0.9 required=3.0 tests=AWL,BAYES_00,FREEMAIL_FROM, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Anjana Sarkar Newsgroups: gmane.comp.lang.ruby.raindrops.general Subject: Rainbow gem install on solaris failed Date: Thu, 19 Jan 2012 07:53:34 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: dough.gmane.org 1326977632 7684 80.91.229.12 (19 Jan 2012 12:53:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 19 Jan 2012 12:53:52 +0000 (UTC) To: raindrops@librelist.org Original-X-From: raindrops@librelist.org Thu Jan 19 13:53:45 2012 Return-path: Envelope-to: gclrrg-raindrops@m.gmane.org List-Archive: List-Help: List-Id: List-Post: List-Subscribe: List-Unsubscribe: Precedence: list Original-Sender: raindrops@librelist.org Xref: news.gmane.org gmane.comp.lang.ruby.raindrops.general:57 Archived-At: Received: from zedshaw.xen.prgmr.com ([64.71.167.205]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RnrUu-0007QF-Le for gclrrg-raindrops@m.gmane.org; Thu, 19 Jan 2012 13:53:45 +0100 Received: from zedshaw.xen.prgmr.com (localhost [IPv6:::1]) by zedshaw.xen.prgmr.com (Postfix) with ESMTP id EE0FD21CEBB for ; Thu, 19 Jan 2012 12:58:27 +0000 (UTC) Content-Transfer-Encoding: 7bit X-Content-Filtered-By: PublicInbox::Filter 0.0.1 >>gem install raindrops -l raindrops-0.8.0.gem Building native extensions. This could take a while... ERROR: Error installing raindrops: ERROR: Failed to build gem native extension. /bb/web/ruby-1.8.7-p174/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()... no 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/ gem install raindrops -l raindrops-0.8.0.gem Building native extensions. This could take a while... ERROR: Error installing raindrops: ERROR: Failed to build gem native extension. /bb/web/ruby-1.8.7-p174/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()... no 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=/bb/web/ruby-1.8.7-p174/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 /bb/web/ruby-1.8.7-p174/lib/ruby/gems/1.8/gems/raindrops-0.8.0 for inspection. Results logged to /bb/data3/web/ruby-1.8.7-p174/lib/ruby/gems/1.8/gems/raindrops-0.8.0/ext/raindrops/gem_make.out *I do have gcc 4+ installed , how do I tell mkmf to use that?* *mkmf.log shows it is using /opt/SUNWspro12/bin/cc* *$gcc -v Using built-in specs. Target: sparc-sun-solaris2.10 Configured with: ../gcc-4.3.5/configure --prefix=/opt/swt/install/gcc-4.3.5 --with-gmp-lib=/opt/swt/lib --with-gmp-include=/opt/swt/include Thread model: posix gcc version 4.3.5 (GCC) * * * *$ uname -a SunOS sundev1 5.10 142900-02 sun4v sparc SUNW,T5240 * Thanks in advance, Anjana -- Anjana Sarkar Address - 9 Sally Court, Bridgewater, NJ-08807 732-979-5219(mobile)