Created
February 23, 2012 14:57
-
-
Save owenthereal/1893182 to your computer and use it in GitHub Desktop.
error when installing posix-spawn gem with JRuby 1.6.7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Installing posix-spawn (0.3.6) with native extensions | |
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. | |
/Users/Owen/.rvm/rubies/jruby-1.6.7/bin/jruby extconf.rb | |
WARNING: JRuby does not support native extensions or the `mkmf' library very well. | |
Check http://kenai.com/projects/jruby/pages/Home for alternatives. | |
creating Makefile | |
make | |
cc -I. -I/Users/Owen/.rvm/rubies/jruby-1.6.7/lib/native/include -I/Users/Owen/.rvm/rubies/jruby-1.6.7/lib/native/include/ruby -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fPIC -DTARGET_RT_MAC_CFM=0 -fno-omit-frame-pointer -fno-strict-aliasing -fexceptions -Wall -arch i386 -c posix-spawn.c | |
cc -dynamic -bundle -undefined dynamic_lookup -o posix_spawn_ext.bundle posix-spawn.o -L"." -L"/Users/Owen/.rvm/rubies/jruby-1.6.7/lib" -bundle -framework JavaVM -Wl,-syslibroot, -mmacosx-version-min=10.5 -arch i386 | |
ld: library not found for -lbundle1.o | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
make: *** [posix_spawn_ext.bundle] Error 1 | |
Gem files will remain installed in /Users/Owen/.rvm/gems/jruby-1.6.7/gems/posix-spawn-0.3.6 for inspection. | |
Results logged to /Users/Owen/.rvm/gems/jruby-1.6.7/gems/posix-spawn-0.3.6/ext/gem_make.out | |
An error occured while installing posix-spawn (0.3.6), and Bundler cannot continue. | |
Make sure that `gem install posix-spawn -v '0.3.6'` succeeds before bundling. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@jingweno same thing running on 32bits - I couldn't reproduce
please fill a JIRA: http://bugs.jruby.org