Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JRuby 1.7.0.pre1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux golly-desktop 3.3.2-1-ARCH #1 SMP PREEMPT Sat Apr 14 09:48:37 CEST 2012 x86_64 Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz GenuineIntel GNU/Linux
    • Number of attachments :
      0

      Description

      Hello!

      I'm trying to install JRuby 1.7 via ruby-build via rbenv and it's failing with this error:

      > rbenv install jruby-1.7.0-dev
      Downloading http://ci.jruby.org/snapshots/1.7.x/jruby-bin-1.7.0.dev.tar.gz...
      Installing jruby-1.7.0.dev...
      
      BUILD FAILED
      
      Inspect or clean up the working tree at /tmp/ruby-build.20120418135527.24211
      Results logged to /tmp/ruby-build.20120418135527.24211.log
      
      Last 10 log lines:
      argparser.cpp:163:57: error: 'getcwd' was not declared in this scope
      make[2]: *** [build/unix/Linux/argparser.o] Error 1
      make[2]: Leaving directory `/home/golly/.rbenv/versions/jruby-1.7.0-dev/lib/ruby/gems/shared/gems/jruby-launcher-1.0.12-java'
      make[1]: *** [.build-conf] Error 2
      make[1]: Leaving directory `/home/golly/.rbenv/versions/jruby-1.7.0-dev/lib/ruby/gems/shared/gems/jruby-launcher-1.0.12-java'
      make: *** [.build-impl] Error 2
      
      
      Gem files will remain installed in /home/golly/.rbenv/versions/jruby-1.7.0-dev/lib/ruby/gems/shared/gems/jruby-launcher-1.0.12-java for inspection.
      Results logged to /home/golly/.rbenv/versions/jruby-1.7.0-dev/lib/ruby/gems/shared/gems/jruby-launcher-1.0.12-java/./gem_make.out
      



      It turns out that the following files:

      • argparser.cpp
      • unixlauncher.cpp
      • utilsfuncs.cpp
        are missing the following include:
        #include <unistd.h>
        

        Activity

          People

          • Assignee:
            Nick Sieger
            Reporter:
            David Barri
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 5 minutes
              5m
              Remaining:
              Remaining Estimate - 5 minutes
              5m
              Logged:
              Time Spent - Not Specified
              Not Specified