----- Original Message ----- From: "Josh Carr"

A similar set of files exists, and seems to be what the build is looking for, under: 'C:/Ruby192/lib/ruby/1.9.1/i386-mingw32', as in:
C:/Ruby192/lib/ruby/1.9.1/i386-mingw32/ruby.h
C:/Ruby192/lib/ruby/1.9.1/i386-mingw32/ruby/*
C:/Ruby192/lib/ruby/1.9.1/i386-mingw32/i386-mingw32/ruby/config.h

Does the path to that last file really have that "doubling up" of "i386-mingw32/" ?

If not, then I would have expected <ruby/config.h> to be locatable because of the "-IC:/Ruby192/lib/ruby/1.9.1/i386-mingw32" that was set in the Makefile.PL.

But if that path (as you've given it) *is* correct then, on further reflection, I would probably just set the CPATH environment variable to "C:/Ruby192/lib/ruby/1.9.1/i386-mingw32/i386-mingw32" :

set CPATH=C:\Ruby192\lib\ruby\1.9.1\i386-mingw32\i386-mingw32

With CPATH set to that, C:/Ruby192/lib/ruby/1.9.1/i386-mingw32/i386-mingw32/ruby/config.h should be found when "#include <ruby/config.h>" is encountered.

You can even add extra paths to the CPATH env var (use ; as the delimiter - same as for the PATH environment variable) if the need arises.

Cheers,
Rob

Reply via email to