Skip to content

Instantly share code, notes, and snippets.

@jlecour
Created November 1, 2010 15:53
Show Gist options
  • Save jlecour/658405 to your computer and use it in GitHub Desktop.
Save jlecour/658405 to your computer and use it in GitHub Desktop.
Passenger Standalone build failure (because of CDPATH)
→ passenger start
Nginx core 0.8.52 isn't installed
Phusion Passenger Standalone will automatically install it into:
/Users/jlecour/.passenger/standalone/3.0.0-x86_64-ruby1.8.7-macosx-10.6/nginx-0.8.52
This will only be done once. Please sit back and relax while installation is
in progress.
Checking for required software...
* GNU C++ compiler... found at /usr/bin/g++
* GNU make... found at /usr/bin/make
* A download tool like 'wget' or 'curl'... found at /usr/bin/curl
* Ruby development headers... found
* OpenSSL support for Ruby... found
* RubyGems... found
* Rake... found at /Users/jlecour/.rvm/wrappers/ree-1.8.7-2010.02@global/rake
* rack... found
* Curl development headers with SSL support... found
* OpenSSL development headers... found
* Zlib development headers... found
* file-tail... found
* daemon_controller >= 0.2.5... found
Downloading Passenger binaries for your platform, if available...
# curl http://standalone-binaries.modrails.com/3.0.0-x86_64-ruby1.8.7-macosx-10.6/support.tar.gz -f -L -o /tmp/jlecour-passenger-standalone-25556/support.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (22) The requested URL returned error: 404
Looks like it's not. But don't worry, the necessary binaries will be compiled from source instead.
Downloading Nginx binaries for your platform, if available...
# curl http://standalone-binaries.modrails.com/3.0.0-x86_64-ruby1.8.7-macosx-10.6/nginx-0.8.52.tar.gz -f -L -o /tmp/jlecour-passenger-standalone-25556/nginx-0.8.52.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
Looks like it's not. But don't worry, the necessary binaries will be compiled from source instead.
Downloading Nginx...
# curl http://sysoev.ru/nginx/nginx-0.8.52.tar.gz -f -L -o /tmp/jlecour-passenger-standalone-25556/nginx-0.8.52.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 633k 100 633k 0 0 110k 0 0:00:05 0:00:05 --:--:-- 137k
Installing Phusion Passenger Standalone...
[***************************** ] Compiling Phusion Passenger...
*** ERROR: the following command failed:
cd ext/libev && sh ./configure --disable-shared --enable-static
sh: line 0: cd: ext/libev: No such file or directory
rake aborted!
Command failed with status (1): [cd ext/libev && sh ./configure --disable-s...]
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:995:in `sh'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:1010:in `call'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:1010:in `sh'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:1094:in `sh'
/Users/jlecour/.passenger/standalone/3.0.0-x86_64-ruby1.8.7-macosx-10.6/support/build/common_library.rb:173
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/Users/jlecour/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:604:in `each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
/Users/jlecour/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:604:in `each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
/Users/jlecour/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:604:in `each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
/Users/jlecour/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:604:in `each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
/Users/jlecour/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/gems/rake-0.8.7/bin/rake:31
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/bin/rake:19:in `load'
/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/bin/rake:19
passenger start 34,33s user 6,98s system 70% cpu 58,708 total
→ rvm info
ree-1.8.7-2010.02@global:
system:
uname: "Darwin Solaris.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386"
bash: "/bin/bash => GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)"
zsh: "/bin/zsh => zsh 4.3.9 (i386-apple-darwin10.0)"
rvm:
version: "rvm 1.0.18 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]"
ruby:
interpreter: "ruby"
version: "1.8.7"
date: "2010-04-19"
platform: "i686-darwin10.4.0"
patchlevel: "2010-04-19 patchlevel 253"
full_version: "ruby 1.8.7 (2010-04-19 patchlevel 253) [i686-darwin10.4.0], MBARI 0x6770, Ruby Enterprise Edition 2010.02"
homes:
gem: "/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global"
ruby: "/Users/jlecour/.rvm/rubies/ree-1.8.7-2010.02"
binaries:
ruby: "/Users/jlecour/.rvm/rubies/ree-1.8.7-2010.02/bin/ruby"
irb: "/Users/jlecour/.rvm/rubies/ree-1.8.7-2010.02/bin/irb"
gem: "/Users/jlecour/.rvm/rubies/ree-1.8.7-2010.02/bin/gem"
rake: "/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/bin/rake"
environment:
PATH: "/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global/bin:/Users/jlecour/.rvm/rubies/ree-1.8.7-2010.02/bin:/Users/jlecour/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
GEM_HOME: "/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global"
GEM_PATH: "/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global:/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global"
BUNDLE_PATH: "/Users/jlecour/.rvm/gems/ree-1.8.7-2010.02@global"
MY_RUBY_HOME: "/Users/jlecour/.rvm/rubies/ree-1.8.7-2010.02"
IRBRC: "/Users/jlecour/.rvm/rubies/ree-1.8.7-2010.02/.irbrc"
RUBYOPT: ""
gemset: "global"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment