Hi Hongli,
Thank you, here is the entire output with some parts trimmed for
readability (this is with the automatic install -- this is my first
install so if I have to install with any specific arguments it will be
helpful for me to get the complete command to copy/paste):
Compiling Passenger support files...
# /usr/bin/ruby1.8 /usr/bin/rake nginx:clean nginx RELEASE=yes
rm -rf ext/common/libboost_oxt.a ext/common/libboost_oxt
rm -rf ext/common/libpassenger_common.a ext/common/libpassenger_common
rm -f agents/PassengerWatchdog agents/PassengerLoggingAgent
rm -rf agents/nginx/PassengerHelperAgent
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_SFENCE -DHAS_LFENCE -Wextra -Wno-
unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-
missing-field-initializers -Wno-long-long -g -DPASSENGER_DEBUG -
DBOOST_DISABLE_ASSERTS -o ext/common/libboost_oxt/aggregate.o -c ext/
common/libboost_oxt/aggregate.cpp
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
mkdir -p ext/common/libpassenger_common
g++ -Iext -Iext/common -Iext/libev -D_REENTRANT -I/usr/local/include -
DHASH_NAMESPACE="__gnu_cxx" -DHASH_NAMESPACE="__gnu_cxx" -
DHASH_FUN_H="<hash_fun.h>" -DHAS_SFENCE -DHAS_LFENCE -Wextra -Wno-
unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-
missing-field-initializers -Wno-long-long -g -DPASSENGER_DEBUG -
DBOOST_DISABLE_ASSERTS -o ext/common/libpassenger_common/aggregate.o -
c ext/common/libpassenger_common/aggregate.cpp
rm -rf ext/common/libpassenger_common.a
ar cru ext/common/libpassenger_common.a ext/common/libpassenger_common/
aggregate.o
ranlib ext/common/libpassenger_common.a
g++ ext/nginx/HelperAgent.cpp -o agents/nginx/PassengerHelperAgent -
Iext -Iext/common -D_REENTRANT -I/usr/local/include -
DHASH_NAMESPACE="__gnu_cxx" -DHASH_NAMESPACE="__gnu_cxx" -
DHASH_FUN_H="<hash_fun.h>" -DHAS_SFENCE -DHAS_LFENCE -Wextra -Wno-
unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-
missing-field-initializers -Wno-long-long -g -DPASSENGER_DEBUG -
DBOOST_DISABLE_ASSERTS ext/common/libpassenger_common.a ext/common/
libboost_oxt.a -lpthread -rdynamic
In file included from ext/nginx/HelperAgent.cpp:63:0:
ext/common/Utils/Dechunker.h:232:8: warning: extra tokens at end of
#endif directive [enabled by default]
g++ ext/common/Watchdog.cpp -o agents/PassengerWatchdog -Iext -Iext/
common -D_REENTRANT -I/usr/local/include -DHASH_NAMESPACE="__gnu_cxx" -
DHASH_NAMESPACE="__gnu_cxx" -DHASH_FUN_H="<hash_fun.h>" -DHAS_SFENCE -
DHAS_LFENCE -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-
arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -
g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS ext/common/
libpassenger_common.a ext/common/libboost_oxt.a -lpthread -rdynamic
g++ ext/common/LoggingAgent/Main.cpp -o agents/PassengerLoggingAgent -
Iext -Iext/common -Iext/libev -D_REENTRANT -I/usr/local/include -
DHASH_NAMESPACE="__gnu_cxx" -DHASH_NAMESPACE="__gnu_cxx" -
DHASH_FUN_H="<hash_fun.h>" -DHAS_SFENCE -DHAS_LFENCE -Wextra -Wno-
unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-
missing-field-initializers -Wno-long-long -g -DPASSENGER_DEBUG -
DBOOST_DISABLE_ASSERTS ext/common/libpassenger_common.a ext/common/
libboost_oxt.a ext/libev/.libs/libev.a -L/usr/lib/i386-linux-gnu -
lcurl -Wl,-Bsymbolic-functions -lz -lpthread -rdynamic
--------------------------------------------
Compiling and installing Nginx...
# sh ./configure --prefix='/opt/nginx' --with-http_ssl_module --with-
cc-opt='-Wno-error' --add-module='/usr/lib/ruby/gems/1.8/gems/
passenger-3.0.8/ext/nginx'
checking for OS
+ Linux 3.0.0-8-generic-pae i686
checking for C compiler ... found
+ using GNU C compiler
+ gcc version: 4.6.1 (Ubuntu/Linaro 4.6.1-6ubuntu6)
[Lots of checks trimmed for readability]
configuring additional modules
adding module in /usr/lib/ruby/gems/1.8/gems/passenger-3.0.8/ext/nginx
checking for Math library ... found
+ ngx_http_passenger_module was configured
checking for PCRE library ... found
checking for OpenSSL library ... found
checking for zlib library ... found
creating objs/Makefile
Configuration summary
+ using system PCRE library
+ using system OpenSSL library
+ md5: using OpenSSL library
+ sha1: using OpenSSL library
+ using system zlib library
nginx path prefix: "/opt/nginx"
nginx binary file: "/opt/nginx/sbin/nginx"
nginx configuration prefix: "/opt/nginx/conf"
nginx configuration file: "/opt/nginx/conf/nginx.conf"
nginx pid file: "/opt/nginx/logs/nginx.pid"
nginx error log file: "/opt/nginx/logs/error.log"
nginx http access log file: "/opt/nginx/logs/access.log"
nginx http client request body temporary files: "client_body_temp"
nginx http proxy temporary files: "proxy_temp"
nginx http fastcgi temporary files: "fastcgi_temp"
nginx http uwsgi temporary files: "uwsgi_temp"
nginx http scgi temporary files: "scgi_temp"
# make
make -f objs/Makefile
make[1]: Entering directory `/tmp/root-passenger-9772/nginx-1.0.5'
[lots of gcc output trimmed for readability]
gcc -o objs/nginx \
[lots of .o trimmed for readability]
-lpthread -lcrypt -lm /usr/lib/ruby/gems/1.8/gems/passenger-3.0.8/ext/
nginx/../common/libpassenger_common.a /usr/lib/ruby/gems/1.8/gems/
passenger-3.0.8/ext/nginx/../common/libboost_oxt.a -lstdc++ -lpthread -
lpcre -lssl -lcrypto -ldl -lz
/usr/bin/ld: /usr/lib/ruby/gems/1.8/gems/passenger-3.0.8/ext/nginx/../
common/libpassenger_common.a(aggregate.o): undefined reference to
symbol 'pow@@GLIBC_2.0'
/usr/bin/ld: note: 'pow@@GLIBC_2.0' is defined in DSO /usr/lib/i386-
linux-gnu/libm.so so try adding it to the linker command line
/usr/lib/i386-linux-gnu/libm.so: could not read symbols: Invalid
operation
collect2: ld returned 1 exit status
make[1]: *** [objs/nginx] Error 1
make[1]: Leaving directory `/tmp/root-passenger-9772/nginx-1.0.5'
make: *** [build] Error 2
--------------------------------------------
It looks like something went wrong
Please read our Users guide for troubleshooting tips:
/usr/lib/ruby/gems/1.8/gems/passenger-3.0.8/doc/Users guide
Nginx.html
If that doesn't help, please use our support facilities at:
http://www.modrails.com/
We'll do our best to help you.
> > For more options, visit this group athttp://
groups.google.com/group/phusion-passenger?hl=en.
> E-mail:
i...@phusion.nl