buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rp.andrew.moore" <rp.andrew.mo...@gmail.com>
Subject Re: Installing Buildr on Solaris
Date Tue, 14 Oct 2008 17:58:35 GMT

Yep, I have my JAVA_HOME set to the JDK... but to no avail. 

Here's what I get whether I try to build rjb from source, or use "gem
install rjb":


# gem install rjb
Select which gem to install for your platform (i386-solaris2.8)
 1. rjb 1.1.6 (x86-mswin32-60)
 2. rjb 1.1.6 (ruby)
 3. rjb 1.1.5 (x86-mswin32-60)
 4. rjb 1.1.5 (ruby)
 5. Skip this gem
 6. 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 rjb
checking for jni.h... yes
checking for dl.h... yes
checking for locale_charset() in iconv.h... no
checking for nl_langinfo() in langinfo.h... yes
checking for setlocale() in locale.h... yes
checking for getenv()... yes
creating extconf.h
creating Makefile

make
javah -classpath ../data/rjb jp.co.infoseek.hp.arton.rjb.RBridge
cc -I. -I. -I/opt/csw/lib/ruby/1.8/i386-solaris2.8 -I. -I/usr/java/include
-I/usr/java/include/solaris -DRUBY_EXTCONF_H=\"extconf.h\" 
-I/opt/csw/include -I/opt/csw/include -KPIC -xO3 -xarch=386 -xspace -xildoff
-I/opt/csw/include -I/opt/csw/include   -KPIC -I/usr/java/include
-I/usr/java/include/solaris  -c load.c
"/opt/csw/lib/ruby/1.8/i386-solaris2.8/config.h", line 16: warning: macro
redefined: _FILE_OFFSET_BITS
"jniwrap.h", line 17: warning: invalid white space character in directive
"jniwrap.h", line 18: warning: invalid white space character in directive
"jniwrap.h", line 19: warning: invalid white space character in directive
"jniwrap.h", line 21: warning: invalid white space character in directive
"jniwrap.h", line 23: warning: invalid white space character in directive
"jniwrap.h", line 25: warning: invalid white space character in directive
"jniwrap.h", line 27: warning: invalid white space character in directive
"jniwrap.h", line 29: warning: invalid white space character in directive
"jniwrap.h", line 31: warning: invalid white space character in directive
"jniwrap.h", line 32: warning: invalid white space character in directive
"load.c", line 145: undefined symbol: ARCH
"load.c", line 145: warning: improper pointer/integer combination: arg #1
"load.c", line 218: warning: assignment type mismatch:
        pointer to void "=" pointer to function(pointer to pointer to const
struct JNINativeInterface_ {pointer to void reserved0, pointer to void
reserved1, pointer to void reserved2, pointer to void reserved3, pointer to
function(..) returning int GetVersion.... (prints out a lot of stuff)...
...
cc: acomp failed for load.c
make: *** [load.o] Error 2




I have no idea what load.c is, but that seems to be what it is hung up on.
I get the exact same thing when I download the 1.1.6 source and try to
compile it using ruby.

Any ideas? 


-- 
View this message in context: http://n2.nabble.com/Installing-Buildr-on-Solaris-tp1330792p1333607.html
Sent from the Apache Buildr - User mailing list archive at Nabble.com.


Mime
View raw message