From tom at grushka.com Wed May 6 05:14:58 2009 From: tom at grushka.com (Tom Grushka) Date: Wed, 06 May 2009 03:14:58 -0600 Subject: [Swiftiply-users] ERROR: Failed to build gem native extension Message-ID: <4A015512.1070100@grushka.com> Anyone know why I can't install swiftiply on Debian Lenny? Getting build errors like: mapper.cpp:53: error: ?strerror? was not declared in this scope $ gem install swiftiply 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 checking for main() in -lpthread... yes checking for sys/epoll.h... yes checking for main() in -lssl... yes checking for main() in -lcrypto... yes checking for openssl/ssl.h... yes checking for openssl/err.h... yes creating Makefile make g++ -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -DHAVE_SYS_EPOLL_H -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_ERR_H -D_FILE_OFFSET_BITS=64 -DOS_UNIX -DBUILD_FOR_RUBY -DHAVE_EPOLL -DWITH_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] Error 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 ***** CONFIG ***** $ gem -v 1.3.3 $ gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-cld --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.3.2 (Debian 4.3.2-1.1) $ cat /etc/debian_version 5.0.1 $ gem list *** LOCAL GEMS *** actionmailer (2.3.2) actionpack (2.3.2) activerecord (2.3.2) activeresource (2.3.2) activesupport (2.3.2) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) eventmachine (0.12.6) fastthread (1.0.7) gem_plugin (0.2.3) god (0.7.13) mongrel (1.1.5) mysql (2.7) rack (1.0.0) radiant (0.7.1) rails (2.3.2) rake (0.8.4) rspec (1.2.6) rspec-rails (1.2.6) test-unit (2.0.2) thin (1.2.1) Thanks!!