Forum OpenACS Q&A: compiling aolserver 4.5.0 on redaht ent 3 AS linux

compiled tcl8.4.14 onto linux with threads and /usr/local/aolserver as prefix location; the nsconfig.tcl never worked, I got it to configure and the got make install to start by editing a file in /include/ns.mak, the make install bombed! help!
[root@avo aolserver]# uname -a
Linux avo 2.4.21-37.ELsmp #1 SMP Wed Sep 7 13:28:55 EDT 2005 i686 i686 i386 GNU/Linux
[root@avo aolserver]# rpm -qa|grep -i gcc
libgcc-3.2.3-53
gcc-3.2.3-53

[root@avo bin]# rpm -qa|grep -i gcc
libgcc-3.2.3-53
gcc-3.2.3-53
[root@avo bin]# uname -a
Linux avo 2.4.21-37.ELsmp #1 SMP Wed Sep 7 13:28:55 EDT 2005 i686 i686
i386 GNU/Linux
[root@avo bin]#

hangeLog configure examples lib man nscp
nsext nsperm nsssl nszlib tcl
[root@avo aolserver]# ./configure --prefix=/usr/local/aolserver
--with-tcl=/usr/local/aolserver/lib/
checking for Tcl configuration... found
/usr/local/aolserver/lib/tclConfig.sh
checking for existence of /usr/local/aolserver/lib/tclConfig.sh...
loading
checking for build with symbols... no
checking for gcc... gcc -pipe
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -pipe accepts -g... yes
checking for gcc -pipe option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -pipe -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for inttypes.h... (cached) yes
checking for timegm... yes
checking for fork1... no
checking for drand48... yes
checking for random... yes
checking for _NSGetEnviron... no
checking for poll... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking need for dup high... no
checking for shared libgcc... yes
checking for getaddrinfo in -lsocket... no
checking for getnameinfo in -lsocket... no
checking for getaddrinfo... yes
checking for getnameinfo... yes
configure: creating ./config.status
config.status: creating include/ns.mak

[root@avo aolserver]# make install
./util/nsmakeall.tcl install nsthread nsd nstclsh
./util/nsmakeall.tcl: line 48: syntax error near unexpected token `}'
./util/nsmakeall.tcl: line 48: `}'
make: *** [install-bins] Error 2

[root@avo aolserver]# make install --prefix=/usr/local/aolserver
--with-tcl=/usr/local/aolserver/lib/
make: unrecognized option `--prefix=/usr/local/aolserver'
make: unrecognized option `--with-tcl=/usr/local/aolserver/lib/'

READ SOMe STUFF HERE

ok got a tad further

https://openacs.org/forums/message-view?message_id=457933

3: Re: AOLserver 4.5 (response to 1)
Posted by Malte Sussdorff on 29 Jun 2006 12:56 AM
edit include/ns.mak and set the path to the tclsh binary (usually
/usr/local/bin/tclsh8.4).

did this then ran make install from /usr/local/aolserver
lots of text:

error.c:37: warning: `RCSID' defined but not used #repeated 10 times
or so
pthread.c:901: warning: implicit declaration of function
`pthread_getattr_np'
gmake[1]: *** [install-dll] Error 9
gmake[1]: Leaving directory `/usr/local/aolserver/nsthread'
make: *** [install-bins] Error 1

yikes