You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Bradley Dwyer (JIRA)" <ji...@apache.org> on 2009/12/09 04:14:18 UTC

[jira] Commented: (BUILDR-340) Install script fails on Mac OSX Snow Leopard

    [ https://issues.apache.org/jira/browse/BUILDR-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787891#action_12787891 ] 

Bradley Dwyer commented on BUILDR-340:
--------------------------------------

Experiencing the same problem. I had this problem about 2 months ago (on a previous SL install). I did manage to get buildr installed but I unfortunately do not remember what steps I took to get there.

With a clean SL install, I once again am unable to get buildr running (although I've put little effort into it beyond running the steps identified on the install notes page).

> Install script fails on Mac OSX Snow Leopard
> --------------------------------------------
>
>                 Key: BUILDR-340
>                 URL: https://issues.apache.org/jira/browse/BUILDR-340
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3.5
>         Environment: Macbook running Snow Leopard.  No MacPorts or Fink installed.  ruby is the OSs original version : ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0] 
>            Reporter: David Parks
>
> The install script on the installing page:
> http://buildr.apache.org/installing.html#osx
> fails with the following output:
> ---------------------------------
> Setting JAVA_HOME
> Installing the latest version of Buildr
> Building native extensions.  This could take a while...
> ERROR:  Error installing buildr:
> 	ERROR: Failed to build gem native extension.
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install buildr
> mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h
> Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/rjb-1.1.9 for inspection.
> Results logged to /Library/Ruby/Gems/1.8/gems/rjb-1.1.9/ext/gem_make.out
> install-osx.sh: line 52: buildr: command not found
> ---------------------------------
> The install-jruby.sh script fails due to a command that does not exist on mac, wget (it is available via DarwinPorts but not part of the original OS).  This is the output:
> ---------------------------------
> Installing JRuby 1.1.6 in /opt/jruby
> install-jruby.sh: line 21: wget: command not found
> install-jruby.sh: line 22: jruby-bin-1.1.6.tar.gz: No such file or directory
> mv: rename jruby-1.1.6 to /opt/jruby: No such file or directory
> rm: jruby-bin-1.1.6.tar.gz: No such file or directory
> Installing the latest version of Buildr
> sudo: jruby: command not found
> install-jruby.sh: line 44: jruby: command not found
> ---------------------------------
> (My guess is that the second script isn't intended for OSX... but it doesn't mention that it is Linux-only.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.