public
Created

error encountered when I run passenger-install-apache2-module

  • Download Gist
passenger error
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
mkdir -p ext/common/libboost_oxt
g++ -Iext -D_REENTRANT -I/usr/local/include -DHASH_NAMESPACE="__gnu_cxx" -DHASH _NAMESPACE="__gnu_cxx" -DHASH_FUN_H="<hash_fun.h>" -DHAS_ALLOCA_H -DHAS_SFENCE - DHAS_LFENCE -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -g -DPASSENGER_D EBUG -DBOOST_DISABLE_ASSERTS -o ext/common/libboost_oxt/aggregate.o -c ext/commo n/libboost_oxt/aggregate.cpp
In file included from ext/boost/src/pthread/thread.cpp:27:0,
from ext/common/libboost_oxt/aggregate.cpp:6:
ext/boost/src/pthread/timeconv.inl: In function âvoid {anonymous}::to_time(int, boost::xtime&)â:
ext/boost/src/pthread/timeconv.inl:22:9: warning: variable âresâ set but not use d [-Wunused-but-set-variable]
ext/boost/src/pthread/timeconv.inl: In function âvoid {anonymous}::to_timespec_d uration(const boost::xtime&, timespec&)â:
ext/boost/src/pthread/timeconv.inl:59:9: warning: variable âresâ set but not use d [-Wunused-but-set-variable]
ext/boost/src/pthread/timeconv.inl: In function âvoid {anonymous}::to_duration(b oost::xtime, int&)â:
ext/boost/src/pthread/timeconv.inl:90:9: warning: variable âresâ set but not use d [-Wunused-but-set-variable]
ext/boost/src/pthread/timeconv.inl: In function âvoid {anonymous}::to_microdurat ion(boost::xtime, int&)â:
ext/boost/src/pthread/timeconv.inl:112:9: warning: variable âresâ set but not us ed [-Wunused-but-set-variable]
mkdir -p ext/common/libboost_oxt
rm -rf ext/common/libboost_oxt.a
ar cru ext/common/libboost_oxt.a ext/common/libboost_oxt/aggregate.o
ranlib ext/common/libboost_oxt.a
g++ ext/apache2/HelperAgent.cpp -o agents/apache2/PassengerHelperAgent -Iext -Ie xt/common -D_REENTRANT -I/usr/local/include -DHASH_NAMESPACE="__gnu_cxx" -DHASH_ NAMESPACE="__gnu_cxx" -DHASH_FUN_H="<hash_fun.h>" -DHAS_ALLOCA_H -DHAS_SFENCE -D HAS_LFENCE -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -g -DPASSENGER_DE BUG -DBOOST_DISABLE_ASSERTS ext/common/libpassenger_common.a ext/common/libboost _oxt.a -lpthread -rdynamic
g++ ext/common/Watchdog.cpp -o agents/PassengerWatchdog -Iext -Iext/common -D_RE ENTRANT -I/usr/local/include -DHASH_NAMESPACE="__gnu_cxx" -DHASH_NAMESPACE="__gn u_cxx" -DHASH_FUN_H="<hash_fun.h>" -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE -Wal l -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -g -DPASSENGER_DEBUG -DBOOST_DIS ABLE_ASSERTS ext/common/libpassenger_common.a ext/common/libboost_oxt.a -lpthrea d -rdynamic
g++ ext/common/LoggingAgent/Main.cpp -o agents/PassengerLoggingAgent -Iext -Iext /common -Iext/libev -I/opt/bitnami/common/include -DHAS_CURL_EASY_RESET -D_REEN TRANT -I/usr/local/include -DHASH_NAMESPACE="__gnu_cxx" -DHASH_NAMESPACE="__gnu_ cxx" -DHASH_FUN_H="<hash_fun.h>" -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings - Wno-long-long -Wno-missing-field-initializers -g -DPASSENGER_DEBUG -DBOOST_DISAB LE_ASSERTS ext/common/libpassenger_common.a ext/common/libboost_oxt.a ext/libev/ .libs/libev.a -L/opt/bitnami/common/lib -lcurl -lz -lpthread -rdynamic
In file included from ext/common/LoggingAgent/../EventedMessageServer.h:35:0,
from ext/common/LoggingAgent/LoggingServer.h:48,
from ext/common/LoggingAgent/Main.cpp:43:
ext/common/LoggingAgent/../EventedServer.h: In member function âvoid Passenger:: EventedServer::freeAllClients()â:
ext/common/LoggingAgent/../EventedServer.h:145:23: warning: variable âendâ set b ut not used [-Wunused-but-set-variable]
/tmp/ccTlMgrO.o: In function `~bad_day_of_month':
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/ext/boost/date_time/ gregorian/greg_day.hpp:20: undefined reference to `std::out_of_range::~out_of_ra nge()'
/tmp/ccTlMgrO.o: In function `std::list<oxt::thread_registration*, std::allocato r<oxt::thread_registration*> >::_M_insert(std::_List_iterator<oxt::thread_regist ration*>, oxt::thread_registration* const&)':
/usr/include/c++/4.6/bits/stl_list.h:1516: undefined reference to `std::__detail ::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
/tmp/ccTlMgrO.o: In function `std::list<oxt::thread_registration*, std::allocato r<oxt::thread_registration*> >::_M_erase(std::_List_iterator<oxt::thread_registr ation*>)':
/usr/include/c++/4.6/bits/stl_list.h:1532: undefined reference to `std::__detail ::_List_node_base::_M_unhook()'
/tmp/ccTlMgrO.o: In function `std::list<boost::shared_ptr<Passenger::RemoteSende r::Server>, std::allocator<boost::shared_ptr<Passenger::RemoteSender::Server> > >::_M_insert(std::_List_iterator<boost::shared_ptr<Passenger::RemoteSender::Serv er> >, boost::shared_ptr<Passenger::RemoteSender::Server> const&)':
/usr/include/c++/4.6/bits/stl_list.h:1516: undefined reference to `std::__detail ::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
/tmp/ccTlMgrO.o: In function `std::list<boost::shared_ptr<Passenger::RemoteSende r::Server>, std::allocator<boost::shared_ptr<Passenger::RemoteSender::Server> > >::_M_erase(std::_List_iterator<boost::shared_ptr<Passenger::RemoteSender::Serve r> >)':
/usr/include/c++/4.6/bits/stl_list.h:1532: undefined reference to `std::__detail ::_List_node_base::_M_unhook()'
/tmp/ccTlMgrO.o: In function `std::list<boost::shared_ptr<Passenger::LoggingServ er::LogSink>, std::allocator<boost::shared_ptr<Passenger::LoggingServer::LogSink > > >::_M_erase(std::_List_iterator<boost::shared_ptr<Passenger::LoggingServer:: LogSink> >)':
/usr/include/c++/4.6/bits/stl_list.h:1532: undefined reference to `std::__detail ::_List_node_base::_M_unhook()'
/tmp/ccTlMgrO.o: In function `std::list<boost::shared_ptr<Passenger::LoggingServ er::LogSink>, std::allocator<boost::shared_ptr<Passenger::LoggingServer::LogSink > > >::_M_insert(std::_List_iterator<boost::shared_ptr<Passenger::LoggingServer: :LogSink> >, boost::shared_ptr<Passenger::LoggingServer::LogSink> const&)':
/usr/include/c++/4.6/bits/stl_list.h:1516: undefined reference to `std::__detail ::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
/tmp/ccTlMgrO.o: In function `~bad_year':
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/ext/boost/date_time/ gregorian/greg_year.hpp:20: undefined reference to `std::out_of_range::~out_of_r ange()'
/tmp/ccTlMgrO.o: In function `~bad_month':
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/ext/boost/date_time/ gregorian/greg_month.hpp:44: undefined reference to `std::out_of_range::~out_of_ range()'
ext/common/libpassenger_common.a(aggregate.o): In function `std::list<boost::sha red_ptr<Passenger::CachedFileStat::Entry>, std::allocator<boost::shared_ptr<Pass enger::CachedFileStat::Entry> > >::_M_erase(std::_List_iterator<boost::shared_pt r<Passenger::CachedFileStat::Entry> >)':
/usr/include/c++/4.6/bits/stl_list.h:1532: undefined reference to `std::__detail ::_List_node_base::_M_unhook()'
ext/common/libpassenger_common.a(aggregate.o): In function `std::list<boost::sha red_ptr<Passenger::CachedFileStat::Entry>, std::allocator<boost::shared_ptr<Pass enger::CachedFileStat::Entry> > >::_M_insert(std::_List_iterator<boost::shared_p tr<Passenger::CachedFileStat::Entry> >, boost::shared_ptr<Passenger::CachedFileS tat::Entry> const&)':
/usr/include/c++/4.6/bits/stl_list.h:1516: undefined reference to `std::__detail ::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
ext/common/libboost_oxt.a(aggregate.o): In function `std::list<oxt::trace_point* , std::allocator<oxt::trace_point*> >::_M_insert(std::_List_iterator<oxt::trace_ point*>, oxt::trace_point* const&)':
/usr/include/c++/4.6/bits/stl_list.h:1516: undefined reference to `std::__detail ::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
collect2: ld returned 1 exit status
rake aborted!
Command failed with status (1): [g++ ext/common/LoggingAgent/Main.cpp -o ag...]
 
Tasks: TOP => apache2 => agents/PassengerLoggingAgent
(See full trace by running task with --trace)
 
--------------------------------------------
 
It looks like something went wrong
 
Please read our Users guide for troubleshooting tips:
 
/opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/doc/Users guide A pache.html
 
If that doesn't help, please use our support facilities at:
 
https://www.phusionpassenger.com
 
We'll do our best to help you.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.