I was finally able to get 1.2.10 as well as 1.3 installed by manually
installing dependencies. It seems the whole problem revolved around
rjb 1.1.3 trying to install and Antwrap which I think? needs rjb.

It was a far from ideal install especially for any new users running
windows. I've installed on Mac/Linux machines and everything seemed to
go much smoother.

Thanks for the help,
Shane

On Mon, May 12, 2008 at 3:10 PM, Assaf Arkin <[EMAIL PROTECTED]> wrote:
> On Mon, May 12, 2008 at 11:57 AM, Alex Boisvert <[EMAIL PROTECTED]>
> wrote:
>
>> Looks like it's not finding jni.h
>>
>> Does your JAVA_HOME environment variable point to a JDK?    Or only a JRE?
>
>
> Before you go down the route trying to verify the build environment ... this
> is a Windows installation.
>
> RJB 1.1.2 correctly downloads the Gem version that includes the Windows DLL,
> RJB 1.1.3 doesn't include it, so the trick would be to find some way to not
> attempt installing RJB 1.1.3.
>
> Long work around for now, is to gem install --ignore-dependencies buildr,
> and separately install the missing dependencies.
>
> We'll need to figure out something better.
>
> Assaf
>
>
>>
>>
>> alex
>>
>>
>> On Mon, May 12, 2008 at 11:51 AM, Shane Witbeck <[EMAIL PROTECTED]>
>> wrote:
>>
>> > Here's the latest...
>> >
>> > C:\>gem install rjb -v 1.1.2
>> > Bulk updating Gem source index for: http://gems.rubyforge.org/
>> > Successfully installed rjb-1.1.2-x86-mswin32-60
>> > 1 gem installed
>> >
>> > C:\>gem install buildr -v 1.2.10
>> > Bulk updating Gem source index for: http://gems.rubyforge.org/
>> > Building native extensions.  This could take a while...
>> > ERROR:  Error installing buildr:
>> >        ERROR: Failed to build gem native extension.
>> >
>> > c:/ruby/bin/ruby.exe extconf.rb install buildr -v 1.2.10
>> > checking for jni.h... no
>> > *** 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
>> >        --srcdir=.
>> >        --curdir
>> >         --ruby=c:/ruby/bin/ruby
>> >
>> >
>> > Gem files will remain installed in
>> > c:/ruby/lib/ruby/gems/1.8/gems/rjb-1.1.3 for inspection
>> > .
>> > Results logged to
>> > c:/ruby/lib/ruby/gems/1.8/gems/rjb-1.1.3/ext/gem_make.out
>> >
>> > C:\>
>> >
>> > On Mon, May 12, 2008 at 2:04 PM, Assaf Arkin <[EMAIL PROTECTED]> wrote:
>> > > RJB 1.1.3 won't install on Windows, but 1.1.2 works just fine, actually
>> > any
>> > > 1.1.x version of RJB is good.
>> > >
>> > > Assaf
>> > >
>> > > On Mon, May 12, 2008 at 10:59 AM, Shane Witbeck <
>> > [EMAIL PROTECTED]>
>> > > wrote:
>> > >
>> > >> I'm trying to do a fresh install of Buildr version 1.2.10 with MRI. Is
>> > >> there a trick to getting rjb installed on windows?
>> > >>
>> > >> C:\>gem install buildr -v 1.2.10
>> > >> Bulk updating Gem source index for: http://gems.rubyforge.org/
>> > >> Building native extensions.  This could take a while...
>> > >> ERROR:  Error installing buildr:
>> > >>        ERROR: Failed to build gem native extension.
>> > >>
>> > >> C:/ruby/bin/ruby.exe extconf.rb install buildr -v 1.2.10
>> > >> checking for jni.h... no
>> > >> *** 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
>> > >>        --srcdir=.
>> > >>        --curdir
>> > >>        --ruby=C:/ruby/bin/ruby
>> > >>
>> > >>
>> > >> Gem files will remain installed in
>> > >> C:/ruby/lib/ruby/gems/1.8/gems/rjb-1.1.3 for inspection
>> > >> .
>> > >> Results logged to
>> > C:/ruby/lib/ruby/gems/1.8/gems/rjb-1.1.3/ext/gem_make.out
>> > >>
>> > >> --
>> > >> -Shane
>> > >>
>> > >
>> >
>> >
>> >
>> > --
>> > -Shane
>> >
>>
>
>
>
> --
> CTO, Intalio
> http://www.intalio.com
>



-- 
-Shane

Reply via email to