Support Requests: Browse | Submit New | Admin

[#9036] Installation with libfcgi in a non-standard path

Date:
2007-03-05 01:31
Priority:
2
Submitted By:
Aníbal Rojas (anibalrojas)
Assigned To:
Nobody (None)
Category:
Install Problem
State:
Open
Summary:
Installation with libfcgi in a non-standard path

Detailed description
Hello,

    I had to install libfcgi (2.4.0) in a non-standard path, when I try:

    gem install fcgi

    It throws:

Need to update 1 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=/home/contilde/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

etc...

    As I installed libfcgi in a non-standar location I suppose I need to provide the right path, but not sure what option
should I use to accomplish this task.

    Thanks in advance

--
Aníbal Rojas

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-02-29 06:40
Sender: Kenjiro Arai

gem install fcgi -- --with-fcgi-dir=/usr/local/include

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
category_idNone2008-02-29 06:40moonwolf
artifact_group_idNone2008-02-29 06:40moonwolf
priority32008-02-29 06:40moonwolf