From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6939 64.71.128.0/18 X-Spam-Status: No, score=-0.4 required=3.0 tests=AWL,BAYES_00,FREEMAIL_FROM, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=ham version=3.3.2 Path: news.gmane.org!not-for-mail From: Gus Newsgroups: gmane.comp.lang.ruby.kgio.general Subject: ERROR: Failed to build gem native extension. Date: Mon, 14 Mar 2011 01:14:02 -0300 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: dough.gmane.org 1300076068 4971 80.91.229.12 (14 Mar 2011 04:14:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Mar 2011 04:14:28 +0000 (UTC) To: kgio@librelist.com Original-X-From: kgio@librelist.com Mon Mar 14 05:14:23 2011 Return-path: Envelope-to: gclrkg-kgio@m.gmane.org In-Reply-To: List-Archive: List-Help: List-Id: List-Post: List-Subscribe: List-Unsubscribe: Precedence: list Original-Sender: kgio@librelist.com Xref: news.gmane.org gmane.comp.lang.ruby.kgio.general:13 Archived-At: Received: from zedshaw.xen.prgmr.com ([64.71.167.205]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PyzAk-0000yL-6X for gclrkg-kgio@m.gmane.org; Mon, 14 Mar 2011 05:14:23 +0100 Received: from zedshaw.xen.prgmr.com (localhost [IPv6:::1]) by zedshaw.xen.prgmr.com (Postfix) with ESMTP id D079D21C6AA for ; Mon, 14 Mar 2011 04:14:17 +0000 (UTC) Content-Transfer-Encoding: 7bit X-Content-Filtered-By: PublicInbox::Filter 0.0.1 Hello guys, I am not able to install kgio. Kgio not working on windows? I'm using: rails 3.0.5 ruby 192 gem 1.6.2 Windows XP. Below is the response to the gem install kgio, and archives gem_make.out and mkmf.log. Thanks for any response. Best regards. Gustavo ______________________________ ________________________________________________________ C:\Ruby192\bin>gem install kgio Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing kgio:* *ERROR: Failed to build gem native extension.* * C:/Ruby192/bin/ruby.exe extconf.rb 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=C:/Ruby192/bin/ruby Gem files will remain installed in C:/Ruby192/lib/ruby/gems/1.9.1/gems/kgio-2.3. 2 for inspection. Results logged to C:/Ruby192/lib/ruby/gems/1.9.1/gems/kgio-2.3.2/ext/kgio/gem_ma ke.out ______________________________________________________________________________________________ gem_make.out ______________________________________________________________________________________________ C:/Ruby192/bin/ruby.exe extconf.rb 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=C:/Ruby192/bin/ruby __________________________________________________________ mkmf.log __________________________________________________________ have_func: checking for poll() in poll.h... -------------------- no "gcc -o conftest -IC:/Ruby192/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby192/include/ruby-1.9.1/ruby/backward -IC:/Ruby192/include/ruby-1.9.1 -I. -D_GNU_SOURCE -DPOSIX_C_SOURCE=1 -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long conftest.c -L. -LC:/Ruby192/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: #include 5: int main() {return 0;} /* end */ "gcc -o conftest -IC:/Ruby192/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby192/include/ruby-1.9.1/ruby/backward -IC:/Ruby192/include/ruby-1.9.1 -I. -D_GNU_SOURCE -DPOSIX_C_SOURCE=1 -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long conftest.c -L. -LC:/Ruby192/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 " conftest.c:5:18: fatal error: poll.h: No such file or directory compilation terminated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: #include 5: #include 6: 7: /*top*/ 8: int main() {return 0;} 9: int t() { void ((*volatile p)()); p = (void ((*)()))poll; return 0; } /* end */ "gcc -o conftest -IC:/Ruby192/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby192/include/ruby-1.9.1/ruby/backward -IC:/Ruby192/include/ruby-1.9.1 -I. -D_GNU_SOURCE -DPOSIX_C_SOURCE=1 -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long conftest.c -L. -LC:/Ruby192/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 " conftest.c:5:18: fatal error: poll.h: No such file or directory compilation terminated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: #include 5: #include 6: 7: /*top*/ 8: int main() {return 0;} 9: int t() { poll(); return 0; } /* end */ -------------------- have_func: checking for getaddrinfo() in sys/types.h,sys/socket.h,netdb.h... -------------------- no "gcc -o conftest -IC:/Ruby192/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby192/include/ruby-1.9.1/ruby/backward -IC:/Ruby192/include/ruby-1.9.1 -I. -D_GNU_SOURCE -DPOSIX_C_SOURCE=1 -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long conftest.c -L. -LC:/Ruby192/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 " conftest.c:6:24: fatal error: sys/socket.h: No such file or directory compilation terminated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: #include 5: #include 6: #include 7: #include 8: 9: /*top*/ 10: int main() {return 0;} 11: int t() { void ((*volatile p)()); p = (void ((*)()))getaddrinfo; return 0; } /* end */ "gcc -o conftest -IC:/Ruby192/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby192/include/ruby-1.9.1/ruby/backward -IC:/Ruby192/include/ruby-1.9.1 -I. -D_GNU_SOURCE -DPOSIX_C_SOURCE=1 -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long conftest.c -L. -LC:/Ruby192/lib -L. -lmsvcrt-ruby191-static -lshell32 -lws2_32 " conftest.c:6:24: fatal error: sys/socket.h: No such file or directory compilation terminated. checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: #include 5: #include 6: #include 7: #include 8: 9: /*top*/ 10: int main() {return 0;} 11: int t() { getaddrinfo(); return 0; } /* end */ --------------------