Ticket #1528 (new defect)
Issue with Mapscript for Ruby install
|Reported by:||allan@…||Owned by:||sdlime|
When executing ruby/extconf.rb the generated Makefile is setup incorrectly for me while running 4.6 and 4.8beta1 on FC3 X86_64. I have attached my extconf.rb that i used to get the Makefile working correctly, however, i still had to manipulate the resulting Makefile as i am unsure how to configure this correctly in extconf.rb. I changed line 34 of mapscript/ruby/extconf.rb to read ; make_file << "mapscript_wrap.c: ../mapscript.i\n\tswig -ruby -o mapscript_wrap.c ../mapscript.i" The bit i am unsure how to configure is i needed to make the references to ruby.h and defines.h absolute in the Makefile. The references are in the second to bottom line beginning with $(OPTS). I assume the path should be setup with the mapscriptvars??? Regards Allan Blackwell
Note: See TracTickets for help on using tickets.