[chef] Re: Problems when trying to install chef from the head of github.


Chronological Thread 
  • From: Arjuna Christensen < >
  • To: " " < >
  • Cc: chef < >
  • Subject: [chef] Re: Problems when trying to install chef from the head of github.
  • Date: Mon, 28 Dec 2009 21:27:51 +1300

Hello,

On 28/12/2009, at 9:09 PM, Dikang Gu < "> > wrote:

Hi folks,

Hope that this does not disturb your vacations. :)

I'm trying to install chef from the head of github on ubuntu 9.10, following the wiki:

This document has not been updated for the current HEAD, which is Chef 0.8

http://wiki.opscode.com/display/chef/Installing+Chef+from+HEAD.  But I meet the problems when trying to following command:

cd ~/chef
sudo gem install merb-core
rake install

I got the following error:

The following error is from missing debian/ubuntu package libruby1.8-dev, if I recall correctly.


:~/temp/chef$ rake install
(in /home/dikang/temp/chef)
rake install
(in /home/dikang/temp/chef/chef)
mkdir -p pkg
WARNING:  no rubyforge_project specified
WARNING:  description and summary are identical
  Successfully built RubyGem
  Name: chef
  Version: 0.8.0
  File: chef-0.8.0.gem
mv chef-0.8.0.gem pkg/chef-0.8.0.gem
sudo gem install pkg/chef-0.8.0 --no-rdoc --no-ri
Building native extensions.  This could take a while...
ERROR:  Error installing pkg/chef-0.8.0:
    ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
    from extconf.rb:1


Gem files will remain installed in /var/lib/gems/1.8/gems/json-1.2.0 for inspection.
Results logged to /var/lib/gems/1.8/gems/json-1.2.0/ext/json/ext/generator/gem_make.out
rake aborted!
Command failed with status (1): [sudo gem install pkg/chef-0.8.0 --no-rdoc ...]
/home/dikang/temp/chef/chef/Rakefile:44
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [rake install...]
/home/dikang/temp/chef/Rakefile:17
(See full trace by running task with --trace)


Could you give me any advices about that?

Happy new Year!
Dikang


Regards,

AJ



Archive powered by MHonArc 2.6.16.

§