2007-08-07 14:35:39 UTC
I tried this (on a linux machine) and it gave me the following errors:
$ ruby extconf.rb --with-shapelib-lib=../shapelib-1.2.10/ --with-shapelib-include=../shapelib-1.2.10/
checking for shapefil.h... yes
checking for main() in -lshp... yes
creating Makefile
$ make
gcc -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -DHAVE_SHAPEFIL_H -I../shapelib-1.2.10/ -c main.c
In file included from main.c:35:
valconv.h:16: error: 'FTLogical' undeclared here (not in a function)
valconv.h: In function 'FieldTypeNameTable':
valconv.h:52: error: array subscript is not an integer
valconv.h:52: warning: statement with no effect
make: *** [main.o] Error 1
-Thomas