Fedora Linux Support Community & Resources Center
  #1  
Old 26th July 2008, 03:40 PM
M4rc0 Offline
Registered User
 
Join Date: Aug 2007
Location: Brasil
Posts: 471
rails: can't install fcgi ?

Hi,

I'm trying to install fcgi gem here, but i keep getting a problem:

Code:
[root@localhost ~]# gem install fcgi
Need to update 2 gems from http://gems.rubyforge.org
..
complete
Building native extensions.  This could take a while...
ERROR:  While executing gem ... (Gem::Installer::ExtensionBuildError)
    ERROR: Failed to build gem native extension.

ruby extconf.rb install fcgi
checking for fcgiapp.h... no
checking for fastcgi/fcgiapp.h... 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/ruby
	--with-fcgi-dir
	--without-fcgi-dir
	--with-fcgi-include
	--without-fcgi-include=${fcgi-dir}/include
	--with-fcgi-lib
	--without-fcgi-lib=${fcgi-dir}/lib


Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/ext/fcgi/gem_make.out
mkmf.log:
Quote:
have_header: checking for fcgiapp.h... -------------------- no

"gcc -E -I. -I/usr/lib/ruby/1.8/i386-linux -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -fPIC conftest.c -o conftest.i"
conftest.c:1:21: error: fcgiapp.h: No such file or directory
checked program was:
/* begin */
1: #include <fcgiapp.h>
/* end */

--------------------

have_header: checking for fastcgi/fcgiapp.h... -------------------- no

"gcc -E -I. -I/usr/lib/ruby/1.8/i386-linux -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -fPIC conftest.c -o conftest.i"
conftest.c:1:29: error: fastcgi/fcgiapp.h: No such file or directory
checked program was:
/* begin */
1: #include <fastcgi/fcgiapp.h>
/* end */

--------------------
any rails user here who could tell me if it's possible to install fcgi on Fedora?
Reply With Quote
  #2  
Old 27th July 2008, 12:10 PM
M4rc0 Offline
Registered User
 
Join Date: Aug 2007
Location: Brasil
Posts: 471
Ok, solved

whoever get's this problem:

Quote:
yum install fcgi-devel
fcgi-devel was missing
Reply With Quote
  #3  
Old 30th July 2008, 06:14 PM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 31
Posts: 7,909
Even easier, it's already packaged.
Code:
yum install fcgi
Reply With Quote
  #4  
Old 30th July 2008, 07:00 PM
M4rc0 Offline
Registered User
 
Join Date: Aug 2007
Location: Brasil
Posts: 471
No it's not :o

I installed fcgi and then got those problems to install the gem.

Then i installed fcgi-devel and it worked
Reply With Quote
Reply

Tags
fcgi, install, rails

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rails vs Django Query Programming & Packaging 6 28th June 2009 06:51 AM
fcgi and htaccess etrader Using Fedora 0 21st March 2009 10:28 AM
ruby on rails winblowz Programming & Packaging 0 29th December 2006 01:16 PM
Apache + Ruby on Rails komi Servers & Networking 1 26th November 2006 03:05 PM
Ruby on rails vs PHP pamount Programming & Packaging 0 3rd April 2006 05:13 AM


Current GMT-time: 13:58 (Monday, 26-06-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat