Re: [Boost-bugs] [Boost C++ Libraries] #8616: Can't compile passenger on RaspberryPi

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8616: Can't compile passenger on RaspberryPi
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-03 18:12:39


#8616: Can't compile passenger on RaspberryPi
--------------------------------------+-------------------------------------
  Reporter: marvin.caspar@… | Owner:
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: None
   Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------+-------------------------------------
Description changed by viboes:

Old description:

> I want to install passenger on my RaspberryPi (OS is Raspbmc) but i got
> the following error:
>

> root_at_raspbmc:/home/pi# gem install passenger
> ...
> root_at_raspbmc:/home/pi# apt-get install libcurl4-gnutls-dev librtmp-dev
> ...
> root_at_raspbmc:/home/pi# apt-get install apache2-threaded-dev libapr1-dev
> libaprutil1-dev
> ...
> root_at_raspbmc:/home/pi# source /usr/local/rvm/environments/ruby-2.0.0-p195
> root_at_raspbmc:/home/pi# rvmsudo passenger-install-apache2-module
> Welcome to the Phusion Passenger Apache 2 module installer, v4.0.3.
>
> This installer will guide you through the entire installation process. It
> shouldn't take more than 3 minutes in total.
>
> Here's what you can expect from the installation process:
>
> 1. The Apache 2 module will be installed for you.
> 2. You'll learn how to configure Apache.
> 3. You'll learn how to deploy a Ruby on Rails application.
>
> Don't worry if anything goes wrong. This installer will advise you on how
> to
> solve any problems.
>
> Press Enter to continue, or Ctrl-C to abort.
>

