buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ed Smiley <>
Subject Can't build on Linux
Date Wed, 07 Mar 2012 01:40:44 GMT

I was supporting another developer in getting Buildr up and running.
So I am trying to assemble a _working_ plan of installation for supported
operating systems.

So that I have a box I can mess around with and reproduce, I am starting
with our standard Linux image brought up with Java, Ruby and one of our
gems on AWS.
$uname -a
Linux [server name suppressed] 2.6.32-220.2.1.el6.x86_64 #1 SMP Thu Dec 22
11:15:52 CST 2011 x86_64 x86_64 x86_64 GNU/Linux

If I do

0. $ sudo yum install ruby rubygems ruby-devel gcc

1. $ ls -l `which java`

     lrwxrwxrwx. 1 root root 22 Mar  6 19:50 /usr/bin/java ->

   $ ls -l /etc/alternatives/java

     lrwxrwxrwx. 1 root root 26 Mar  6 19:50 /etc/alternatives/java ->

2. $ JAVA_HOME=/usr/java/default

   $ export JAVA_HOME

3. $ sudo env JAVA_HOME=$JAVA_HOME gem install buildr

I get

ERROR:  Error installing buildr:

ERROR: Failed to build gem native extension.

        /usr/bin/ruby extconf.rb

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


javah -classpath ../data/rjb

make: javah: Command not found

make: *** [jp_co_infoseek_hp_arton_rjb_RBridge.h] Error 127

Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/rjb-1.3.3
for inspection.

Results logged to /usr/lib/ruby/gems/1.8/gems/rjb-1.3.3/ext/gem_make.out

Any suggestions?  I have tried bringing up this machine with and without
using the canned Buildr Linux installation script, and with and without the
update of ruby rubygems ruby-devel gcc.

Ed Smiley, Software Architect Sr
*e*brary | 410 Cambridge Avenue| Palo Alto, CA 94306 USA |
*e*brary is a member of the ProQuest family of companies.
*ProQuest*...Start Here.  2011 InformationWeek Top Innovator

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message