Thanks Dan, but the problem was that I was trying to use the Tcl 8.3.2 tree under AOLserver. configure didn't seem to like that. When I used /usr/lib/tcl8.3/ (with the tcl8.3-dev Debian package installed) then it worked fine (horray for #openacs!).
Thanks again.
-Roberto