# Can not install swiftiply

**URL:** <https://www.ruby-forum.com/t/can-not-install-swiftiply/189016>\
**Category:** Ruby\
**Created:** [May 22, 2010, 1:02am UTC](https://www.ruby-forum.com/t/can-not-install-swiftiply/189016 "2010-05-22T01:02:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![steux](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d26b3c/32.png) [@steux](https://www.ruby-forum.com/u/steux)\
**Post date:** [May 22, 2010, 1:02am UTC](https://www.ruby-forum.com/t/can-not-install-swiftiply/189016/1 "2010-05-22T01:02:30Z")

</div>

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?
