Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3395504
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T04:17:51+00:00 2026-05-18T04:17:51+00:00

I cannot install thin gem on windows. Something happen during build of native extensions.

  • 0

I cannot install thin gem on windows. Something happen during build of native extensions.

Do anybody face same issues?

Here is the stack trace:

>gem install thin --no-ri --no-rdoc
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing thin:
        ERROR: Failed to build gem native extension.

C:/Ruby/bin/ruby.exe extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... yes
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 rb_thread_check_ints()... yes
checking for rb_time_new()... yes
checking for windows.h... yes
checking for winsock.h... yes
checking for main() in -lkernel32... yes
checking for main() in -lrpcrt4... yes
checking for main() in -lgdi32... yes
checking for main() in -lssl... no
creating Makefile

make
g++ -I. -IC:/Ruby/include/ruby-1.9.1/i386-mingw32 -I/C/Ruby/include/ruby-1.9.1/ruby/backward -I/C/Ru
by/include/ruby-1.9.1 -I. -DBUILD_FOR_RUBY -DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_TBR -DHAVE_RB_THR
EAD_CHECK_INTS -DHAVE_RB_TIME_NEW -DOS_WIN32 -DHAVE_WINDOWS_H -DHAVE_WINSOCK_H -DWITHOUT_SSL -DHAVE_
MAKE_PAIR    -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -
Wno-missing-field-initializers -Wno-long-long   -o binder.o -c binder.cpp
In file included from project.h:137:0,
                 from binder.cpp:20:
binder.h:35:34: warning: type qualifiers ignored on function return type
In file included from project.h:138:0,
                 from binder.cpp:20:
em.h:91:47: warning: type qualifiers ignored on function return type
em.h:92:76: warning: type qualifiers ignored on function return type
em.h:93:56: warning: type qualifiers ignored on function return type
em.h:95:57: warning: type qualifiers ignored on function return type
em.h:96:60: warning: type qualifiers ignored on function return type
em.h:97:58: warning: type qualifiers ignored on function return type
em.h:98:55: warning: type qualifiers ignored on function return type
em.h:99:36: warning: type qualifiers ignored on function return type
em.h:101:47: warning: type qualifiers ignored on function return type
em.h:106:42: warning: type qualifiers ignored on function return type
em.h:123:45: warning: type qualifiers ignored on function return type
em.h:132:36: warning: type qualifiers ignored on function return type
In file included from project.h:145:0,
                 from binder.cpp:20:
eventmachine.h:45:61: warning: type qualifiers ignored on function return type
eventmachine.h:46:112: warning: type qualifiers ignored on function return type
eventmachine.h:47:69: warning: type qualifiers ignored on function return type
eventmachine.h:49:73: warning: type qualifiers ignored on function return type
eventmachine.h:62:75: warning: type qualifiers ignored on function return type
eventmachine.h:63:74: warning: type qualifiers ignored on function return type
eventmachine.h:64:77: warning: type qualifiers ignored on function return type
eventmachine.h:65:41: warning: type qualifiers ignored on function return type
In file included from project.h:145:0,
                 from binder.cpp:20:
eventmachine.h:99:60: warning: type qualifiers ignored on function return type
eventmachine.h:100:58: warning: type qualifiers ignored on function return type
eventmachine.h:102:60: warning: type qualifiers ignored on function return type
eventmachine.h:105:41: warning: type qualifiers ignored on function return type
g++ -I. -IC:/Ruby/include/ruby-1.9.1/i386-mingw32 -I/C/Ruby/include/ruby-1.9.1/ruby/backward -I/C/Ru
by/include/ruby-1.9.1 -I. -DBUILD_FOR_RUBY -DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_TBR -DHAVE_RB_THR
EAD_CHECK_INTS -DHAVE_RB_TIME_NEW -DOS_WIN32 -DHAVE_WINDOWS_H -DHAVE_WINSOCK_H -DWITHOUT_SSL -DHAVE_
MAKE_PAIR    -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -
Wno-missing-field-initializers -Wno-long-long   -o cmain.o -c cmain.cpp
In file included from project.h:137:0,
                 from cmain.cpp:20:
