Forum OpenACS Q&A: Re: OpenACS 5.5.0 install Debian 6 64bits - When trying to install OpenACS I get "Not Found"

Below I paste how I built both tcl and tdom. I'm not sure what to put on "--with-tcl". I was using "/usr/local/lib", but maybe I need to use "/usr/local/" ad you suggest, or "/usr/local/bin/". Excuse my ignorance, I'm not sure what tdom is looking for, if only the tclsh or the libraries (I guess it's the second).

This is how I built tcl:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cd /usr/local/src/
wget http://prdownloads.sourceforge.net/tcl/tcl8.4.19-src.tar.gz
tar xfz tcl8.4.19-src.tar.gz
cd tcl8.4.19/
cd unix
./configure --prefix=/usr/local/aolserver --enable-threads
make install
ln -s /usr/local/bin/tclsh8.4 /usr/local/bin/tclsh
ln -s /usr/local/bin/tclsh8.4 /usr/bin/tclsh
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

And this is how I built tdom:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

cd /usr/local/src
wget https://github.com/downloads/tDOM/tdom/tDOM-0.8.3.tgz
tar xvfz tDOM-0.8.3.tgz
cd tDOM-0.8.3/unix/
../configure --enable-threads --disable-tdomalloc --prefix=/usr/local/aolserver --with-tcl=/usr/local/lib
sh CONFIG
make install

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Also, in case it helps, my directories look like this:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

root@debian:~# ls -l /usr/local
total 40
drwxr-sr-x 9 root staff 4096 Dec 8 00:32 aolserver
drwxrwsr-x 2 root staff 4096 Dec 8 16:32 bin
drwxrwsr-x 2 root staff 4096 Nov 25 15:10 etc
drwxrwsr-x 2 root staff 4096 Nov 25 15:10 games
drwxrwsr-x 2 root staff 4096 Dec 7 13:39 include
drwxrwsr-x 5 root staff 4096 Dec 15 08:53 lib
lrwxrwxrwx 1 root staff 9 Nov 25 15:10 man -> share/man
drwxr-s--- 9 postgres web 4096 Dec 11 20:51 pgsql
drwxrwsr-x 2 root staff 4096 Nov 25 15:10 sbin
drwxrwsr-x 6 root staff 4096 Nov 25 15:21 share
drwxrwsr-x 11 root staff 4096 Dec 12 05:37 src
lrwxrwxrwx 1 root staff 25 Dec 8 16:32 tclwebtest -> /usr/local/tclwebtest-1.0

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

root@debian:~# ls -l /usr/local/bin
total 12
lrwxrwxrwx 1 root staff 15 Dec 7 23:58 envdir -> /command/envdir
lrwxrwxrwx 1 root staff 18 Dec 7 23:58 envuidgid -> /command/envuidgid
lrwxrwxrwx 1 root staff 15 Dec 7 23:58 fghack -> /command/fghack
lrwxrwxrwx 1 root staff 17 Dec 7 23:58 multilog -> /command/multilog
lrwxrwxrwx 1 root staff 17 Dec 7 23:58 pgrphack -> /command/pgrphack
lrwxrwxrwx 1 root staff 22 Dec 7 23:58 readproctitle -> /command/readproctitle
lrwxrwxrwx 1 root staff 16 Dec 7 23:58 setlock -> /command/setlock
lrwxrwxrwx 1 root staff 18 Dec 7 23:58 setuidgid -> /command/setuidgid
lrwxrwxrwx 1 root staff 18 Dec 7 23:58 softlimit -> /command/softlimit
lrwxrwxrwx 1 root staff 18 Dec 7 23:58 supervise -> /command/supervise
lrwxrwxrwx 1 root staff 12 Dec 7 23:58 svc -> /command/svc
-rwxr-xr-x 1 root staff 465 Dec 7 23:58 svgroup
lrwxrwxrwx 1 root staff 13 Dec 7 23:58 svok -> /command/svok
lrwxrwxrwx 1 root staff 15 Dec 7 23:58 svscan -> /command/svscan
lrwxrwxrwx 1 root staff 19 Dec 7 23:58 svscanboot -> /command/svscanboot
lrwxrwxrwx 1 root staff 15 Dec 7 23:58 svstat -> /command/svstat
lrwxrwxrwx 1 root staff 15 Dec 7 23:58 tai64n -> /command/tai64n
lrwxrwxrwx 1 root staff 20 Dec 7 23:58 tai64nlocal -> /command/tai64nlocal
lrwxrwxrwx 1 root staff 23 Dec 7 13:40 tclsh -> /usr/local/bin/tclsh8.4
-rwxr-xr-x 1 root staff 7866 Dec 7 13:39 tclsh8.4
lrwxrwxrwx 1 root staff 32 Dec 8 16:32 tclwebtest -> /usr/local/tclwebtest/tclwebtest

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

root@debian:~# ls -l /usr/local/lib
total 920
-r-xr-xr-x 1 root staff 907413 Dec 7 13:39 libtcl8.4.so
-rw-r--r-- 1 root staff 2524 Dec 7 13:39 libtclstub8.4.a
drwxrwsr-x 4 root staff 4096 Nov 25 15:21 python2.6
drwxr-sr-x 8 root staff 4096 Dec 7 13:39 tcl8.4
-rw-r--r-- 1 root staff 7466 Dec 7 13:39 tclConfig.sh
drwxr-sr-x 2 root staff 4096 Dec 15 08:53 tdom0.8.3
-rw-r--r-- 1 root staff 2000 Dec 15 08:53 tdomConfig.sh

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~