Passenger Installation Problems - Boost C++ Libraries

52 views
Skip to first unread message

J

unread,
Jul 10, 2008, 4:01:36 PM7/10/08
to Phusion Passenger Discussions
Hello,

I'm attempting to install Passenger for my Rails app and during the
install process I get the following error:



### In ext/boost/src:
g++ -g -DPASSENGER_DEBUG -fPIC -I../.. -D_REENTRANT -DNDEBUG -c *.cpp
In file included from ../../boost/config.hpp:57,
from ../../boost/thread/detail/config.hpp:10,
from tss_null.cpp:7:
../../boost/config/suffix.hpp:489:32: boost/non_type.hpp: No such file
or directory
rake aborted!
Command failed with status (1): [g++ -g -DPASSENGER_DEBUG -fPIC -
I../.. -D_...]
/usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.1/Rakefile:92



Looks like there maybe a complaint about the Boost C++ Libraries.
Any clues on what I can do to resolve this?


Thanks,

J

J

unread,
Jul 10, 2008, 4:29:23 PM7/10/08
to Phusion Passenger Discussions
I solved the problem. I should have just waited another five
minutes. LOL. Hopefully this helps someone else.

Here is the solution: http://blog.andrewl.net/articles/2008/05/27/off-the-mod_rails

Simply copy over the file non_type.hpp to your passenger gems
directory. Step 2 of the link above explains everything. Note that
the location of non_type.hpp has changed to
http://www.boost.org/doc/libs/1_35_0/boost/non_type.hpp.

Good Luck!

Hongli Lai

unread,
Jul 14, 2008, 5:24:48 AM7/14/08
to phusion-...@googlegroups.com
J wrote:
> I solved the problem. I should have just waited another five
> minutes. LOL. Hopefully this helps someone else.
>
> Here is the solution: http://blog.andrewl.net/articles/2008/05/27/off-the-mod_rails
>
> Simply copy over the file non_type.hpp to your passenger gems
> directory. Step 2 of the link above explains everything. Note that
> the location of non_type.hpp has changed to
> http://www.boost.org/doc/libs/1_35_0/boost/non_type.hpp.
>
> Good Luck!

Thanks, I've committed this to the repository.

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)

Reply all
Reply to author
Forward
0 new messages