Hello,
Trying to do gem update on my existing system that''s been working fine
for a couple of months. This is what I get:
====================================bash-2.05b# gem update
Upgrading installed gems...
Attempting remote upgrade of fcgi
Attempting remote installation of ''fcgi''
Building native extensions. This could take a while...
ERROR: While executing gem ... (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in
/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1 for inspection.
ruby extconf.rb update\nchecking for fcgiapp.h... no
checking for fastcgi/fcgiapp.h... no
Results logged to
/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/ext/gem_make.out
bash-2.05b# more
/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/ext/gem_make.out
ruby extconf.rb update
checking for fcgiapp.h... no
checking for fastcgi/fcgiapp.h... no
====================================
Any ideas what could be wrong?
Thanks for any help...
--
Posted via http://www.ruby-forum.com/.
GoranTornqvist
2005-Dec-19 19:32 UTC
Re: gem update fails with "checking for fcgiapp.h... no"
solved it... fcgipp.h was in /usr/local/include symlinking to /usr/include solved it. -- Posted via http://www.ruby-forum.com/.
GoranTornqvist wrote:> solved it... > fcgipp.h was in /usr/local/include > symlinking to /usr/include solved it.I do not understand what you mean by ''symlinking'' could you please explain? -- Posted via http://www.ruby-forum.com/.
Marnen Laibow-Koser
2009-Aug-10 15:59 UTC
Re: gem update fails with "checking for fcgiapp.h... no"
Bob Smyph wrote:> GoranTornqvist wrote: >> solved it... >> fcgipp.h was in /usr/local/include >> symlinking to /usr/include solved it. > > > I do not understand what you mean by ''symlinking'' could you please > explain?He made a symbolic link ("symlink") to that file. Since this is an OS concept and not a Rails one, I think I should refer you to Google before we go off topic. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.
Marek Veber
2009-Oct-20 22:37 UTC
Re: gem update fails with "checking for fcgiapp.h... no"
Marnen Laibow-Koser wrote:> Bob Smyph wrote: >> GoranTornqvist wrote: >>> solved it... >>> fcgipp.h was in /usr/local/include >>> symlinking to /usr/include solved it. >> >> >> I do not understand what you mean by ''symlinking'' could you please >> explain? > > He made a symbolic link ("symlink") to that file. Since this is an OS > concept and not a Rails one, I think I should refer you to Google before > we go off topic.In my case the problem was: # cc -E -I. -I/usr/lib/ruby/1.8/i486-linux -I. -fno-strict-aliasing -g -g -O2 -fPIC conftest.c -o conftest.i bash: cc: command not found The solution is to install gcc -- Posted via http://www.ruby-forum.com/.
Marek Veber
2009-Oct-20 22:56 UTC
Re: gem update fails with "checking for fcgiapp.h... no"
Marek Veber wrote:> The solution is to install gccand libc6-dev My case is Ubuntu 8.04.3 LTS (hardy) use: apt-get install rubygems libc6-dev gcc libfcgi-dev ruby1.8-dev gem update gem install rails -y not only: apt-get install rubygems ... -- Posted via http://www.ruby-forum.com/.