> --------------------------------------------
>
> Checking for required software...
>
> * Checking for GNU C compiler...
> Found: yes
> Location: /usr/bin/gcc
> * Checking for GNU C++ compiler...
> Found: yes
> Location: /usr/bin/g++
> * Checking for Curl development headers with SSL support...
> Found: yes
> curl-config location: /usr/bin/curl-config
> Header location: /usr/include/curl/curl.h
> Version: libcurl 7.26.0
> Usable: yes
> Supports SSL: yes
> * Checking for OpenSSL development headers...
> Found: yes
> Location: /usr/include/openssl/ssl.h
> * Checking for Zlib development headers...
> Found: yes
> Location: /usr/include/zlib.h
> * Checking for Ruby development headers...
> Found: yes
> Location:
> /usr/local/rvm/rubies/ruby-2.0.0-p195/include/ruby-2.0.0/ruby.h
> * Checking for OpenSSL support for Ruby...
> Found: yes
> * Checking for RubyGems...
> Found: yes
> * Checking for Rake (associated with
> /usr/local/rvm/wrappers/ruby-2.0.0-p195/ruby)...
> Found: yes
> Location: /usr/local/rvm/wrappers/ruby-2.0.0-p195/rake
> * Checking for rack...
> Found: yes
> * Checking for Apache 2...
> Use of uninitialized value $includedir in concatenation (.) or string at
> (eval 9) line 1.
> Use of uninitialized value $includedir in concatenation (.) or string at
> (eval 9) line 1.
> Found: yes
> Location of httpd: /usr/sbin/apache2
> Apache version: 2.2.22
> * Checking for Apache 2 development headers...
> Found: yes
> Location of apxs2: /usr/bin/apxs2
> * Checking for Apache Portable Runtime (APR) development headers...
> Found: yes
> Location: /usr/bin/apr-1-config
> Version: 1.4.6
> * Checking for Apache Portable Runtime Utility (APU) development
> headers...
> Found: yes
> Location: /usr/bin/apu-1-config
> Version: 1.4.1
>
> --------------------------------------------
> Compiling and installing Apache 2 module...
> cd /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.3
> /usr/local/rvm/wrappers/ruby-2.0.0-p195/rake apache2:clean apache2
> RELEASE=yes
> # /usr/local/rvm/wrappers/ruby-2.0.0-p195/rake apache2:clean apache2
> RELEASE=yes
> Use of uninitialized value $includedir in concatenation (.) or string at
> (eval 9) line 1.
> Use of uninitialized value $includedir in concatenation (.) or string at
> (eval 9) line 1.
> Use of uninitialized value $includedir in concatenation (.) or string at
> (eval 9) line 1.
> Use of uninitialized value $includedir in concatenation (.) or string at
> (eval 9) line 1.
> rm -rf libout/common/libboost_oxt.a libout/common/libboost_oxt
> rm -f libout/common/libpassenger_common/Logging.o
> libout/common/libpassenger_common/Utils/SystemTime.o
> libout/common/libpassenger_common/Utils/StrIntUtils.o
> libout/common/libpassenger_common/Utils/IOUtils.o
> libout/common/libpassenger_common/Utils.o
> rm -f libout/common/libpassenger_common/Utils/Base64.o
> libout/common/libpassenger_common/Utils/CachedFileStat.o
> libout/common/libpassenger_common/Utils/LargeFiles.o
> libout/common/libpassenger_common/ApplicationPool2/Implementation.o
> libout/common/libpassenger_common/ApplicationPool2/AppTypes.o
> libout/common/libpassenger_common/AccountsDatabase.o
> libout/common/libpassenger_common/AgentsStarter.o
> libout/common/libpassenger_common/AgentsBase.o
> libout/common/libpassenger_common/Utils/MD5.o
> libout/common/libpassenger_common/Utils/fib.o
> libout/common/libpassenger_common/Utils/jsoncpp.o
> rm -f
> libout/common/libpassenger_common/agents/LoggingAgent/FilterSupport.o
> rm -rf libout/common/libpassenger_common
> rm -rf agents/PassengerWatchdog agents/PassengerWatchdog.o
> agents/PassengerWatchdog.dSYM
> rm -rf agents/PassengerHelperAgent agents/PassengerHelperAgent.o
> agents/PassengerHelperAgent.dSYM
> rm -rf agents/PassengerLoggingAgent agents/PassengerLoggingAgent.o
> agents/PassengerLoggingAgent.dSYM
> rm -rf agents/SpawnPreparer agents/SpawnPreparer.o
> agents/SpawnPreparer.dSYM
> rm -rf agents/EnvPrinter agents/EnvPrinter.o agents/EnvPrinter.dSYM
> rm -rf agents
> rm -rf libout/apache2/module_libboost_oxt.a
> libout/apache2/module_libboost_oxt
> rm -f libout/apache2/module_libpassenger_common/Logging.o
> libout/apache2/module_libpassenger_common/Utils/SystemTime.o
> libout/apache2/module_libpassenger_common/Utils/StrIntUtils.o
> libout/apache2/module_libpassenger_common/Utils/IOUtils.o
> libout/apache2/module_libpassenger_common/Utils.o
> rm -f libout/apache2/module_libpassenger_common/Utils/Base64.o
> libout/apache2/module_libpassenger_common/Utils/CachedFileStat.o
> libout/apache2/module_libpassenger_common/Utils/LargeFiles.o
> libout/apache2/module_libpassenger_common/ApplicationPool2/Implementation.o
> libout/apache2/module_libpassenger_common/ApplicationPool2/AppTypes.o
> libout/apache2/module_libpassenger_common/AccountsDatabase.o
> libout/apache2/module_libpassenger_common/AgentsStarter.o
> libout/apache2/module_libpassenger_common/AgentsBase.o
> libout/apache2/module_libpassenger_common/Utils/MD5.o
> libout/apache2/module_libpassenger_common/Utils/fib.o
> libout/apache2/module_libpassenger_common/Utils/jsoncpp.o
> rm -f
> libout/apache2/module_libpassenger_common/agents/LoggingAgent/FilterSupport.o
> rm -rf libout/apache2/module_libpassenger_common
> rm -rf libout/apache2/Configuration.o libout/apache2/Bucket.o
> libout/apache2/Hooks.o libout/apache2/mod_passenger.o
> libout/apache2/mod_passenger.so
> mkdir -p libout/apache2/module_libpassenger_common
> g++ -Iext -Iext/common -Iext/libev -Wno-ambiguous-member-template -fPIC
> -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
> -I/usr/include/apr-1.0 -I/usr/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/apr-1.0
> -I/usr/include/openssl -I/usr/include/xmltok -pthread
> -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include
> -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4 -DBOOST_SP_USE_PTHREADS
> -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
> -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-
> initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon
> -feliminate-unused-debug-symbols -feliminate-unused-debug-types
> -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
> libout/apache2/module_libpassenger_common/Logging.o -c
> ext/common/Logging.cpp
> mkdir -p libout/apache2/module_libpassenger_common/Utils
> g++ -Iext -Iext/common -Iext/libev -Wno-ambiguous-member-template -fPIC
> -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
> -I/usr/include/apr-1.0 -I/usr/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/apr-1.0
> -I/usr/include/openssl -I/usr/include/xmltok -pthread
> -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include
> -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4 -DBOOST_SP_USE_PTHREADS
> -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
> -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-
> initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon
> -feliminate-unused-debug-symbols -feliminate-unused-debug-types
> -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
> libout/apache2/module_libpassenger_common/Utils/SystemTime.o -c
> ext/common/Utils/SystemTime.cpp
> g++ -Iext -Iext/common -Iext/libev -Wno-ambiguous-member-template -fPIC
> -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
> -I/usr/include/apr-1.0 -I/usr/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/apr-1.0
> -I/usr/include/openssl -I/usr/include/xmltok -pthread
> -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include
> -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4 -DBOOST_SP_USE_PTHREADS
> -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
> -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-
> initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon
> -feliminate-unused-debug-symbols -feliminate-unused-debug-types
> -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
> libout/apache2/module_libpassenger_common/Utils/StrIntUtils.o -c
> ext/common/Utils/StrIntUtils.cpp
> g++ -Iext -Iext/common -Iext/libev -Wno-ambiguous-member-template -fPIC
> -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
> -I/usr/include/apr-1.0 -I/usr/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/apr-1.0
> -I/usr/include/openssl -I/usr/include/xmltok -pthread
> -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include
> -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4 -DBOOST_SP_USE_PTHREADS
> -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
> -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-
> initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon
> -feliminate-unused-debug-symbols -feliminate-unused-debug-types
> -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
> libout/apache2/module_libpassenger_common/Utils/IOUtils.o -c
> ext/common/Utils/IOUtils.cpp
> g++ -Iext -Iext/common -Iext/libev -Wno-ambiguous-member-template -fPIC
> -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
> -I/usr/include/apr-1.0 -I/usr/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/apr-1.0
> -I/usr/include/openssl -I/usr/include/xmltok -pthread
> -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include
> -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4 -DBOOST_SP_USE_PTHREADS
> -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
> -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-
> initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon
> -feliminate-unused-debug-symbols -feliminate-unused-debug-types
> -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
> libout/apache2/module_libpassenger_common/Utils.o -c ext/common/Utils.cpp
> mkdir -p libout/apache2/module_libpassenger_common/ApplicationPool2
> g++ -Iext -Iext/common -Iext/libev -Wno-ambiguous-member-template -fPIC
> -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
> -I/usr/include/apr-1.0 -I/usr/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/apr-1.0
> -I/usr/include/openssl -I/usr/include/xmltok -pthread
> -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include
> -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4 -DBOOST_SP_USE_PTHREADS
> -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
> -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-
> initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon
> -feliminate-unused-debug-symbols -feliminate-unused-debug-types
> -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
> libout/apache2/module_libpassenger_common/ApplicationPool2/AppTypes.o -c
> ext/common/ApplicationPool2/AppTypes.cpp
> g++ -Iext -Iext/common -Iext/libev -Wno-ambiguous-member-template -fPIC
> -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
> -I/usr/include/apr-1.0 -I/usr/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/apr-1.0
> -I/usr/include/openssl -I/usr/include/xmltok -pthread
> -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include
> -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4 -DBOOST_SP_USE_PTHREADS
> -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
> -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-
> initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon
> -feliminate-unused-debug-symbols -feliminate-unused-debug-types
> -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
> libout/apache2/module_libpassenger_common/Utils/Base64.o -c
> ext/common/Utils/Base64.cpp
> g++ -Iext -Iext/common -Iext/libev -Wno-ambiguous-member-template -fPIC
> -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
> -I/usr/include/apr-1.0 -I/usr/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/apr-1.0
> -I/usr/include/openssl -I/usr/include/xmltok -pthread
> -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include
> -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4 -DBOOST_SP_USE_PTHREADS
> -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
> -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-
> initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon
> -feliminate-unused-debug-symbols -feliminate-unused-debug-types
> -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
> libout/apache2/module_libpassenger_common/Utils/MD5.o -c
> ext/common/Utils/MD5.cpp
> g++ -Iext -Iext/common -Iext/libev -Wno-ambiguous-member-template -fPIC
> -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
> -I/usr/include/apr-1.0 -I/usr/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/apr-1.0
> -I/usr/include/openssl -I/usr/include/xmltok -pthread
> -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include
> -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4 -DBOOST_SP_USE_PTHREADS
> -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
> -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-
> initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon
> -feliminate-unused-debug-symbols -feliminate-unused-debug-types
> -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
> libout/apache2/module_libpassenger_common/Utils/LargeFiles.o -c
> ext/common/Utils/LargeFiles.cpp
> ext/common/Utils/LargeFiles.cpp:4:0: warning: "_LARGEFILE64_SOURCE"
> redefined [enabled by default]
> <command-line>:0:0: note: this is the location of the previous definition
> cc1plus: warning: unrecognized command line option "-Wno-ambiguous-
> member-template" [enabled by default]
> mkdir -p libout/apache2/module_libboost_oxt/boost
> g++ -Iext -fPIC -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
> -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include
> -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT
> -I/usr/include -I/usr/include/apr-1.0 -I/usr/include/openssl
> -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT
> -I/usr/local/include -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4
> -DBOOST_SP_USE_PTHREADS -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-
> parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long
> -Wno-missing-field-initializers -ggdb -DPASSENGER_DEBUG
> -DBOOST_DISABLE_ASSERTS -fcommon -feliminate-unused-debug-symbols
> -feliminate-unused-debug-types -fvisibility=hidden
> -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
> libout/apache2/module_libboost_oxt/boost/error_code.o -c
> ext/boost/libs/system/src/error_code.cpp
> g++ -Iext -fPIC -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
> -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include
> -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT
> -I/usr/include -I/usr/include/apr-1.0 -I/usr/include/openssl
> -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT
> -I/usr/local/include -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4
> -DBOOST_SP_USE_PTHREADS -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-
> parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long
> -Wno-missing-field-initializers -ggdb -DPASSENGER_DEBUG
> -DBOOST_DISABLE_ASSERTS -fcommon -feliminate-unused-debug-symbols
> -feliminate-unused-debug-types -fvisibility=hidden
> -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
> libout/apache2/module_libboost_oxt/boost/future.o -c
> ext/boost/libs/thread/src/future.cpp
> g++ -Iext -fPIC -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
> -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include
> -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT
> -I/usr/include -I/usr/include/apr-1.0 -I/usr/include/openssl
> -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT
> -I/usr/local/include -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4
> -DBOOST_SP_USE_PTHREADS -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-
> parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long
> -Wno-missing-field-initializers -ggdb -DPASSENGER_DEBUG
> -DBOOST_DISABLE_ASSERTS -fcommon -feliminate-unused-debug-symbols
> -feliminate-unused-debug-types -fvisibility=hidden
> -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
> libout/apache2/module_libboost_oxt/boost/tss_null.o -c
> ext/boost/libs/thread/src/tss_null.cpp
> g++ -Iext -fPIC -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
> -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include
> -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT
> -I/usr/include -I/usr/include/apr-1.0 -I/usr/include/openssl
> -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT
> -I/usr/local/include -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4
> -DBOOST_SP_USE_PTHREADS -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-
> parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long
> -Wno-missing-field-initializers -ggdb -DPASSENGER_DEBUG
> -DBOOST_DISABLE_ASSERTS -fcommon -feliminate-unused-debug-symbols
> -feliminate-unused-debug-types -fvisibility=hidden
> -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
> libout/apache2/module_libboost_oxt/boost/thread.o -c
> ext/boost/libs/thread/src/pthread/thread.cpp
> In file included from /usr/include/linux/kernel.h:4:0,
> from /usr/include/arm-linux-gnueabihf/sys/sysinfo.h:25,
> from ext/boost/libs/thread/src/pthread/thread.cpp:20:
> /usr/include/linux/sysinfo.h:8:2: error: ‘__kernel_long_t’ does not name
> a type
> /usr/include/linux/sysinfo.h:9:2: error: ‘__kernel_ulong_t’ does not name
> a type
> /usr/include/linux/sysinfo.h:10:2: error: ‘__kernel_ulong_t’ does not
> name a type
> /usr/include/linux/sysinfo.h:11:2: error: ‘__kernel_ulong_t’ does not
> name a type
> /usr/include/linux/sysinfo.h:12:2: error: ‘__kernel_ulong_t’ does not
> name a type
> /usr/include/linux/sysinfo.h:13:2: error: ‘__kernel_ulong_t’ does not
> name a type
> /usr/include/linux/sysinfo.h:14:2: error: ‘__kernel_ulong_t’ does not
> name a type
> /usr/include/linux/sysinfo.h:15:2: error: ‘__kernel_ulong_t’ does not
> name a type
> /usr/include/linux/sysinfo.h:18:2: error: ‘__kernel_ulong_t’ does not
> name a type
> /usr/include/linux/sysinfo.h:19:2: error: ‘__kernel_ulong_t’ does not
> name a type
> /usr/include/linux/sysinfo.h:21:22: error: ‘__kernel_ulong_t’ was not
> declared in this scope
> ext/boost/libs/thread/src/pthread/thread.cpp: In member function ‘bool
> boost::thread::do_try_join_until(const timespec&)’:
> ext/boost/libs/thread/src/pthread/thread.cpp:379:5: warning: control
> reaches end of non-void function [-Wreturn-type]
> ext/boost/system/error_code.hpp: At global scope:
> ext/boost/system/error_code.hpp:214:36: warning:
> ‘boost::system::posix_category’ defined but not used [-Wunused-variable]
> ext/boost/system/error_code.hpp:215:36: warning:
> ‘boost::system::errno_ecat’ defined but not used [-Wunused-variable]
> ext/boost/system/error_code.hpp:216:36: warning:
> ‘boost::system::native_ecat’ defined but not used [-Wunused-variable]
> rake aborted!
> Command failed with status (1): [g++ -Iext -fPIC -D_REENTRANT
> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
> -I/usr/include/apr-1.0 -I/usr/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
> -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/apr-1.0
> -I/usr/include/openssl -I/usr/include/xmltok -pthread
> -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include
> -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4 -DBOOST_SP_USE_PTHREADS
> -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
> -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-
> initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon
> -feliminate-unused-debug-symbols -feliminate-unused-debug-types
> -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
> libout/apache2/module_libboost_oxt/boost/thread.o -c
> ext/boost/libs/thread/src/pthread/thread.cpp]
> /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.3/build/cplusplus_support.rb:42:in
> `run_compiler'
> /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.3/build/cplusplus_support.rb:52:in
> `compile_cxx'
> /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.3/build/common_library.rb:77:in
> `block (2 levels) in define_libboost_oxt_task'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:246:in
> `call'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:246:in
> `block in execute'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:241:in
> `each'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:241:in
> `execute'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:184:in
> `block in invoke_with_call_chain'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:177:in
> `invoke_with_call_chain'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:205:in
> `block in invoke_prerequisites'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:203:in
> `each'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:203:in
> `invoke_prerequisites'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:183:in
> `block in invoke_with_call_chain'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:177:in
> `invoke_with_call_chain'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:205:in
> `block in invoke_prerequisites'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:203:in
> `each'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:203:in
> `invoke_prerequisites'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:183:in
> `block in invoke_with_call_chain'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:177:in
> `invoke_with_call_chain'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:205:in
> `block in invoke_prerequisites'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:203:in
> `each'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:203:in
> `invoke_prerequisites'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:183:in
> `block in invoke_with_call_chain'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:177:in
> `invoke_with_call_chain'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:170:in
> `invoke'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/application.rb:143:in
> `invoke_task'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/application.rb:101:in
> `block (2 levels) in top_level'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/application.rb:101:in
> `each'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/application.rb:101:in
> `block in top_level'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/application.rb:110:in
> `run_with_threads'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/application.rb:95:in
> `top_level'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/application.rb:73:in
> `block in run'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/application.rb:160:in
> `standard_exception_handling'
> /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/application.rb:70:in
> `run'
> /usr/local/rvm/gems/ruby-2.0.0-p195/bin/ruby_noexec_wrapper:14:in `eval'
> /usr/local/rvm/gems/ruby-2.0.0-p195/bin/ruby_noexec_wrapper:14:in
> `<main>'
> Tasks: TOP => apache2 => libout/apache2/mod_passenger.so =>
> libout/apache2/module_libboost_oxt.a =>
> libout/apache2/module_libboost_oxt/boost/thread.o
> (See full trace by running task with --trace)
>
> --------------------------------------------
>
> It looks like something went wrong
>
> Please read our Users guide for troubleshooting tips:
>
> /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.3/doc/Users
> guide Apache.html
>
> If that doesn't help, please use our support facilities at:
>
> htt ps://ww w.phusionpassenger.com
>
> We'll do our best to help you.

