User:Bootiack/AOLserver

From ArchWiki

Aolserver 4.5 http://www.aolserver.com http://www.tcl.tk

notes on Installation: (read README)

get+compile your own tcl 8.4: (example)

./configure --prefix=/opt/tcl --enable-threads --enable-shared
make
make install

I pop it in my path:

ln -s /opt/tcl/bin/tclsh8.4 /usr/bin/tclsh

In aolserver-4.5/configure, comment out the below lines, and add right below them:

# case "$LDLIB" in
# *gcc*)
# LDLIB="$LDLIB -nostartfiles"
# ;;
# esac
LDLIB="$LDLIB -nostartfiles"
this now works:
/path/to/tclsh8.4 nsconfig.tcl -install /aolservers_new_dir
make
make install

In /etc/hosts you must have the ip of your nic matching `uname -n`

after you cp base.tcl to nsd.tcl; you must 
chown -R your_user: /aolservers_new_dir 

vi /etc/ld.so.conf and add path to tcl and aolserver /lib directory close and run ldconfig

cp -p base.tcl nsd.tcl

bin/nsd -ft nsd.tcl -u your_user & will start the server on port 8000.

then tune into http://your_ip:8000 and blam! your in bizness

fro a little guidance check out http://philip.greenspun.com/tcl/

Resources

AOLserver's Wikipedia page, with slightly more background and history.