kgio RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Craig Flannagan <cflannagan@zvrs.com>
To: kgio@librelist.com
Subject: Which libraries are required on Mac OSX for kgio gem installs?
Date: Thu, 21 Jul 2011 12:27:36 -0400	[thread overview]
Message-ID: <4FD15B5A-FB70-4351-968E-2E3F5CA59F8C@zvrs.com> (raw)
In-Reply-To: <4FD15B5A-FB70-4351-968E-2E3F5CA59F8C@zvrs.com>

This is on Mac OSX, Snow Leopard. This is the error message I am getting - and I have been unable to figure exactly which libraries is required so the kgio gem install can be successful. I have googled, looked at stackoverflow.com, etc and it does not seem like this error is really widespread or common, so I cannot find any immediate solution online using search functions. Any ideas what is wrong here? Thanks in advance!

(I am also getting same results for kgio gem version 2.3.2, 2.41, 2.42, by the way).


Installing kgio (2.6.0) with native extensions /usr/local/lib/ruby/site_ruby/1.8/rubygems/installer.rb:551:in `build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)

        /usr/local/bin/ruby extconf.rb 
checking for CLOCK_MONOTONIC in time.h... no
checking for CLOCK_MONOTONIC() in time.h... no
checking for clockid_t in time.h... no
checking for clock_gettime() in -lrt... no
checking for t_open() in -lnsl... no
checking for socket() in -lsocket... no
checking for poll() in poll.h... no
checking for getaddrinfo() in sys/types.h,sys/socket.h,netdb.h... no
getaddrinfo required
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/usr/local/bin/ruby
	--with-rtlib
	--without-rtlib
	--with-nsllib
	--without-nsllib
	--with-socketlib
	--without-socketlib


Gem files will remain installed in /Users/craigflannagan/.bundler/tmp/19497/gems/kgio-2.6.0 for inspection.
Results logged to /Users/craigflannagan/.bundler/tmp/19497/gems/kgio-2.6.0/ext/kgio/gem_make.out



       reply	other threads:[~2011-07-21 16:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-21 16:27 Craig Flannagan [this message]
2011-07-21 17:15 ` Which libraries are required on Mac OSX for kgio gem installs? Eric Wong
2011-07-21 17:23   ` Craig Flannagan
2011-07-21 17:33     ` Eric Wong
     [not found]       ` <F9228021-CA2C-4939-BB10-32705EEC94FB@zvrs.com>
     [not found]         ` <20110721175743.GA14354@dcvr.yhbt.net>
2011-07-21 17:58           ` Eric Wong
2011-07-21 18:04       ` Michael Klishin
2011-07-21 18:05 ` Michael Klishin
2011-07-21 18:56   ` Craig Flannagan
2011-07-21 19:30     ` Michael Klishin
2011-07-21 22:08       ` Craig Flannagan
2011-07-21 22:44         ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/kgio/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FD15B5A-FB70-4351-968E-2E3F5CA59F8C@zvrs.com \
    --to=cflannagan@zvrs.com \
    --cc=kgio@librelist.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/kgio.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).