Sylvain,

I recently compiled Ruby Mapscript and had problems with the makefile
as well. My solution was to add the following 2 lines to the makefile:

   ruby.h: /usr/local/lib/ruby/1.8/i686-linux/ruby.h
   defines.h: /usr/local/lib/ruby/1.8/i686-linux/defines.h

Obviously, you would need to use the correct path to ruby.h and
defines.h in your set up. After that, it compiled fine and Mapserver
has functioned fine for me from within Ruby. I don't know if this will
fix your problem or not, but it worked for me.

Mark


On 7/10/06, s duclos <[EMAIL PROTECTED]> wrote:
Hi,

I tried to reach:
Markus Schnider
[EMAIL PROTECTED]
http://www.sourcepole.com

but it seem that he is not there anymore

any way the makefile need to have ruby.h defines.h
commented
for the build to work

#$(OBJS): ruby.h defines.h
mapscript_wrap.c: ../mapscript.i
        swig -ruby -o mapscript_wrap.c ../mapscript.i

Reply via email to