Hi Van
I think I had some of the error messages you are getting, so here goes....
First, I am assuming that you followed the installation documents.... My installation was with pg71 and RH7.2, so you might have slightly different paths.
The only lines I needed to change in the service.tcl file were lines 17 and 19.
set server "service"
set servername "My Development Server"
Everything else I left standard.
The second thing that I did was install the pg driver. You can download the drivers off openacs website.
All I did was untar these to the /usr/local/src directory. I then edited the makefile. I changed the following lines
line 35: INSTALL=/usr/local/aolserver
line 38: PGLIB=/usr/local/pgsql/lib
line 41: PGINC=/usr/local/pgsql/include
line 46: NSHOME=/usr/local/aolserver
line 49: I commented out this line #COPTS=-Wall -fpic -shared -I/usr/local/ ..... ....
line 62: I uncommented this line COPTS=-fpic -shared -i$... ....
These were the only changes I made to the makefile. I then ran make and make install, and the pg drive installed .
The third thing that I did was to rename /usr/local/aolserver/servers/server1
to /user/local/aolserver/servers/servicename
After doing this, restart aolserver as normal and continue with the installation.