From: Bruno Sousa on
Hi everyone!
(Debian Squeeze)
Just can't install swiftiply:
# ruby1.8 -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]

# 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/x86_64-linux -I. -DHAVE_SYS_EPOLL_H
-DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_ERR_H -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
/var/lib/gems/1.8/gems/swiftiply-0.6.1.1 for inspection.
Results logged to
/var/lib/gems/1.8/gems/swiftiply-0.6.1.1/ext/fastfilereader/gem_make.out

what can be happening?
--
Posted via http://www.ruby-forum.com/.

 | 
Pages: 1
Prev: SMPP from Perl to Ruby
Next: How to create the log