[Win32utils-devel] Trouble creating mingw binary

Daniel Berger djberg96 at gmail.com
Sat Jan 23 11:23:48 EST 2010


Hi,

I'm trying to build a binary for win32-open with a mingw install but
I'm having trouble. I've installed MinGW 5.1.6 and I've got gcc, etc.
But, when I run "ruby extconf.rb; make" I get the following error:

C:\Documents and Settings\djberge\Repositories\win32-open3\ext>ruby extconf.rb
checking for ruby/io.h... no
checking for rb_pid_t in ruby.h... yes
creating Makefile

C:\Documents and Settings\djberge\Repositories\win32-open3\ext>make
make: *** No rule to make target `ruby.h', needed by `open3.o'.  Stop.

I also tried mingw32-make with the same result:

You can get the source here:

git://github.com/djberg96/win32-open3.git

Here's some environment info:

RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.5
  - RUBY VERSION: 1.8.6 (2009-08-04 patchlevel 383) [i386-mingw32]
  - INSTALLATION DIRECTORY: C:/Ruby/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: C:/Ruby/bin/ruby.exe
  - EXECUTABLE DIRECTORY: C:/Ruby/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-mingw32
  - GEM PATHS:
     - C:/Ruby/lib/ruby/gems/1.8
     - C:/Documents and Settings/djberge/.gem/ruby/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://gems.rubyforge.org/

What's the trick?

Regards,

Dan


More information about the win32utils-devel mailing list