gem install fcgi

M

Mohammad Khan

------=_Part_11920_20718711.1131658232695
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

[root@www dhaka]# gem install fcgi
Attempting local installation of 'fcgi'
Local gem file not found: fcgi*.gem
Attempting remote installation of 'fcgi'
Updating Gem source index for: http://gems.rubyforge.org
Building native extensions. This could take a while...
can't find header files for ruby.
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.6.1<http://0.8.6.1>for
inspection.
ruby extconf.rb install fcgi\n

Results logged to
/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/ext/gem_make.out<http://0.8.6.1/ex=
t/gem_make.out>
[root@www dhaka]# rpm -qa | grep ruby
ruby-1.8.3-2.fc3
ruby-docs-1.8.3-2.fc3
ruby-libs-1.8.3-2.fc3
[root@www dhaka]#

At what location gem is looking for ruby header files?
Would anybody please show me right direction.

Thanks,

------=_Part_11920_20718711.1131658232695--
 
M

Mohammad Khan

------=_Part_12032_5268886.1131658470882
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I have figured that Ineed ruby-devel package installed too..
thanks anyway


[root@www dhaka]# gem install fcgi
Attempting local installation of 'fcgi'
Local gem file not found: fcgi*.gem
Attempting remote installation of 'fcgi'
Updating Gem source index for: http://gems.rubyforge.org
Building native extensions. This could take a while...
can't find header files for ruby.
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.6.1 said:
inspection.
ruby extconf.rb install fcgi\n

Results logged to
/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/ext/gem_make.out<http://0.8.6.1/= ext/gem_make.out>
<http://0.8.6.1/ext/gem_make.out>
[root@www dhaka]# rpm -qa | grep ruby
ruby-1.8.3-2.fc3
ruby-docs-1.8.3-2.fc3
ruby-libs-1.8.3-2.fc3
[root@www dhaka]#

At what location gem is looking for ruby header files?
Would anybody please show me right direction.

Thanks,

------=_Part_12032_5268886.1131658470882--
 
A

Ara.T.Howard

[root@www dhaka]# gem install fcgi
Attempting local installation of 'fcgi'
Local gem file not found: fcgi*.gem
Attempting remote installation of 'fcgi'
Updating Gem source index for: http://gems.rubyforge.org
Building native extensions. This could take a while...
can't find header files for ruby.
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.6.1<http://0.8.6.1>for
inspection.
ruby extconf.rb install fcgi\n

Results logged to
/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/ext/gem_make.out<http://0.8.6.1/ext/gem_make.out>
[root@www dhaka]# rpm -qa | grep ruby
ruby-1.8.3-2.fc3
ruby-docs-1.8.3-2.fc3
ruby-libs-1.8.3-2.fc3
[root@www dhaka]#

At what location gem is looking for ruby header files?
Would anybody please show me right direction.

Thanks,

have you installed the fastcgi library itself - not the ruby extenstion - the
fastcgi lib?

-a
--
===============================================================================
| ara [dot] t [dot] howard [at] gmail [dot] com
| all happiness comes from the desire for others to be happy. all misery
| comes from the desire for oneself to be happy.
| -- bodhicaryavatara
===============================================================================
 
M

Mohammad Khan

------=_Part_12256_6462252.1131659448602
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I have installed ,
fcgi-2.4.0
mod_fastcgi-2.4.2
gem install fcgi

and followed the instrucion of
http://wiki.rubyonrails.com/rails/pages/FastCGI+on+unix+linux+bsd

and I am getting in my error.log

[Thu Nov 10 16:44:40 2005] [error] [client 66.237.x.y] FastCGI: comm with
(dynamic) server "/var/www/rails/project_1/public/dispatch.fcgi" aborted:
(first read) idle timeout (30 sec)
[Thu Nov 10 16:44:40 2005] [error] [client 66.237.x.y] FastCGI: incomplete
headers (0 bytes) received from server
"/var/www/rails/project_1/public/dispatch.fcgi"



