gansvv
April 20th, 2010, 08:37 PM
Hi,
I am trying to get Ruby on Rails installed on Ubuntu Server 8.04, but an getting stuck with Passenger installation.
I used the tutorials from here:
http://www.modrails.com/documentation/Users%20guide%20Apache.html
$ sudo passenger-install-apache2-module
...
gcc -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include/postgresql -DLINUX=2 -D_GNU_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/apache2/mod_passenger.o -c ext/apache2/mod_passenger.c
rake aborted!
Command failed with status (127): [gcc -Iext -Iext/common -fPIC -DLINUX=2 -D_...]
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.11/Rakefile:302
(See full trace by running task with --trace)
--------------------------------------------
It looks like something went wrong
I tried to compile mod_passenger.c outside on the commandline and that worked fine!
Could someone help me with this. Thanks!
I am trying to get Ruby on Rails installed on Ubuntu Server 8.04, but an getting stuck with Passenger installation.
I used the tutorials from here:
http://www.modrails.com/documentation/Users%20guide%20Apache.html
$ sudo passenger-install-apache2-module
...
gcc -Iext -Iext/common -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include/postgresql -DLINUX=2 -D_GNU_SOURCE -D_REENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/apache2/mod_passenger.o -c ext/apache2/mod_passenger.c
rake aborted!
Command failed with status (127): [gcc -Iext -Iext/common -fPIC -DLINUX=2 -D_...]
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.11/Rakefile:302
(See full trace by running task with --trace)
--------------------------------------------
It looks like something went wrong
I tried to compile mod_passenger.c outside on the commandline and that worked fine!
Could someone help me with this. Thanks!