This page is READ-ONLY. It is generated from the old site.
All timestamps are relative to 2013 (when this page is generated).
If you are looking for TeX support, please go to VietTUG.org

ArchLinux: building nginx's Passenger extension

tricky ... :)
Added by ruby 11 months ago  »  Votes: 1/1

On ArchLinux, the new compiler causes problem. For example, when buiding Ree, you need to switch to an older version of GCC

1 $ export CC=/usr/bin/gcc-4.3
2 $ rvm install ree-1.8.7-2012.02

And you will need a patch when building Passengser.

1 $ _F_PATCH_URL="https://svn.boost.org/trac/boost/raw-attachment/ticket/6165/libstdcpp3.hpp.patch" 
2 $ _F_PATCH="/tmp/libstdcpp3.hpp.patch" 
3 $ curl -o $_F_PATCH $_F_PATCH_URL
4 $ _F_ORIGIN="$(find $(passenger-config --root) | grep 'libstdcpp3.hpp$' | tail -1)" 
5 $ patch $_F_ORIGIN $_F_PATCH
6 $ unset GCC
7 $ unset CC
8 $ # start to build nginx + Passenger module

Ref.: https://svn.boost.org/trac/boost/attachment/ticket/6165/libstdcpp3.hpp.patch


Comments