Skip to content

Instantly share code, notes, and snippets.

@cloudbring
Created August 26, 2010 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cloudbring/551751 to your computer and use it in GitHub Desktop.
Save cloudbring/551751 to your computer and use it in GitHub Desktop.
Compiling and installing Apache 2 module...
cd /Users/eman/.rvm/gems/ruby-1.8.7-p299/gems/passenger-2.2.15
/Users/eman/.rvm/rubies/ruby-1.8.7-p299/bin/ruby -S /Users/eman/.rvm/gems/ruby-1.8.7-p299/bin/rake clean apache2
# /Users/eman/.rvm/rubies/ruby-1.8.7-p299/bin/ruby -S /Users/eman/.rvm/gems/ruby-1.8.7-p299/bin/rake clean apache2
(in /Users/eman/.rvm/gems/ruby-1.8.7-p299/gems/passenger-2.2.15)
rm -rf ext/apache2/libboost_oxt.a ext/apache2/libboost_oxt
rm -rf ext/apache2/libpassenger_common.a ext/apache2/ApplicationPoolServerExecutable ext/apache2/libpassenger_common
rm -rf ext/apache2/Configuration.o ext/apache2/Bucket.o ext/apache2/Hooks.o ext/apache2/mod_passenger.o ext/apache2/mod_passenger.so
rm -rf ext/nginx/libboost_oxt.a ext/nginx/libboost_oxt
rm -rf ext/nginx/libpassenger_common.a ext/nginx/libpassenger_common
rm -rf ext/nginx/HelperServer
rm -rf test/libboost_oxt.a test/libboost_oxt
rm -rf test/libpassenger_common.a test/ApplicationPoolServerExecutable test/libpassenger_common
rm -rf test/oxt/oxt_test_main test/oxt/*.o test/CxxTests test/*.o
rm -r pkg
rm -f ext/phusion_passenger/Makefile
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
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:70,
from /usr/include/c++/4.2.1/memory:53,
from ext/boost/shared_ptr.hpp:23,
from ext/boost/thread/pthread/tss.hpp:10,
from ext/boost/thread/tss.hpp:13,
from ext/oxt/system_calls.hpp:28,
from ext/common/Utils.cpp:26:
/usr/include/c++/4.2.1/iosfwd:45:29: error: bits/c++locale.h: No such file or directory
/usr/include/c++/4.2.1/iosfwd:46:25: error: bits/c++io.h: No such file or directory
In file included from /usr/include/c++/4.2.1/memory:54,
from ext/boost/shared_ptr.hpp:23,
from ext/boost/thread/pthread/tss.hpp:10,
from ext/boost/thread/tss.hpp:13,
from ext/oxt/system_calls.hpp:28,
from ext/common/Utils.cpp:26:
/usr/include/c++/4.2.1/bits/allocator.h:53:31: error: bits/c++allocator.h: No such file or directory
In file included from /usr/include/c++/4.2.1/bits/basic_string.h:46,
from /usr/include/c++/4.2.1/string:54,
from ext/common/CachedFileStat.hpp:35,
from ext/common/Utils.cpp:34:
/usr/include/c++/4.2.1/ext/atomicity.h:39:23: error: bits/gthr.h: No such file or directory
/usr/include/c++/4.2.1/ext/atomicity.h:40:30: error: bits/atomic_word.h: No such file or directory
In file included from /usr/include/c++/4.2.1/bits/basic_ios.h:44,
from /usr/include/c++/4.2.1/ios:50,
from /usr/include/c++/4.2.1/ostream:45,
from /usr/include/c++/4.2.1/iterator:70,
from ext/boost/next_prior.hpp:15,
from ext/boost/utility.hpp:16,
from ext/boost/thread/pthread/thread.hpp:12,
from ext/boost/thread/thread.hpp:17,
from ext/boost/thread.hpp:12,
from ext/common/SystemTime.h:28,
from ext/common/CachedFileStat.hpp:39,
from ext/common/Utils.cpp:34:
/usr/include/c++/4.2.1/bits/locale_facets.h:47:30: error: bits/ctype_base.h: No such file or directory
/usr/include/c++/4.2.1/bits/locale_facets.h:1533:31: error: bits/ctype_inline.h: No such file or directory
/usr/include/c++/4.2.1/bits/locale_facets.h:3040:33: error: bits/time_members.h: No such file or directory
/usr/include/c++/4.2.1/bits/locale_facets.h:4599:37: error: bits/messages_members.h: No such file or directory
In file included from /usr/include/c++/4.2.1/utility:66,
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/bits/stl_relops.h:74: error: expected constructor, destructor, or type conversion before ‘(’ token
In file included from /usr/include/c++/4.2.1/new:45,
from /usr/include/c++/4.2.1/bits/stl_construct.h:65,
from /usr/include/c++/4.2.1/memory:55,
from ext/boost/shared_ptr.hpp:23,
from ext/boost/thread/pthread/tss.hpp:10,
from ext/boost/thread/tss.hpp:13,
from ext/oxt/system_calls.hpp:28,
from ext/common/Utils.cpp:26:
/usr/include/c++/4.2.1/exception:40: error: expected declaration before end of line
lipo: can't figure out the architecture type of: /var/tmp//ccogwMU7.out
rake aborted!
Command failed with status (1): [g++ -Iext -Iext/common -fPIC -DDARWIN -DSI...]
/Users/eman/.rvm/gems/ruby-1.8.7-p299/gems/passenger-2.2.15/Rakefile:172:in `define_common_library_task'
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment