[geos-devel] Ruby Bindings Build Problem

Charlie Savage cfis at savagexi.com
Thu May 21 16:02:05 EDT 2009


> When running "./configure --enable-ruby" I get the following:
> 
> Swig: false
> Python: false
> Ruby: true
> 
> and when I "make" I get:
> 
> Making all in swig
> make[1]: Entering directory `/home/nate/geos-3.1.0/swig'
> Making all in ruby
> make[2]: Entering directory `/home/nate/geos-3.1.0/swig/ruby'
> SWIG is disabled, can't build geos_wrap.cxx
> false
> make[2]: *** [geos_wrap.cxx] Error 1
> make[2]: Leaving directory `/home/nate/geos-3.1.0/swig/ruby'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/nate/geos-3.1.0/swig'
> make: *** [all-recursive] Error 1
> 
> 
> Are there any dependencies for building GEOS with the Ruby bindings,
> other than Ruby?
> _______________________________

No.  It means that the geos_wrap.cxx is older than the geos.i file and 
that swig is not installed on your machine (or not enabled).

The simple solution is to just do "touch geos_wrap.cxx" and then rebuild.

Charlie


More information about the geos-devel mailing list