It seems in Ruby 1.9.x the way of determining where the ruby.h file has changed.
I ran into an identical problem trying to build Geos yesterday and now I've hit it in GDAL. In swig/ruby/RubyMakefile.mk There's the following line; RubyMakefile.mk:RUBY_INCLUDE_DIR := $(shell ruby -rrbconfig -e "puts Config::CONFIG['archdir']") The ruby config now uses the class RbConfig and the attribute rubyhdrdir is now used in stead of archdir. I changed the line to the following RUBY_INCLUDE_DIR := $(shell ruby -rrbconfig -e "puts RbConfig::CONFIG['rubyhdrdir']") But it appears that more has changed with the include file structure in Ruby 1.9.x Has anyone successfully build the ruby bindings? This electronic communication and any attachments may contain confidential and proprietary information of DigitalGlobe, Inc. If you are not the intended recipient, or an agent or employee responsible for delivering this communication to the intended recipient, or if you have received this communication in error, please do not print, copy, retransmit, disseminate or otherwise use the information. Please indicate to the sender that you have received this communication in error, and delete the copy you received. DigitalGlobe reserves the right to monitor any electronic communication sent or received by its employees, agents or representatives.
<<winmail.dat>>
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev