Ticket #41 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

ruby.rb task install fails on building zlib & openssl

Reported by: zippy Assigned to: somebody
Priority: blocker Milestone:
Component: component1 Version:
Keywords: 1.99 Cc:

Description

The install_rails_stack task is failing on the make calls to zlib and openssl. See blow from the output. In both cases make is failing with:

make: Nothing to be done for `all'.

I'm running this on a minimal install of Gutsy with build-essentials installed. I fixed this temporarily by commenting out:

:post_install => "#{ext_zlib} #{ext_openssl}"

and reinstating:

apt.install( {:base => %w(zlib1g-dev zlib1g openssl libssl-dev)}, :stable )

in install_deps


** [out
166.84.7.85] creating Makefile
** [out
166.84.7.85] make: Nothing to be done for `all'.

*** [err :: 166.84.7.85] make: *** *** [err :: 166.84.7.85] No rule to make target `test' *** [err :: 166.84.7.85] . Stop.

** [out
166.84.7.85] /usr/bin/install -c -m 0755 zlib.so
/usr/local/lib/ruby/site_ruby/1.8/i686-linux *** [err :: 166.84.7.85] /usr/bin/install: *** [err :: 166.84.7.85] cannot stat `zlib.so' *** [err :: 166.84.7.85] : No such file or directory *** [err :: 166.84.7.85] *** [err :: 166.84.7.85] make: *** [err :: 166.84.7.85] *** /usr/local/lib/ruby/site_ruby/1.8/i686-linux/zlib.so Error 1 *** [err :: 166.84.7.85] *** [err :: 166.84.7.85] cd: 7: *** [err :: 166.84.7.85] can't cd to ext/openssl *** [err :: 166.84.7.85]
** [out
166.84.7.85] checking for deflateReset() in -lz...
** [out
166.84.7.85] yes
** [out
166.84.7.85] checking for zlib.h...
** [out
166.84.7.85] yes
** [out
166.84.7.85] checking for kind of operating system...
** [out
166.84.7.85] Unix
** [out
166.84.7.85] creating Makefile
** [out
166.84.7.85] make: Nothing to be done for `all'.
*** [err :: 166.84.7.85] make: *** *** [err :: 166.84.7.85] No rule to make target `test' *** [err :: 166.84.7.85] . Stop.
** [out
166.84.7.85] /usr/bin/install -c -m 0755 zlib.so
/usr/local/lib/ruby/site_ruby/1.8/i686-linux *** [err :: 166.84.7.85] /usr/bin/install: *** [err :: 166.84.7.85] cannot stat `zlib.so' *** [err :: 166.84.7.85] : No such file or directory *** [err :: 166.84.7.85] *** [err :: 166.84.7.85] make: *** [err :: 166.84.7.85] *** /usr/local/lib/ruby/site_ruby/1.8/i686-linux/zlib.so Error 1 *** [err :: 166.84.7.85]

command finished

command "sudo -p 'sudo password: ' sh -c '\\\n cd /usr/local/src/ruby-1.8.6-p110;\\\n ./configure --with-readline-dir=/usr/local ;\\\n make;\\\n make install;\\\n cd ext/zlib; ruby extconf.rb; make; make test; make install; cd ext/openssl; ruby extconf.rb; make; make test; make install;\\\n '" failed on 166.84.7.85

Change History

01/31/08 19:37:57 changed by mbailey

  • status changed from new to closed.
  • resolution set to fixed.