From desport at crdp.ac-versailles.fr Wed Mar 4 04:07:06 2009 From: desport at crdp.ac-versailles.fr (Olivier Desport) Date: Wed, 4 Mar 2009 10:07:06 +0100 (CET) Subject: [Swiftiply-users] Error installing swiftiply In-Reply-To: <1118957103.22331236157404493.JavaMail.root@zig> Message-ID: <1412437948.22351236157626691.JavaMail.root@zig> Hello, Here is the error when I try to install swiftiply : gem install swiftiply --include-dependencies INFO: `gem install -y` is now default and will be removed INFO: use --ignore-dependencies to install only the gems you list Building native extensions. This could take a while... ERROR: Error installing swiftiply: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb install swiftiply --include-dependencies checking for main() in -lpthread... yes checking for sys/epoll.h... yes checking for main() in -lssl... no creating Makefile make g++ -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -DHAVE_SYS_EPOLL_H -DOS_UNIX -DBUILD_FOR_RUBY -DHAVE_EPOLL -DWITHOUT_SSL -fPIC -fno-strict-aliasing -g -g -O2 -fPIC -c rubymain.cpp g++ -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -DHAVE_SYS_EPOLL_H -DOS_UNIX -DBUILD_FOR_RUBY -DHAVE_EPOLL -DWITHOUT_SSL -fPIC -fno-strict-aliasing -g -g -O2 -fPIC -c mapper.cpp mapper.cpp: In constructor 'Mapper_t::Mapper_t(const std::string&)': mapper.cpp:53: error: 'strerror' was not declared in this scope mapper.cpp:57: error: 'strerror' was not declared in this scope mapper.cpp:62: error: 'strerror' was not declared in this scope make: *** [mapper.o] Erreur 1 Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/swiftiply-0.6.1.1 for inspection. Results logged to /usr/lib/ruby/gems/1.8/gems/swiftiply-0.6.1.1/ext/fastfilereader/gem_make.out ruby:~# kill_mongrel Starting all mongrel_clusters... /usr/local/lib/site_ruby/1.8/rubygems.rb:636:in `report_activate_error': Could not find RubyGem swiftiply (>= 0) (Gem::LoadError) from /usr/local/lib/site_ruby/1.8/rubygems.rb:141:in `activate' from /usr/local/lib/site_ruby/1.8/rubygems.rb:49:in `gem' from /usr/bin/mongrel_rails:18 mongrel_rails cluster::start returned an error. My config is : eventmachine (0.12.4) mongrel (1.1.5) mongrel_cluster (1.0.5) mongrel_console (0.2.1) rails (2.2.2) ruby 1.8.7 Any idea ? Thanks.