>>>>> "H" == Hugh Sasse Staff Elec Eng <hgs / dmu.ac.uk> writes:

>> make distclean

 Well, I think that I've found

 make distclean call "miniruby -Cext extmk.rb clean"

 and clean don't remove the Makefile, this mean that after an distclean you
 still have Makefile in ext/*/

H> gcc -fPIC -g -O2  -I/home/hgs/ruby/ruby-1.6.2 -I/home/hgs/ruby/ruby-1.6.2
H> -I/usr/local/include -DHAVE_GDBM_H  -c gdbm.c

 It has found an old Makefile

 Remove all Makefile in the subdirectories of ext, and re-run

 make distclean
 ./configure
 make

 Probably the Makefile must be modified, to call distclean also with
 extmk.rb 



Guy Decoux