Paul Wright
2008-Mar-13 06:25 UTC
[Eventmachine-talk] EventMachine 0.10.0 installation problem on
Hi all, I''m trying to install thin on a sparc Solaris machine but it''s failing on the EventMachine dependency. We''re using the coolstack version of ruby. I''m no Solaris expert but I think something on the build chain is failing as it''s trying to execute commands called I and shared where I think they should be arguments to other commands. (I tried the EventMachine 0.11.0 pre-release mentioned in the thin announcement but got similar errors.) Can anyone shed any light on the errors included below? Is there any other information I should include? Cheers, Paul. [root at sparky rackapp]# gem env RubyGems Environment: - RUBYGEMS VERSION: 1.0.1 (1.0.1) - RUBY VERSION: 1.8.6 (2007-09-23 patchlevel 110) [sparc- solaris2.11] - INSTALLATION DIRECTORY: /opt/coolstack/lib/ruby/gems/1.8 - RUBY EXECUTABLE: /opt/coolstack/bin/ruby - RUBYGEMS PLATFORMS: - ruby - sparc-solaris-2.11 - GEM PATHS: - /opt/coolstack/lib/ruby/gems/1.8 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http://gems.rubyforge.org [root at sparky rackapp]# gem install eventmachine Updating metadata for 14 gems from http://gems.rubyforge.org .............. complete Building native extensions. This could take a while... ERROR: Error installing eventmachine: ERROR: Failed to build gem native extension. /opt/coolstack/bin/ruby extconf.rb install eventmachine checking for main() in -lpthread... yes checking for main() in -lnsl... yes checking for main() in -lsocket... yes checking for main() in -lssl... yes checking for main() in -lcrypto... yes checking for openssl/ssl.h... no creating Makefile make I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c em.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c ssl.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c files.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c binder.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c sigs.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c epoll.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c page.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c emwin.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c rubymain.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c cmain.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c ed.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c cplusplus.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c kb.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c pipe.cpp sh: I.: not found *** Error code 1 (ignored) shared -o rubyeventmachine.so em.o ssl.o files.o binder.o sigs.o epoll.o page.o emwin.o rubymain.o cmain.o ed.o cplusplus.o kb.o pipe.o -L''.'' -L''/opt/coolstack/lib'' -R''/opt/coolstack/lib'' -L. -L /usr/sfw/ lib -R /opt/coolstack/lib -L/opt/coolstack/lib -lruby -lcrypto -lssl - lsocket -lnsl -lpthread -ldl -lcrypt -lm -lc sh: shared: not found *** Error code 1 (ignored) make install I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c em.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c ssl.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c files.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c binder.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c sigs.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c epoll.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c page.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c emwin.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c rubymain.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c cmain.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c ed.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c cplusplus.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c kb.cpp sh: I.: not found *** Error code 1 (ignored) I. -I. -I/opt/coolstack/lib/ruby/1.8/sparc-solaris2.11 -I. -D OS_UNIX - D OS_SOLARIS8 -D BUILD_FOR_RUBY -D WITHOUT_SSL -KPIC -fast -xipo - xtarget=generic -KPIC -c pipe.cpp sh: I.: not found *** Error code 1 (ignored) shared -o rubyeventmachine.so em.o ssl.o files.o binder.o sigs.o epoll.o page.o emwin.o rubymain.o cmain.o ed.o cplusplus.o kb.o pipe.o -L''.'' -L''/opt/coolstack/lib'' -R''/opt/coolstack/lib'' -L. -L /usr/sfw/ lib -R /opt/coolstack/lib -L/opt/coolstack/lib -lruby -lcrypto -lssl - lsocket -lnsl -lpthread -ldl -lcrypt -lm -lc sh: shared: not found *** Error code 1 (ignored) /usr/bin/ginstall -c -m 0755 rubyeventmachine.so /opt/coolstack/lib/ ruby/gems/1.8/gems/eventmachine-0.10.0/lib /usr/bin/ginstall: cannot stat `rubyeventmachine.so'': No such file or directory *** Error code 1 make: Fatal error: Command failed for target `/opt/coolstack/lib/ruby/ gems/1.8/gems/eventmachine-0.10.0/lib/rubyeventmachine.so'' Gem files will remain installed in /opt/coolstack/lib/ruby/gems/1.8/ gems/eventmachine-0.10.0 for inspection. Results logged to /opt/coolstack/lib/ruby/gems/1.8/gems/ eventmachine-0.10.0/ext/gem_make.out
Paul Wright
2008-Mar-13 07:00 UTC
[Eventmachine-talk] EventMachine 0.10.0 installation problem on
On 13/03/2008, Paul Wright <wrighty at gmail.com> wrote:> Hi all, > > I''m trying to install thin on a sparc Solaris machine but it''s failing > on the EventMachine dependency. We''re using the coolstack version of > ruby. I''m no Solaris expert but I think something on the build chain > is failing as it''s trying to execute commands called I and shared > where I think they should be arguments to other commands. > > (I tried the EventMachine 0.11.0 pre-release mentioned in the thin > announcement but got similar errors.) > > Can anyone shed any light on the errors included below? Is there any > other information I should include?Heya, Just a quick got-it-working post. Looking through extconf.rb there was a check for CC=cc, setting this made everything better and I now have thin installed. [root at sparky ~]# export CC=cc [root at sparky ~]# gem install eventmachine Building native extensions. This could take a while... Successfully installed eventmachine-0.10.0 1 gem installed Installing ri documentation for eventmachine-0.10.0... Installing RDoc documentation for eventmachine-0.10.0... Cheers, Paul.