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

Chronological Thread 
  • From: Dikang Gu < >
  • To:
  • Subject: [chef] Re: Re: Problems when trying to install chef from the head of github.
  • Date: Mon, 28 Dec 2009 19:35:23 +0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=RWUVw7rhrLMRQDPpf2RlyCj2JREzd6vkQWCJNn5bclPhovA7wAcVFMq7/MQrPK3jqU qRoIPd38oRL7yu5mm/S1dBHxgtDoDMVpGZpnkjwtkH6xbmnjybvlns9LufU0dSAUMy3P N4cAnvA97jifWYEvns45jQYYkwhs05vJPs1+4=

Get the answer from IRC.  :)


On Mon, Dec 28, 2009 at 7:18 PM, Dikang Gu < "> > wrote:
Thanks for your information AJ.

I just tried another document : http://likens.us/articles/2009/12/14/chef-8-down-and-dirty-in-screen/ to install the chef 0.8.

It seems good until I try to open the http://localhost:4000 in the browser, I meet the error:

Unauthorized 401

Failed to authenticate!

what does this mean?

And as said in the doc, where should I configure the following information?

5. Now configure knife to work with the webui key and you should be solid.

OPSCODE_USER="chef-webui";export OPSCODE_USER
OPSCODE_KEY="/etc/chef/webui.pem";export OPSCODE_KEY



On Mon, Dec 28, 2009 at 4:27 PM, Arjuna Christensen < " target="_blank"> > 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 ...]
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [rake install...]
(See full trace by running task with --trace)

Could you give me any advices about that?

Happy new Year!



Archive powered by MHonArc 2.6.16.