millisami / chef-errbit

Chef cookbook that deploys errbit project
Other
13 stars 20 forks source link

Installation of Nokogiri fails #2

Open PaulusTM opened 11 years ago

PaulusTM commented 11 years ago
root@Errbit:~# cat /home/deployer/errbit/releases/710961d64d156e970952e30524f67aa0e208dce9/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.5/ext/nokogiri/gem_make.out
/opt/chef/embedded/bin/ruby extconf.rb
checking for libxml/parser.h... yes
checking for libxslt/xslt.h... yes
checking for libexslt/exslt.h... yes
checking for iconv_open() in iconv.h... no
checking for iconv_open() in -liconv... yes
checking for xmlParseDoc() in -lxml2... yes
checking for xsltParseStylesheetDoc() in -lxslt... yes
checking for exsltFuncRegister() in -lexslt... yes
checking for xmlHasFeature()... yes
checking for xmlFirstElementChild()... yes
checking for xmlRelaxNGSetParserStructuredErrors()... yes
checking for xmlRelaxNGSetParserStructuredErrors()... yes
checking for xmlRelaxNGSetValidStructuredErrors()... yes
checking for xmlSchemaSetValidStructuredErrors()... yes
checking for xmlSchemaSetParserStructuredErrors()... yes
creating Makefile

make
sh: 1: make: not found

By default make is not installed by the recipe. Perhaps install the os specific build tools?

millisami commented 11 years ago

Which OS are u using? Tested against Ubuntu only.

PaulusTM commented 11 years ago

I'm using Ubuntu 12.04 LTS. If you run a clean install with no package selection ( really bare ) you do not have make installed by default.

millisami commented 11 years ago

Maybe because I'm using the vagrant box built by Opscode at https://opscode-vm.s3.amazonaws.com/vagrant/boxes/opscode-ubuntu-12.04.box So the make might have been pre-installed when it was packaged up. Can you give it a try with that box of Opscode?

chulkilee commented 11 years ago

Opscode boxes do not have build-essential installed - see https://github.com/opscode/bento

You need to run sudo apt-get install build-essential

It would be better if chef-errbit uses build-essential cookbook or mentions this requirement in README or somewhere.

millisami commented 11 years ago

Sure, I'll be adding that dependency shortly.

millisami commented 11 years ago

@chulkilee @MasterExplosive I've uploaded the new version 0.4.0. Can you check with this version?

chewi commented 9 years ago

I think you can close this now. Although the cookbook didn't entirely work in its current state, I didn't encounter this problem.