[root@www dhaka]# gem install fcgi
Attempting local installation of 'fcgi'
Local gem file not found: fcgi*.gem
Attempting remote installation of 'fcgi'
Updating Gem source index for: http://gems.rubyforge.org
Building native extensions. This could take a while...
can't find header files for ruby.
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.6.1 <http://0.8.6.1><http://0.8.6.= 1
for
inspection.
ruby extconf.rb install fcgi\n

Results logged to
/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/ext/gem_make.out<http://0.8.6.=
1/ext/gem_make.out>
[root@www dhaka]# rpm -qa | grep ruby
ruby-1.8.3-2.fc3
ruby-docs-1.8.3-2.fc3
ruby-libs-1.8.3-2.fc3
[root@www dhaka]#

At what location gem is looking for ruby header files?
Would anybody please show me right direction.

Thanks,

have you installed the fastcgi library itself - not the ruby extenstion -
the
fastcgi lib?

-a
--

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
| ara [dot] t [dot] howard [at] gmail [dot] com
| all happiness comes from the desire for others to be happy. all misery
| comes from the desire for oneself to be happy.
| -- bodhicaryavatara

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D

------=_Part_12256_6462252.1131659448602--
 
A

Ara.T.Howard

I have installed ,
fcgi-2.4.0
mod_fastcgi-2.4.2
gem install fcgi

and followed the instrucion of
http://wiki.rubyonrails.com/rails/pages/FastCGI+on+unix+linux+bsd

and I am getting in my error.log

[Thu Nov 10 16:44:40 2005] [error] [client 66.237.x.y] FastCGI: comm with
(dynamic) server "/var/www/rails/project_1/public/dispatch.fcgi" aborted:
(first read) idle timeout (30 sec)
[Thu Nov 10 16:44:40 2005] [error] [client 66.237.x.y] FastCGI: incomplete
headers (0 bytes) received from server
"/var/www/rails/project_1/public/dispatch.fcgi"

and what does dispatch.fcgi say when you run it from the command line as the
web user

sudo www ./dispatch.fcgi < /dev/null

??
[root@www dhaka]# gem install fcgi
Attempting local installation of 'fcgi'
Local gem file not found: fcgi*.gem
Attempting remote installation of 'fcgi'
Updating Gem source index for: http://gems.rubyforge.org
Building native extensions. This could take a while...
can't find header files for ruby.
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.6.1 <http://0.8.6.1><http://0.8.6.1
for
inspection.
ruby extconf.rb install fcgi\n

Results logged to
/usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/ext/gem_make.out<http://0.8.6.1/ext/gem_make.out>
[root@www dhaka]# rpm -qa | grep ruby
ruby-1.8.3-2.fc3
ruby-docs-1.8.3-2.fc3
ruby-libs-1.8.3-2.fc3
[root@www dhaka]#

At what location gem is looking for ruby header files?
Would anybody please show me right direction.

Thanks,

have you installed the fastcgi library itself - not the ruby extenstion -
the
fastcgi lib?

-a
--

===============================================================================
| ara [dot] t [dot] howard [at] gmail [dot] com
| all happiness comes from the desire for others to be happy. all misery
| comes from the desire for oneself to be happy.
| -- bodhicaryavatara

===============================================================================

-a
--
===============================================================================
| ara [dot] t [dot] howard [at] gmail [dot] com
| all happiness comes from the desire for others to be happy. all misery
| comes from the desire for oneself to be happy.
| -- bodhicaryavatara
===============================================================================
 
A

Andrew Stone

------=_Part_28605_23462972.1131720075392
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
[Thu Nov 10 16:44:40 2005] [error] [client 66.237.x.y] FastCGI: incomplete
headers (0 bytes) received from server
"/var/www/rails/project_1/public/dispatch.fcgi"

I think this means the location reference (she-bang) to ruby in the
dispatch.fcgi is incorrect. I would at least verify that it is pointing to
the right location.

-andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,808
Messages
2,569,686
Members
45,453
Latest member
RamonMcCom

Latest Threads

Top