Hi!

Building Ruby on debian potato, mixed with progeny and ximian (yeah)

Ruby itself poses no problems, but some libraries do:
 - ext/dbm/
   dbm.c:21: ndbm.h: No such file or directory

   1) Debian makes a mistake in ndbm.h, so the detection of ndbm.h in db1/
      fails
   2) once detected,  -DDBM_HDR='<db1/ndbm.h>' is passed to gcc, which is not
      used in dbm.c at all.
   3) replacing <ndbm.h> by DBM_HDR helps, of course. Some #ifdef would be
      better.

 - tcltk detection is a mess.

   1) ext/tcltklib/extconf.rb has no clue tcl.h and tk.h can be in
      e.g. /usr/include/tcl8.2 and thus fails detection. However, it
      distinguishes between the accompanying libraries!
   2) Adding proper include directory CPPFLAGS before have_header(tcl.h) works

Bye,
Kero.

+--- Kero ------------------------------ kero / chello.nl ---+
|  Don't split your mentality without thinking twice       |
|                          Proud like a God -- Guano Apes  |
+--- M38c ------- http://members.chello.nl/~k.vangelder ---+