You are not logged in.

#1 2009-05-12 20:47:07

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Passenger mod_rails install error

I am trying to install passenger so I can serve a rails site. This is the error I am getting trying to install with my slicehost vps arch:

ext/boost/mpl/apply.hpp:138:31: error: missing binary operator before token "("                                         
rake aborted!                                                                                                           
Command failed with status (1): [g++ -Iext -fPIC -DLINUX=2 -D_REENTRANT -D_...]                                         
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/Rakefile:127:in `define_libboost_oxt_task'                                  
(See full trace by running task with --trace)

I have tried with ruby gems and installed packages from arch repos with the same results.

Any ideas what I am missing?

Thanks

Offline

#2 2009-05-13 00:06:54

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: Passenger mod_rails install error

I think that it has something to do with gcc 4.4 but I don't know for sure. I built the module fine with 4.3

Any thoughts?

Offline

#3 2009-05-13 15:42:41

dannytatom
Member
From: Seattle, WA
Registered: 2009-02-02
Posts: 229
Website

Re: Passenger mod_rails install error

I'm getting the same error, and it worked last time I installed (about a week ago).  So yeah, I'm guessing it's the new gcc.

Mind explaining how you got it working exactly?


dnyy in IRC & Urban Terror

Offline

#4 2009-05-13 16:17:02

dannytatom
Member
From: Seattle, WA
Registered: 2009-02-02
Posts: 229
Website

Re: Passenger mod_rails install error

Alright, got it working with gcc-4.3.3-1.


dnyy in IRC & Urban Terror

Offline

#5 2009-05-13 22:01:55

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: Passenger mod_rails install error

That is the only way I got it to work also. I built gcc last night thanks for the link though. I posted to the passenger google group to see if this can be resolved.

Last edited by cu3edweb (2009-05-13 22:02:51)

Offline

#6 2009-05-17 16:49:52

henksgu
Member
Registered: 2008-01-11
Posts: 5

Re: Passenger mod_rails install error

Using gcc 4.4.0 and gem install passenger

Applied this patch: https://svn.boost.org/trac/boost/ticket/2225
(had to skip some files)

Worked like a charm!

Could anyone please notify the passenger team if it's not already done? Don't know the procedure.
Thanks!

Offline

Board footer

Powered by FluxBB