David Barri created JRUBY-6609:
----------------------------------

             Summary: #include missing, won't compile
                 Key: JRUBY-6609
                 URL: https://jira.codehaus.org/browse/JRUBY-6609
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.7
         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

            Reporter: David Barri
            Assignee: Thomas E Enebo


Hello!

I'm trying to install JRuby 1.7 via ruby-build via rbenv and it's failing with 
this error:
{noformat}
> 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
{noformat}

\\ \\
It turns out that the following files:
* {{argparser.cpp}}
* {{unixlauncher.cpp}}
* {{utilsfuncs.cpp}}
are missing the following include:
{noformat}
#include <unistd.h>
{noformat}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to