Forum OpenACS Q&A: Installing nspostgres-4.0 to aolserver-4.5.0 : make: execvp: /usr/local/aolserver: Permission denied

Hi,

Having installed AOLserver 4.5.0 successfully to /usr/local/aolserver, I get the following error when installing the postres driver:

root@hugtakasafn:/usr/local/src/aolserver-4.5.0/nspostgres-4.0# make install POSTGRES=LSB ACS=1 INST=/usr/local/aolserver AOLSERVER=/usr/local/aolserver
/usr/local/aolserver -d /usr/local/aolserver/bin -e nspostgres.so
make: execvp: /usr/local/aolserver: Permission denied
make: *** [install-mod] Error 127

on an Ubuntu server 6.06.

Am running this as root, which owns all the files in /usr/local/aolserver and has exec privs on them.

Does anyone have an idea why this may be?

/Björn

INST has changed its meaning in aolserver 4.5.0. Peviously, it referred to the install directory, now it refers to the install program. I am using the following small patch and compile with
NS=/usr/local/aolserver-4.5
...
make AOLSERVER=$NS POSTGRES=/usr/local/pg807 ACS=1 install
The install-file of Malte sets NSHOME directly (see http://cognovis.de/entwickler/tips/aolserver/aolserver45/)

--- ../../nspostgres/Makefile 2004-06-30 17:21:39.000000000 +0200 +++ ./Makefile 2006-06-29 20:34:38.000000000 +0200 @@ -43,6 +43,9 @@ ifdef INST NSHOME ?= $(INST) else + ifdef AOLSERVER + NSHOME ?= $(AOLSERVER) + else ifeq ($(shell [ -f ../include/Makefile.module ] && echo ok),ok) NSHOME = .. NSBUILD = 1 @@ -52,6 +55,7 @@ NSHOME = ../aolserver endif endif + endif endif #

Thanks, Gustaf; now everything is up and running 😊

/Björn