librelist archives

« back to archive

kgio can't build native extension

kgio can't build native extension

From:
Kelsey E
Date:
2011-08-03 @ 02:35
Hi,

I'm a webdesigner working with a developer on a group project. I am under
the impression that kgio is 1) not needed for the "bundle exec padrino start
command" and 2) not for windows, just for *nix as per a forum
post.  however, whenever I run "bundle exec padrino start" it says kgio not
found in any of the sources.

Also, in bundle install kgio is not able to be installed. I get ERROR: Error
installing kgio: ERROR: Failed to build gem native extension.

Could you please advise how to work around both issues?

Thank you,
Kelsey

Re: [kgio] kgio can't build native extension

From:
Eric Wong
Date:
2011-08-03 @ 07:13
Kelsey E <kelseyeng32@gmail.com> wrote:
> Hi,
> 
> I'm a webdesigner working with a developer on a group project. I am under
> the impression that kgio is 1) not needed for the "bundle exec padrino start
> command" and 2) not for windows, just for *nix as per a forum
> post.  however, whenever I run "bundle exec padrino start" it says kgio not
> found in any of the sources.

I have no idea what Padrino requires of kgio, maybe it uses Unicorn (or
Rainbows!)?  If you're just developing and not serving large amounts of
traffic, stick with WEBrick which runs with Ruby and you shouldn't need
kgio.

> Also, in bundle install kgio is not able to be installed. I get ERROR: Error
> installing kgio: ERROR: Failed to build gem native extension.

Is there a gem_make.out file in your gems directory telling you what
the failure is?  Also try just running "gem install kgio"

> Could you please advise how to work around both issues?

What OS are you using?  I can't help with non-Free OSes, but there
are some posts in the kgio list archives for various Unix-like OSes
that aren't officially supported:


http://librelist.com/browser//kgio/2011/7/21/which-libraries-are-required-on-mac-osx-for-kgio-gem-installs/
http://librelist.com/browser//kgio/2011/5/6/stance-on-mac-os-x-support/

-- 
Eric Wong