[chef] Re: Re: Re: Re: Re: Re: Re: opensolaris


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Re: opensolaris
  • Date: Thu, 17 Sep 2009 15:54:43 -0600

Karl,
Basically what I mean by "gnuified" is to have the GNU equivalents for everything. So, you'll want to make sure you have gnu make, gcc, gnu libc, and probably more. From what I can glean from doing an ldd on my install of EventMachine, you'll also need libstdc++ and libiconv. I might have also needed to modify $PATH so ginstall would be found.

HTH,
Dan DeLeo

On Thu, Sep 17, 2009 at 3:36 PM, Karl Rossing < "> > wrote:
Ok... That fixed it...

On to the next thing

[Thu, 17 Sep 2009 16:28:00 -0500] DEBUG: STDERR: ERROR:  Error
installing stompserver:
       ERROR: Failed to build gem native extension.

/usr/local/chef/bin/ruby extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... no
checking for inotify_init() in sys/inotify.h... no
checking for __NR_inotify_init in sys/syscall.h... no
checking for writev() in sys/uio.h... no
checking for sys/event.h... no
checking for main() in -lnsl... no
could not find library: nsl
*** extconf.rb failed ***

Karl

On Thu, Sep 17, 2009 at 4:19 PM, Scott M. Likens < "> > wrote:
> Hi Karl,
>
> You may need to re-configure rubygems to handle/honor proxy servers.
>
> for example in root's /root/.gemrc
>
> ---
> gem: --http-proxy http://1.2.3.4:3128
>
> replace 1.2.34 with your actual ip/port of your proxy server.
>
> Sincerely,
>
> Scott M. Likens
>
> On Sep 17, 2009, at 1:59 PM, Karl Rossing wrote:
>
>> Ohh...
>>
>> It just generated another error
>> [Thu, 17 Sep 2009 15:57:46 -0500] ERROR: gem_package[stompserver]
>> (/usr/local/chef/lib/ruby/gems/1.8/gems/chef-0.7.10/lib/chef/recipe.rb
>> line 191) had an error:
>> gem list --remote failed - #<Process::Status: pid=10063,exited(1)>!
>>
>> /usr/local/chef/lib/ruby/gems/1.8/gems/chef-0.7.10/lib/chef/provider/package/rubygems.rb:92:in
>>
>> `candidate_version'/usr/local/chef/lib/ruby/gems/1.8/gems/chef-0.7.10/lib/chef/provider/package.rb:44:in
>>
>> `action_install'/usr/local/chef/lib/ruby/gems/1.8/gems/chef-0.7.10/lib/chef/runner.rb:85:in
>>
>> `send'/usr/local/chef/lib/ruby/gems/1.8/gems/chef-0.7.10/lib/chef/runner.rb:85:in
>>
>> `converge'/usr/local/chef/lib/ruby/gems/1.8/gems/chef-0.7.10/lib/chef/runner.rb:83:in
>>
>> `each'/usr/local/chef/lib/ruby/gems/1.8/gems/chef-0.7.10/lib/chef/runner.rb:83:in
>>
>> `converge'/usr/local/chef/lib/ruby/gems/1.8/gems/chef-0.7.10/lib/chef/resource_collection.rb:58:in
>>
>> `each'/usr/local/chef/lib/ruby/gems/1.8/gems/chef-0.7.10/lib/chef/resource_collection.rb:57:in
>>
>> `each'/usr/local/chef/lib/ruby/gems/1.8/gems/chef-0.7.10/lib/chef/runner.rb:61:in
>>
>> `converge'/usr/local/chef/lib/ruby/gems/1.8/gems/chef-0.7.10/lib/chef/client.rb:382:in
>>
>> `converge'/usr/local/chef/lib/ruby/gems/1.8/gems/chef-0.7.10/lib/chef/client.rb:103:in
>>
>> `run_solo'/usr/local/chef/lib/ruby/gems/1.8/gems/chef-0.7.10/lib/chef/application/solo.rb:191:in
>>
>> `run_application'/usr/local/chef/lib/ruby/gems/1.8/gems/chef-0.7.10/lib/chef/application/solo.rb:183:in
>>
>> `loop'/usr/local/chef/lib/ruby/gems/1.8/gems/chef-0.7.10/lib/chef/application/solo.rb:183:in
>>
>> `run_application'/usr/local/chef/lib/ruby/gems/1.8/gems/chef-0.7.10/lib/chef/application.rb:57:in
>>
>> `run'/usr/local/chef/lib/ruby/gems/1.8/gems/chef-0.7.10/bin/chef-solo:26./chef-solo:19:in
>> `load'./chef-solo:19
>>
>> Could this be because i'm behind a proxy server?
>>
>> Karl
>>
>> On Thu, Sep 17, 2009 at 3:58 PM, Karl Rossing < "> >
>> wrote:
>>>
>>> On Thu, Sep 17, 2009 at 2:59 PM, Daniel DeLeo < "> > wrote:
>>>>
>>>> else
>>>>  []
>>>> end
>>>
>>> That seemed to help
>>>
>>>
>>>> Also, I think you will be able to build eventmachine at least, but
>>>> you'll
>>>> need to completely gnu-ify: gnu make (possibly aliased as make somehow),
>>>> gcc, so on. Works for me on a Solaris 9 box I have access to.
>>>
>>> I'm not sure what you mean but I'm stuck on
>>>
>>> DEBUG: gem_package[stompserver] using Chef::Provider::Package::Rubygems
>>>
>>> Karl
>>>
>>
>> !DSPAM:4ab2a53a220021804284693!
>>
>>
>
>




Archive powered by MHonArc 2.6.16.

§