Hi,

In article 17080, <20010629201553.A19282 / chmeee>
> 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

You can apply --with-dbm-type=db1 to configure or ext/dbm/extconf.rb.

>  - 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

And you can apply --with-tklib=tk8.3,
--with-tk-include=/usr/include/tk8.3, --with-tcllib=tcl8.3 and
--with-tcl-include=/usr/include/tcl8.3 to configure or
ext/tcltklib/extconf.rb

-- 
 akira yamada <URL:http://arika.org/ruby/>
 (akira / arika.org, akira / ruby-lang.org, akira / debian.org or akira / linux.or.jp)