Hi all
I'm trying to follow this guide:
http://wiki.rubyonrails.org/rails/pages/RailsOnSUSE
And I'm having problem with installing fcgi using gems (I'm logged in as
root):
koelsch:/home/josh # gem install fcgi
Attempting local installation of 'fcgi'
Local gem file not found: fcgi*.gem
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/lib/ruby/gems/1.8/gems/fcgi-0.8.7 for inspection.
ruby extconf.rb install fcgi\nchecking for fcgiapp.h... no
checking for fastcgi/fcgiapp.h... no
Results logged to
/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/ext/fcgi/gem_make.out
In addition I wasn't able yet to install apache2-mod_fastcgi, but I
don't think this is responsible for this behavior?
Thanks for help.
Josh
···
--
Posted via http://www.ruby-forum.com/.
And I'm having problem with installing fcgi using gems (I'm logged in as
root):
koelsch:/home/josh # gem install fcgi
Attempting local installation of 'fcgi'
Local gem file not found: fcgi*.gem
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/lib/ruby/gems/1.8/gems/fcgi-0.8.7 for inspection.
ruby extconf.rb install fcgi\nchecking for fcgiapp.h... no
checking for fastcgi/fcgiapp.h... no
It's trying to link against the C fastcgi development kit. You can download
this from http://www.fastcgi.com/#TheDevKit and build it (or else your base
system may have this available as a pre-built binary)
I believe the ruby fcgi package does include a pure-ruby implementation,
which it's supposed to use as a fallback, but I suspect the gem packaging
hasn't allowed for this.
In addition I wasn't able yet to install apache2-mod_fastcgi, but I
don't think this is responsible for this behavior?
No it's unrelated. I recommend you use apache2-mod_fcgid though anyway; this
is a drop-in replacement for mod_fastcgi which is actually being maintained.
Brian.
···
On Fri, Mar 23, 2007 at 07:43:37PM +0900, Joshua Muheim wrote:
This might help u.....
gem install fcgi -- --with-fcgi-include=FCGIINSTALLPATH/include
–with-fcgi-lib=FCGIINSTALLPATH/lib
···
--
Posted via http://www.ruby-forum.com/.