Hello,
I have a problem when compiling ruby 1.7 under Linux. I tried it with
1.6.3 and there it works, so I just want to let you know that there is
something going wrong.

That's the part of the make process where it happens:
[snip]
make[1]: Entering directory `/home/urban/ruby/ext/dbm'
gcc -fPIC -g -O2  -I/home/urban/ruby -I/home/urban/ruby -I/usr/local/include -DHAVE_SYS_CDEFS_H -DHAVE_DB_H -DHAVE___DB_NDBM_OPEN -DHAVE___DB_NDBM_CLEARERR  -c dbm.c
make[1]: Leaving directory `/home/urban/ruby/ext/dbm'
dbm.c:21: ndbm.h: No such file or directory
make[1]: *** [dbm.o] Error 1

When I compile version 1.6.3 make doesn't even try to compile dbm, so maybe the
problem is within configure?

On the other hand there are two files named ndbm.h on my computer:
/usr/include/db1/ndbm.h
/usr/lib/TenDRA/include/unix95.api/ndbm.h

Bye, Urban