I'm trying to install Passenger on my MacBook (latest version of Snow
Leopard), and I'm getting some really crazy error messages. Here's a
snapshot of the problem:
mkdir -p ext/apache2/libpassenger_common
g++ -Iext -Iext/common -fPIC -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -
I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/apache2 -arch
i386 -arch ppc -arch x86_64 -arch ppc64 -D_REENTRANT -I/usr/local/
include -Wall -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/
apache2/libpassenger_common/Utils.o -c ext/common/Utils.cpp
In file included from ext/boost/config/no_tr1/utility.hpp:21,
from ext/boost/config/select_stdlib_config.hpp:20,
from ext/boost/config.hpp:40,
from ext/boost/thread/detail/platform.hpp:14,
from ext/boost/thread/tss.hpp:9,
from ext/oxt/system_calls.hpp:28,
from ext/common/Utils.cpp:26:
/usr/include/c++/4.2.1/utility:65:28: error: bits/c++config.h: No such
file or directory
The "locate" command shows me that I *do* have the "missing" header
file:
/usr/include/c++/4.2.1/i686-apple-darwin10/bits/c++config.h
/usr/include/c++/4.2.1/powerpc-apple-darwin10/bits/c++config.h
/usr/include/c++/4.2.1/x86_64-apple-darwin10/bits/c++config.h
# plus some others
FWIW, here's the start of the install script's output:
Checking for required software...
* GNU C++ compiler... found at /usr/bin/g++
* Ruby development headers... found
* OpenSSL support for Ruby... found
* RubyGems... found
* Rake... found at /opt/local/bin/rake
* rack... found
* Apache 2... found at /usr/sbin/httpd
* Apache 2 development headers... found at /usr/sbin/apxs
* Apache Portable Runtime (APR) development headers... found at /usr/
bin/apr-1-config
* Apache Portable Runtime Utility (APU) development headers... found
at /usr/bin/apu-1-config
Ruby is coming from MacPorts; everything else is from Apple.
I've got no good read on this problem at all, and I'd appreciate any
push anyone can give me.
jdf