Appears to be on RubyForge, and isn''t working for me: $ irb -rubygems -reventmachine /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': no such file to load -- rubyeventmachine (LoadError) from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'' from /var/lib/gems/1.8/gems/eventmachine-0.9.0 /lib/eventmachine.rb:59 -- Tony Arcieri ClickCaster, Inc. tony at clickcaster.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/eventmachine-talk/attachments/20070918/f0e95374/attachment.html
On 9/18/07, Tony Arcieri <tony at clickcaster.com> wrote:> > Appears to be on RubyForge, and isn''t working for me: > > $ irb -rubygems -reventmachine > /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': > no such file to load -- rubyeventmachine (LoadError) > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'' > from /var/lib/gems/1.8/gems/eventmachine-0.9.0 > /lib/eventmachine.rb:59Were you able to download and compile either the gem or the tarball? I tried your irb line and it worked. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/eventmachine-talk/attachments/20070918/9578967e/attachment.html
Hmm, correct, I didn''t have g++ installed, but that didn''t kill the build for whatever reason... Building native extensions. This could take a while... make: g++: Command not found make: *** [page.o] Error 127 make: g++: Command not found make: *** [page.o] Error 127 ruby extconf.rb install eventmachine checking for main() in -lpthread... yes checking for sys/epoll.h... yes checking for main() in -lcrypto... no creating Makefile make g++ -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -DHAVE_SYS_EPOLL_H -I/include/include -DOS_UNIX -DBUILD_FOR_RUBY -DHAVE_EPOLL -DWITHOUT_SSL -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC -c page.cpp make install ... On 9/18/07, Francis Cianfrocca <garbagecat10 at gmail.com> wrote:> > On 9/18/07, Tony Arcieri <tony at clickcaster.com> wrote: > > > > Appears to be on RubyForge, and isn''t working for me: > > > > $ irb -rubygems -reventmachine > > /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in > > `gem_original_require'': no such file to load -- rubyeventmachine (LoadError) > > > > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in > > `require'' > > from /var/lib/gems/1.8/gems/eventmachine-0.9.0 > > /lib/eventmachine.rb:59 > > > > Were you able to download and compile either the gem or the tarball? I > tried your irb line and it worked. > > > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk >-- Tony Arcieri ClickCaster, Inc. tony at clickcaster.com 720-227-0129 ext. 202 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/eventmachine-talk/attachments/20070918/8deb8e35/attachment-0001.html
On 9/18/07, Tony Arcieri <tony at clickcaster.com> wrote:> > Hmm, correct, I didn''t have g++ installed, but that didn''t kill the build > for whatever reason...Is there a way to munge the extconf.rb so it will do something more intelligible in case there''s no compiler? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/eventmachine-talk/attachments/20070918/cad150d7/attachment.html
This is total shit, but one can do this: c_compiler = find_executable(cc_command.split('' '')[0]) if !c_compiler puts "No compiler found" exit end On 9/18/07, Francis Cianfrocca <garbagecat10 at gmail.com> wrote:> On 9/18/07, Tony Arcieri <tony at clickcaster.com> wrote: > > Hmm, correct, I didn''t have g++ installed, but that didn''t kill the build > for whatever reason... > > > Is there a way to munge the extconf.rb so it will do something more > intelligible in case there''s no compiler? > > > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk >-- Let them talk of their oriental summer climes of everlasting conservatories; give me the privilege of making my own summer with my own coals. http://blog.gnufied.org
On 9/18/07, hemant <gethemant at gmail.com> wrote:> > This is total shit, but one can do this: > > c_compiler = find_executable(cc_command.split('' '')[0]) > if !c_compiler > puts "No compiler found" > exit > endWould it be easier to just read the return value from make? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/eventmachine-talk/attachments/20070918/198da615/attachment.html