binder.h:35:34: warning: type qualifiers ignored on function return type
In file included from project.h:138:0,
                 from cmain.cpp:20:
em.h:91:47: warning: type qualifiers ignored on function return type
em.h:92:76: warning: type qualifiers ignored on function return type
em.h:93:56: warning: type qualifiers ignored on function return type
em.h:95:57: warning: type qualifiers ignored on function return type
em.h:96:60: warning: type qualifiers ignored on function return type
em.h:97:58: warning: type qualifiers ignored on function return type
em.h:98:55: warning: type qualifiers ignored on function return type
em.h:99:36: warning: type qualifiers ignored on function return type
em.h:101:47: warning: type qualifiers ignored on function return type
em.h:106:42: warning: type qualifiers ignored on function return type
em.h:123:45: warning: type qualifiers ignored on function return type
em.h:132:36: warning: type qualifiers ignored on function return type
In file included from project.h:145:0,
                 from cmain.cpp:20:
eventmachine.h:45:61: warning: type qualifiers ignored on function return type
eventmachine.h:46:112: warning: type qualifiers ignored on function return type
eventmachine.h:47:69: warning: type qualifiers ignored on function return type
eventmachine.h:49:73: warning: type qualifiers ignored on function return type
eventmachine.h:62:75: warning: type qualifiers ignored on function return type
eventmachine.h:63:74: warning: type qualifiers ignored on function return type
eventmachine.h:64:77: warning: type qualifiers ignored on function return type
eventmachine.h:65:41: warning: type qualifiers ignored on function return type
In file included from project.h:145:0,
                 from cmain.cpp:20:
eventmachine.h:99:60: warning: type qualifiers ignored on function return type
eventmachine.h:100:58: warning: type qualifiers ignored on function return type
eventmachine.h:102:60: warning: type qualifiers ignored on function return type
eventmachine.h:105:41: warning: type qualifiers ignored on function return type
cmain.cpp:98:71: warning: type qualifiers ignored on function return type
cmain.cpp:109:122: warning: type qualifiers ignored on function return type
cmain.cpp:119:79: warning: type qualifiers ignored on function return type
cmain.cpp:129:83: warning: type qualifiers ignored on function return type
cmain.cpp:260:85: warning: type qualifiers ignored on function return type
cmain.cpp:270:84: warning: type qualifiers ignored on function return type
cmain.cpp:280:88: warning: type qualifiers ignored on function return type
cmain.cpp:290:51: warning: type qualifiers ignored on function return type
cmain.cpp:300:70: warning: type qualifiers ignored on function return type
cmain.cpp:320:55: warning: type qualifiers ignored on function return type
cmain.cpp:546:70: warning: type qualifiers ignored on function return type
cmain.cpp:669:68: warning: type qualifiers ignored on function return type
cmain.cpp: In function 'int evma_send_file_data_to_connection(long unsigned int, const char*)':
cmain.cpp:752:6: error: cannot convert 'stat*' to '_stati64*' for argument '2' to 'int _fstati64(int
, _stati64*)'
make: *** [cmain.o] Error 1