New description:

 I want to install passenger on my RaspberryPi (OS is Raspbmc) but i got
 the following error:



 {{{
 root_at_raspbmc:/home/pi# gem install passenger
 ...
 root_at_raspbmc:/home/pi# apt-get install libcurl4-gnutls-dev librtmp-dev
 ...
 root_at_raspbmc:/home/pi# apt-get install apache2-threaded-dev libapr1-dev
 libaprutil1-dev
 ...
 root_at_raspbmc:/home/pi# source /usr/local/rvm/environments/ruby-2.0.0-p195
 root_at_raspbmc:/home/pi# rvmsudo passenger-install-apache2-module
 Welcome to the Phusion Passenger Apache 2 module installer, v4.0.3.

 This installer will guide you through the entire installation process. It
 shouldn't take more than 3 minutes in total.

 Here's what you can expect from the installation process:

  1. The Apache 2 module will be installed for you.
  2. You'll learn how to configure Apache.
  3. You'll learn how to deploy a Ruby on Rails application.

 Don't worry if anything goes wrong. This installer will advise you on how
 to
 solve any problems.

 Press Enter to continue, or Ctrl-C to abort.


 --------------------------------------------

 Checking for required software...

  * Checking for GNU C compiler...
       Found: yes
       Location: /usr/bin/gcc
  * Checking for GNU C++ compiler...
       Found: yes
       Location: /usr/bin/g++
  * Checking for Curl development headers with SSL support...
       Found: yes
       curl-config location: /usr/bin/curl-config
       Header location: /usr/include/curl/curl.h
       Version: libcurl 7.26.0
       Usable: yes
       Supports SSL: yes
  * Checking for OpenSSL development headers...
       Found: yes
       Location: /usr/include/openssl/ssl.h
  * Checking for Zlib development headers...
       Found: yes
       Location: /usr/include/zlib.h
  * Checking for Ruby development headers...
       Found: yes
       Location:
 /usr/local/rvm/rubies/ruby-2.0.0-p195/include/ruby-2.0.0/ruby.h
  * Checking for OpenSSL support for Ruby...
       Found: yes
  * Checking for RubyGems...
       Found: yes
  * Checking for Rake (associated with
 /usr/local/rvm/wrappers/ruby-2.0.0-p195/ruby)...
       Found: yes
       Location: /usr/local/rvm/wrappers/ruby-2.0.0-p195/rake
  * Checking for rack...
       Found: yes
  * Checking for Apache 2...
 Use of uninitialized value $includedir in concatenation (.) or string at
 (eval 9) line 1.
 Use of uninitialized value $includedir in concatenation (.) or string at
 (eval 9) line 1.
       Found: yes
       Location of httpd: /usr/sbin/apache2
       Apache version: 2.2.22
  * Checking for Apache 2 development headers...
       Found: yes
       Location of apxs2: /usr/bin/apxs2
  * Checking for Apache Portable Runtime (APR) development headers...
       Found: yes
       Location: /usr/bin/apr-1-config
       Version: 1.4.6
  * Checking for Apache Portable Runtime Utility (APU) development
 headers...
       Found: yes
       Location: /usr/bin/apu-1-config
       Version: 1.4.1

 --------------------------------------------
 Compiling and installing Apache 2 module...
 cd /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.3
 /usr/local/rvm/wrappers/ruby-2.0.0-p195/rake apache2:clean apache2
 RELEASE=yes
 # /usr/local/rvm/wrappers/ruby-2.0.0-p195/rake apache2:clean apache2
 RELEASE=yes
 Use of uninitialized value $includedir in concatenation (.) or string at
 (eval 9) line 1.
 Use of uninitialized value $includedir in concatenation (.) or string at
 (eval 9) line 1.
 Use of uninitialized value $includedir in concatenation (.) or string at
 (eval 9) line 1.
 Use of uninitialized value $includedir in concatenation (.) or string at
 (eval 9) line 1.
 rm -rf libout/common/libboost_oxt.a libout/common/libboost_oxt
 rm -f libout/common/libpassenger_common/Logging.o
 libout/common/libpassenger_common/Utils/SystemTime.o
 libout/common/libpassenger_common/Utils/StrIntUtils.o
 libout/common/libpassenger_common/Utils/IOUtils.o
 libout/common/libpassenger_common/Utils.o
 rm -f libout/common/libpassenger_common/Utils/Base64.o
 libout/common/libpassenger_common/Utils/CachedFileStat.o
 libout/common/libpassenger_common/Utils/LargeFiles.o
 libout/common/libpassenger_common/ApplicationPool2/Implementation.o
 libout/common/libpassenger_common/ApplicationPool2/AppTypes.o
 libout/common/libpassenger_common/AccountsDatabase.o
 libout/common/libpassenger_common/AgentsStarter.o
 libout/common/libpassenger_common/AgentsBase.o
 libout/common/libpassenger_common/Utils/MD5.o
 libout/common/libpassenger_common/Utils/fib.o
 libout/common/libpassenger_common/Utils/jsoncpp.o
 rm -f
 libout/common/libpassenger_common/agents/LoggingAgent/FilterSupport.o
 rm -rf libout/common/libpassenger_common
 rm -rf agents/PassengerWatchdog agents/PassengerWatchdog.o
 agents/PassengerWatchdog.dSYM
 rm -rf agents/PassengerHelperAgent agents/PassengerHelperAgent.o
 agents/PassengerHelperAgent.dSYM
 rm -rf agents/PassengerLoggingAgent agents/PassengerLoggingAgent.o
 agents/PassengerLoggingAgent.dSYM
 rm -rf agents/SpawnPreparer agents/SpawnPreparer.o
 agents/SpawnPreparer.dSYM
 rm -rf agents/EnvPrinter agents/EnvPrinter.o agents/EnvPrinter.dSYM
 rm -rf agents
 rm -rf libout/apache2/module_libboost_oxt.a
 libout/apache2/module_libboost_oxt
 rm -f libout/apache2/module_libpassenger_common/Logging.o
 libout/apache2/module_libpassenger_common/Utils/SystemTime.o
 libout/apache2/module_libpassenger_common/Utils/StrIntUtils.o
 libout/apache2/module_libpassenger_common/Utils/IOUtils.o
 libout/apache2/module_libpassenger_common/Utils.o
 rm -f libout/apache2/module_libpassenger_common/Utils/Base64.o
 libout/apache2/module_libpassenger_common/Utils/CachedFileStat.o
 libout/apache2/module_libpassenger_common/Utils/LargeFiles.o
 libout/apache2/module_libpassenger_common/ApplicationPool2/Implementation.o
 libout/apache2/module_libpassenger_common/ApplicationPool2/AppTypes.o
 libout/apache2/module_libpassenger_common/AccountsDatabase.o
 libout/apache2/module_libpassenger_common/AgentsStarter.o
 libout/apache2/module_libpassenger_common/AgentsBase.o
 libout/apache2/module_libpassenger_common/Utils/MD5.o
 libout/apache2/module_libpassenger_common/Utils/fib.o
 libout/apache2/module_libpassenger_common/Utils/jsoncpp.o
 rm -f
 libout/apache2/module_libpassenger_common/agents/LoggingAgent/FilterSupport.o
 rm -rf libout/apache2/module_libpassenger_common
 rm -rf libout/apache2/Configuration.o libout/apache2/Bucket.o
 libout/apache2/Hooks.o libout/apache2/mod_passenger.o
 libout/apache2/mod_passenger.so
 mkdir -p libout/apache2/module_libpassenger_common
 g++ -Iext -Iext/common -Iext/libev -Wno-ambiguous-member-template -fPIC
 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
 -I/usr/include/apr-1.0 -I/usr/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/apr-1.0
 -I/usr/include/openssl -I/usr/include/xmltok -pthread
 -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include
 -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4 -DBOOST_SP_USE_PTHREADS
 -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
 -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-
 initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon
 -feliminate-unused-debug-symbols -feliminate-unused-debug-types
 -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
 libout/apache2/module_libpassenger_common/Logging.o -c
 ext/common/Logging.cpp
 mkdir -p libout/apache2/module_libpassenger_common/Utils
 g++ -Iext -Iext/common -Iext/libev -Wno-ambiguous-member-template -fPIC
 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
 -I/usr/include/apr-1.0 -I/usr/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/apr-1.0
 -I/usr/include/openssl -I/usr/include/xmltok -pthread
 -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include
 -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4 -DBOOST_SP_USE_PTHREADS
 -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
 -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-
 initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon
 -feliminate-unused-debug-symbols -feliminate-unused-debug-types
 -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
 libout/apache2/module_libpassenger_common/Utils/SystemTime.o -c
 ext/common/Utils/SystemTime.cpp
 g++ -Iext -Iext/common -Iext/libev -Wno-ambiguous-member-template -fPIC
 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
 -I/usr/include/apr-1.0 -I/usr/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/apr-1.0
 -I/usr/include/openssl -I/usr/include/xmltok -pthread
 -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include
 -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4 -DBOOST_SP_USE_PTHREADS
 -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
 -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-
 initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon
 -feliminate-unused-debug-symbols -feliminate-unused-debug-types
 -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
 libout/apache2/module_libpassenger_common/Utils/StrIntUtils.o -c
 ext/common/Utils/StrIntUtils.cpp
 g++ -Iext -Iext/common -Iext/libev -Wno-ambiguous-member-template -fPIC
 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
 -I/usr/include/apr-1.0 -I/usr/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/apr-1.0
 -I/usr/include/openssl -I/usr/include/xmltok -pthread
 -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include
 -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4 -DBOOST_SP_USE_PTHREADS
 -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
 -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-
 initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon
 -feliminate-unused-debug-symbols -feliminate-unused-debug-types
 -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
 libout/apache2/module_libpassenger_common/Utils/IOUtils.o -c
 ext/common/Utils/IOUtils.cpp
 g++ -Iext -Iext/common -Iext/libev -Wno-ambiguous-member-template -fPIC
 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
 -I/usr/include/apr-1.0 -I/usr/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/apr-1.0
 -I/usr/include/openssl -I/usr/include/xmltok -pthread
 -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include
 -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4 -DBOOST_SP_USE_PTHREADS
 -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
 -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-
 initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon
 -feliminate-unused-debug-symbols -feliminate-unused-debug-types
 -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
 libout/apache2/module_libpassenger_common/Utils.o -c ext/common/Utils.cpp
 mkdir -p libout/apache2/module_libpassenger_common/ApplicationPool2
 g++ -Iext -Iext/common -Iext/libev -Wno-ambiguous-member-template -fPIC
 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
 -I/usr/include/apr-1.0 -I/usr/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/apr-1.0
 -I/usr/include/openssl -I/usr/include/xmltok -pthread
 -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include
 -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4 -DBOOST_SP_USE_PTHREADS
 -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
 -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-
 initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon
 -feliminate-unused-debug-symbols -feliminate-unused-debug-types
 -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
 libout/apache2/module_libpassenger_common/ApplicationPool2/AppTypes.o -c
 ext/common/ApplicationPool2/AppTypes.cpp
 g++ -Iext -Iext/common -Iext/libev -Wno-ambiguous-member-template -fPIC
 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
 -I/usr/include/apr-1.0 -I/usr/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/apr-1.0
 -I/usr/include/openssl -I/usr/include/xmltok -pthread
 -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include
 -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4 -DBOOST_SP_USE_PTHREADS
 -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
 -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-
 initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon
 -feliminate-unused-debug-symbols -feliminate-unused-debug-types
 -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
 libout/apache2/module_libpassenger_common/Utils/Base64.o -c
 ext/common/Utils/Base64.cpp
 g++ -Iext -Iext/common -Iext/libev -Wno-ambiguous-member-template -fPIC
 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
 -I/usr/include/apr-1.0 -I/usr/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/apr-1.0
 -I/usr/include/openssl -I/usr/include/xmltok -pthread
 -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include
 -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4 -DBOOST_SP_USE_PTHREADS
 -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
 -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-
 initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon
 -feliminate-unused-debug-symbols -feliminate-unused-debug-types
 -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
 libout/apache2/module_libpassenger_common/Utils/MD5.o -c
 ext/common/Utils/MD5.cpp
 g++ -Iext -Iext/common -Iext/libev -Wno-ambiguous-member-template -fPIC
 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
 -I/usr/include/apr-1.0 -I/usr/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/apr-1.0
 -I/usr/include/openssl -I/usr/include/xmltok -pthread
 -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include
 -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4 -DBOOST_SP_USE_PTHREADS
 -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
 -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-
 initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon
 -feliminate-unused-debug-symbols -feliminate-unused-debug-types
 -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
 libout/apache2/module_libpassenger_common/Utils/LargeFiles.o -c
 ext/common/Utils/LargeFiles.cpp
 ext/common/Utils/LargeFiles.cpp:4:0: warning: "_LARGEFILE64_SOURCE"
 redefined [enabled by default]
 <command-line>:0:0: note: this is the location of the previous definition
 cc1plus: warning: unrecognized command line option "-Wno-ambiguous-member-
 template" [enabled by default]
 mkdir -p libout/apache2/module_libboost_oxt/boost
 g++ -Iext -fPIC -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include
 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT
 -I/usr/include -I/usr/include/apr-1.0 -I/usr/include/openssl
 -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT
 -I/usr/local/include -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4
 -DBOOST_SP_USE_PTHREADS -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter
 -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-
 missing-field-initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS
 -fcommon -feliminate-unused-debug-symbols -feliminate-unused-debug-types
 -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
 libout/apache2/module_libboost_oxt/boost/error_code.o -c
 ext/boost/libs/system/src/error_code.cpp
 g++ -Iext -fPIC -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include
 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT
 -I/usr/include -I/usr/include/apr-1.0 -I/usr/include/openssl
 -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT
 -I/usr/local/include -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4
 -DBOOST_SP_USE_PTHREADS -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter
 -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-
 missing-field-initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS
 -fcommon -feliminate-unused-debug-symbols -feliminate-unused-debug-types
 -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
 libout/apache2/module_libboost_oxt/boost/future.o -c
 ext/boost/libs/thread/src/future.cpp
 g++ -Iext -fPIC -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include
 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT
 -I/usr/include -I/usr/include/apr-1.0 -I/usr/include/openssl
 -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT
 -I/usr/local/include -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4
 -DBOOST_SP_USE_PTHREADS -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter
 -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-
 missing-field-initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS
 -fcommon -feliminate-unused-debug-symbols -feliminate-unused-debug-types
 -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
 libout/apache2/module_libboost_oxt/boost/tss_null.o -c
 ext/boost/libs/thread/src/tss_null.cpp
 g++ -Iext -fPIC -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include
 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT
 -I/usr/include -I/usr/include/apr-1.0 -I/usr/include/openssl
 -I/usr/include/xmltok -pthread -I/usr/include/apache2 -D_REENTRANT
 -I/usr/local/include -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4
 -DBOOST_SP_USE_PTHREADS -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter
 -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-
 missing-field-initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS
 -fcommon -feliminate-unused-debug-symbols -feliminate-unused-debug-types
 -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
 libout/apache2/module_libboost_oxt/boost/thread.o -c
 ext/boost/libs/thread/src/pthread/thread.cpp
 In file included from /usr/include/linux/kernel.h:4:0,
                  from /usr/include/arm-linux-gnueabihf/sys/sysinfo.h:25,
                  from ext/boost/libs/thread/src/pthread/thread.cpp:20:
 /usr/include/linux/sysinfo.h:8:2: error: ‘__kernel_long_t’ does not name a
 type
 /usr/include/linux/sysinfo.h:9:2: error: ‘__kernel_ulong_t’ does not name
 a type
 /usr/include/linux/sysinfo.h:10:2: error: ‘__kernel_ulong_t’ does not name
 a type
 /usr/include/linux/sysinfo.h:11:2: error: ‘__kernel_ulong_t’ does not name
 a type
 /usr/include/linux/sysinfo.h:12:2: error: ‘__kernel_ulong_t’ does not name
 a type
 /usr/include/linux/sysinfo.h:13:2: error: ‘__kernel_ulong_t’ does not name
 a type
 /usr/include/linux/sysinfo.h:14:2: error: ‘__kernel_ulong_t’ does not name
 a type
 /usr/include/linux/sysinfo.h:15:2: error: ‘__kernel_ulong_t’ does not name
 a type
 /usr/include/linux/sysinfo.h:18:2: error: ‘__kernel_ulong_t’ does not name
 a type
 /usr/include/linux/sysinfo.h:19:2: error: ‘__kernel_ulong_t’ does not name
 a type
 /usr/include/linux/sysinfo.h:21:22: error: ‘__kernel_ulong_t’ was not
 declared in this scope
 ext/boost/libs/thread/src/pthread/thread.cpp: In member function ‘bool
 boost::thread::do_try_join_until(const timespec&)’:
 ext/boost/libs/thread/src/pthread/thread.cpp:379:5: warning: control
 reaches end of non-void function [-Wreturn-type]
 ext/boost/system/error_code.hpp: At global scope:
 ext/boost/system/error_code.hpp:214:36: warning:
 â€˜boost::system::posix_category’ defined but not used [-Wunused-variable]
 ext/boost/system/error_code.hpp:215:36: warning:
 â€˜boost::system::errno_ecat’ defined but not used [-Wunused-variable]
 ext/boost/system/error_code.hpp:216:36: warning:
 â€˜boost::system::native_ecat’ defined but not used [-Wunused-variable]
 rake aborted!
 Command failed with status (1): [g++ -Iext -fPIC -D_REENTRANT
 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0
 -I/usr/include/apr-1.0 -I/usr/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
 -D_LARGEFILE64_SOURCE -D_REENTRANT -I/usr/include -I/usr/include/apr-1.0
 -I/usr/include/openssl -I/usr/include/xmltok -pthread
 -I/usr/include/apache2 -D_REENTRANT -I/usr/local/include
 -DHAS_TR1_UNORDERED_MAP -DHAVE_ACCEPT4 -DBOOST_SP_USE_PTHREADS
 -DHAS_ALLOCA_H -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
 -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-
 initializers -ggdb -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -fcommon
 -feliminate-unused-debug-symbols -feliminate-unused-debug-types
 -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -Wno-attributes -o
 libout/apache2/module_libboost_oxt/boost/thread.o -c
 ext/boost/libs/thread/src/pthread/thread.cpp]
 /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.3/build/cplusplus_support.rb:42:in
 `run_compiler'
 /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.3/build/cplusplus_support.rb:52:in
 `compile_cxx'
 /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.3/build/common_library.rb:77:in
 `block (2 levels) in define_libboost_oxt_task'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:246:in
 `call'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:246:in
 `block in execute'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:241:in
 `each'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:241:in
 `execute'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:184:in
 `block in invoke_with_call_chain'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:177:in
 `invoke_with_call_chain'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:205:in
 `block in invoke_prerequisites'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:203:in
 `each'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:203:in
 `invoke_prerequisites'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:183:in
 `block in invoke_with_call_chain'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:177:in
 `invoke_with_call_chain'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:205:in
 `block in invoke_prerequisites'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:203:in
 `each'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:203:in
 `invoke_prerequisites'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:183:in
 `block in invoke_with_call_chain'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:177:in
 `invoke_with_call_chain'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:205:in
 `block in invoke_prerequisites'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:203:in
 `each'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:203:in
 `invoke_prerequisites'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:183:in
 `block in invoke_with_call_chain'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:177:in
 `invoke_with_call_chain'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/task.rb:170:in
 `invoke'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/application.rb:143:in
 `invoke_task'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/application.rb:101:in
 `block (2 levels) in top_level'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/application.rb:101:in
 `each'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/application.rb:101:in
 `block in top_level'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/application.rb:110:in
 `run_with_threads'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/application.rb:95:in
 `top_level'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/application.rb:73:in
 `block in run'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/application.rb:160:in
 `standard_exception_handling'
 /usr/local/rvm/gems/ruby-2.0.0-p195_at_global/gems/rake-10.0.4/lib/rake/application.rb:70:in
 `run'
 /usr/local/rvm/gems/ruby-2.0.0-p195/bin/ruby_noexec_wrapper:14:in `eval'
 /usr/local/rvm/gems/ruby-2.0.0-p195/bin/ruby_noexec_wrapper:14:in `<main>'
 Tasks: TOP => apache2 => libout/apache2/mod_passenger.so =>
 libout/apache2/module_libboost_oxt.a =>
 libout/apache2/module_libboost_oxt/boost/thread.o
 (See full trace by running task with --trace)
 }}}


 --------------------------------------------

 It looks like something went wrong

 Please read our Users guide for troubleshooting tips:

    /usr/local/rvm/gems/ruby-2.0.0-p195/gems/passenger-4.0.3/doc/Users
 guide Apache.html

 If that doesn't help, please use our support facilities at:

    htt ps://ww w.phusionpassenger.com

 We'll do our best to help you.

--
-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8616#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC