jimmykane/The-Three-Little-Pigs-Siri-Proxy — Issue #212: Need Help installing SiriProxy Gem
Author: BDANG
Created: 2012-03-05 22:47:08+00:00
State: open

Whenever i cd the the folder and do "rake install" it tells me to install by using its directory so this is what i did:

rvmsudo gem install /home/brian/The-Three-Little-Pigs-Siri-Proxy/pkg/siriproxy-0.9.9.gem
Building native extensions. This could take a while...
ERROR: Error installing /home/brian/The-Three-Little-Pigs-Siri-Proxy/pkg/siriproxy-0.9.9.gem:
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb
checking for socket() in -lsocket... no
checking for gethostbyname() in -lnsl... yes
checking for atan() in -lm... no
checking for atan() in -lm... yes
checking for inflate() in -lz... no
checking for inflate() in -lzlib... no
checking for inflate() in -lzlib1... no
checking for inflate() in -llibz... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/ruby1.8
--with-iconv-dir
--without-iconv-dir
--with-iconv-include
--without-iconv-include=${iconv-dir}/include
--with-iconv-lib
--without-iconv-lib=${iconv-dir}/lib
--with-zlib-dir
--without-zlib-dir
--with-zlib-include
--without-zlib-include=${zlib-dir}/include
--with-zlib-lib
--without-zlib-lib=${zlib-dir}/lib
--with-socketlib
--without-socketlib
--with-nsllib
--without-nsllib
--with-mlib
--without-mlib
--with-mlib
--without-mlib
--with-zlib
--without-zlib
--with-zliblib
--without-zliblib
--with-zlib1lib
--without-zlib1lib
--with-libzlib
--without-libzlib
extconf failure: need zlib

Gem files will remain installed in /var/lib/gems/1.8/gems/libxml-ruby-2.2.2 for inspection.
Results logged to /var/lib/gems/1.8/gems/libxml-ruby-2.2.2/ext/libxml/gem_make.out

HOW DO I INSTALL ZLIB? Trust me, ive searched the internet and cannot find straight forward info.

I also have tried installing with a 64-bit ubuntu 11.10, and i get to "rvm 1.9.3 do rake install" and it says the siriproxy gem is installed, but whenever i try "siriproxy gencerts" it says the siriproxy command is unknown (bad install of the gem right??)

please help with either situation