<---- template headericclude ----->
rails: can't install fcgi ?
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2007
    Location
    Brasil
    Posts
    471
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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:
    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?

  2. #2
    Join Date
    Aug 2007
    Location
    Brasil
    Posts
    471
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, solved

    whoever get's this problem:

    yum install fcgi-devel
    fcgi-devel was missing

  3. #3
    Jman Guest
    Even easier, it's already packaged.
    Code:
    yum install fcgi

  4. #4
    Join Date
    Aug 2007
    Location
    Brasil
    Posts
    471
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

Similar Threads

  1. Rails vs Django
    By Query in forum Programming & Packaging
    Replies: 6
    Last Post: 28th June 2009, 06:51 AM
  2. fcgi and htaccess
    By etrader in forum Using Fedora
    Replies: 0
    Last Post: 21st March 2009, 10:28 AM
  3. ruby on rails
    By winblowz in forum Programming & Packaging
    Replies: 0
    Last Post: 29th December 2006, 02:16 PM
  4. Apache + Ruby on Rails
    By komi in forum Servers & Networking
    Replies: 1
    Last Post: 26th November 2006, 04:05 PM
  5. Ruby on rails vs PHP
    By pamount in forum Programming & Packaging
    Replies: 0
    Last Post: 3rd April 2006, 05:13 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]