Gem files will remain installed in C:/Ruby/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10 for inspect
ion.
Results logged to C:/Ruby/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/ext/gem_make.out
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T04:17:52+00:00Added an answer on May 18, 2026 at 4:17 am

    Installing from the git or rubygems repositories no longer works (currently) under 1.9.2 or 1.9.3 (confirmed still broken on 2012-June-22). Instead, you need to simply:

    gem install eventmachine --pre
    gem install thin
    

    Note that on 2012-June-18 the current prerelease was renamed to 1.0.0.rc.1, so there is a possibility that ‘soon’ the version that works with Windows will become the official release and this will no longer be a problem.


    If you try to build the gem under 1.9.2 from the github repo you may see this (included for search engine hits):

    C:\eventmachine> rake build
    (in C:/eventmachine)
    cd ext
    C:/Ruby/bin/ruby.exe extconf.rb
    checking for rb_trap_immediate in ruby.h,rubysig.h... *** 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.
    

    If you try to install the gem under 1.9.3 from the rubygems repo you may see this (included for search engine hits):

    C:\>gem install eventmachine
    Temporarily enhancing PATH to include DevKit...
    Building native extensions.  This could take a while...
    ERROR:  Error installing eventmachine:
            ERROR: Failed to build gem native extension.
    
            C:/Ruby193/bin/ruby.exe extconf.rb
    checking for rb_trap_immediate in ruby.h,rubysig.h... no
    checking for rb_thread_blocking_region()... yes
    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 rb_thread_check_ints()... yes
    checking for rb_time_new()... yes
    checking for windows.h... yes
    checking for winsock.h... yes
    checking for main() in -lkernel32... yes
    checking for main() in -lrpcrt4... yes
    checking for main() in -lgdi32... yes
    checking for main() in -lssl... no
    creating Makefile
    
    make
    generating rubyeventmachine-i386-mingw32.def
    compiling binder.cpp
    cc1plus.exe: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
    cc1plus.exe: warning: command line option "-Wimplicit-function-declaration" is valid for C/ObjC but not for C++
    In file included from binder.cpp:20:0:
    project.h:85:0: warning: "FD_SETSIZE" redefined
    :0:0: note: this is the location of the previous definition
    In file included from project.h:137:0,
                     from binder.cpp:20:
    binder.h:35:34: warning: type qualifiers ignored on function return type
    In file included from project.h:138:0,
                     from binder.cpp:20:
    em.h:91:47: warning: type qualifiers ignored on function return type
    em.h:92:76: warning: type qualifiers ignored on function return type
    em.h:93:56: warning: type qualifiers ignored on function return type
    em.h:95:57: warning: type qualifiers ignored on function return type
    em.h:96:60: warning: type qualifiers ignored on function return type
    em.h:97:58: warning: type qualifiers ignored on function return type
    em.h:98:55: warning: type qualifiers ignored on function return type
    em.h:99:36: warning: type qualifiers ignored on function return type
    em.h:101:47: warning: type qualifiers ignored on function return type
    em.h:106:42: warning: type qualifiers ignored on function return type
    em.h:123:45: warning: type qualifiers ignored on function return type
    em.h:132:36: warning: type qualifiers ignored on function return type
    In file included from project.h:145:0,
                     from binder.cpp:20:
    eventmachine.h:45:61: warning: type qualifiers ignored on function return type
    eventmachine.h:46:112: warning: type qualifiers ignored on function return type
    eventmachine.h:47:69: warning: type qualifiers ignored on function return type
    eventmachine.h:49:73: warning: type qualifiers ignored on function return type
    eventmachine.h:62:75: warning: type qualifiers ignored on function return type
    eventmachine.h:63:74: warning: type qualifiers ignored on function return type
    eventmachine.h:64:77: warning: type qualifiers ignored on function return type
    eventmachine.h:65:41: warning: type qualifiers ignored on function return type
    In file included from project.h:145:0,
                     from binder.cpp:20:
    eventmachine.h:99:60: warning: type qualifiers ignored on function return type
    eventmachine.h:100:58: warning: type qualifiers ignored on function return type
    eventmachine.h:102:60: warning: type qualifiers ignored on function return type
    eventmachine.h:105:41: warning: type qualifiers ignored on function return type
    compiling cmain.cpp
    cc1plus.exe: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
    cc1plus.exe: warning: command line option "-Wimplicit-function-declaration" is valid for C/ObjC but not for C++
    In file included from cmain.cpp:20:0:
    project.h:85:0: warning: "FD_SETSIZE" redefined
    :0:0: note: this is the location of the previous definition
    In file included from project.h:137:0,
                     from cmain.cpp:20:
    binder.h:35:34: warning: type qualifiers ignored on function return type
    In file included from project.h:138:0,
                     from cmain.cpp:20:
    em.h:91:47: warning: type qualifiers ignored on function return type
    em.h:92:76: warning: type qualifiers ignored on function return type
    em.h:93:56: warning: type qualifiers ignored on function return type
    em.h:95:57: warning: type qualifiers ignored on function return type
    em.h:96:60: warning: type qualifiers ignored on function return type
    em.h:97:58: warning: type qualifiers ignored on function return type
    em.h:98:55: warning: type qualifiers ignored on function return type
    em.h:99:36: warning: type qualifiers ignored on function return type
    em.h:101:47: warning: type qualifiers ignored on function return type
    em.h:106:42: warning: type qualifiers ignored on function return type
    em.h:123:45: warning: type qualifiers ignored on function return type
    em.h:132:36: warning: type qualifiers ignored on function return type
    In file included from project.h:145:0,
                     from cmain.cpp:20:
    eventmachine.h:45:61: warning: type qualifiers ignored on function return type
    eventmachine.h:46:112: warning: type qualifiers ignored on function return type
    eventmachine.h:47:69: warning: type qualifiers ignored on function return type
    eventmachine.h:49:73: warning: type qualifiers ignored on function return type
    eventmachine.h:62:75: warning: type qualifiers ignored on function return type
    eventmachine.h:63:74: warning: type qualifiers ignored on function return type
    eventmachine.h:64:77: warning: type qualifiers ignored on function return type
    eventmachine.h:65:41: warning: type qualifiers ignored on function return type
    In file included from project.h:145:0,
                     from cmain.cpp:20:
    eventmachine.h:99:60: warning: type qualifiers ignored on function return type
    eventmachine.h:100:58: warning: type qualifiers ignored on function return type
    eventmachine.h:102:60: warning: type qualifiers ignored on function return type
    eventmachine.h:105:41: warning: type qualifiers ignored on function return type
    cmain.cpp:98:71: warning: type qualifiers ignored on function return type
    cmain.cpp:109:122: warning: type qualifiers ignored on function return type
    cmain.cpp:119:79: warning: type qualifiers ignored on function return type
    cmain.cpp:129:83: warning: type qualifiers ignored on function return type
    cmain.cpp:260:85: warning: type qualifiers ignored on function return type
    cmain.cpp:270:84: warning: type qualifiers ignored on function return type
    cmain.cpp:280:88: warning: type qualifiers ignored on function return type
    cmain.cpp:290:51: warning: type qualifiers ignored on function return type
    cmain.cpp:300:70: warning: type qualifiers ignored on function return type
    cmain.cpp:320:55: warning: type qualifiers ignored on function return type
    cmain.cpp:546:70: warning: type qualifiers ignored on function return type
    cmain.cpp:669:68: warning: type qualifiers ignored on function return type
    cmain.cpp: In function 'int evma_send_file_data_to_connection(long unsigned int, const char*)':
    cmain.cpp:752:6: error: cannot convert 'stat*' to '_stati64*' for argument '2' to 'int _fstati64(int, _stati64*)'
    make: *** [cmain.o] Error 1
    
    
    Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10 for inspection.
    Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/ext/gem_make.out
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On my Vista machine I cannot install the .Net framework 3.5 SP1. Setup ends
I cannot understand the Oracle documentation. :-( Does anybody know how to fetch multiple
I just cannot install Ruby on my CentOS (which is also hosting a cPanel).
One user cannot install my app because they continue to receive the error: The
While installing apache, I got this error message: libtool: install: error: cannot install `libaprutil-1.la'
NumPy installer can't find python path in the registry. Cannot install Python version 2.6
I am trying to install Flex 3 on my Windows 7 Virtual machine (parallels
Clean Windows 7 x64 system. Try to install VS 2010 Ultimate and the installation
I cannot figure out how to change the title bar icon (the icon in
I cannot correctly position the div form in my layout. By looking at my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.