Forum OpenACS Development: Re: oacs head installation

Collapse
2: Re: oacs head installation (response to 1)
Posted by Dave Bauer on
You will need to see if the aolserver4-nspostgres from debian is compiled for PostgreSQL 8.1.4. If not you'll need to compile nspostgres yourself.
Collapse
3: Re: oacs head installation (response to 2)
Posted by Iuri Sampaio on
ok, i decided to take the painfuly, but enlightening one.
I am following the docs:
https://openacs.org/doc/current/aolserver4.html

I installed postgresql-8.1.4. everything on the documentation is fine.But now i'm stuck at aolserver installation. I got a permission error:

desktop:/usr/local/src/aolserver4.5/aolserver-4.5.0# make install
./util/nsmakeall.tcl install nsthread nsd nstclsh
make: execvp: ./util/nsmakeall.tcl: Permission denied
make: *** [install-bins] Error 127
desktop:/usr/local/src/aolserver4.5/aolserver-4.5.0#

It’s weird because I ran as root user and I ran before ./configure and everything ended up well:

desktop:/usr/local/src/aolserver4.5/aolserver-4.5.0# ./configure --prefix=/usr/local/aolserver4.5 --with-tcl=/usr/lib/tcl8.4/
checking for Tcl configuration... found /usr/lib/tcl8.4/tclConfig.sh
checking for existence of /usr/lib/tcl8.4/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 eeded
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
desktop:/usr/local/src/aolserver4.5/aolserver-4.5.0#

does anyone knows a way out?

Collapse
4: Re: oacs head installation (response to 3)
Posted by Gustaf Neumann on
I am following the docs:
https://openacs.org/doc/current/aolserver4.html

the documentation is *not* written for postgresql 8.1.4 and
aolserver 4.5

I installed postgresql-8.1.4. everything on the
documentation is fine.But now i'm stuck at aolserver
installation. I got a permission error:

Be aware, that you have to configure postgresql to work
with openacs (see the forums)

desktop:/usr/local/src/aolserver4.5/aolserver-4.5.0# make
install
./util/nsmakeall.tcl install nsthread nsd nstclsh
make: execvp: ./util/nsmakeall.tcl: Permission denied
make: *** [install-bins] Error 127
desktop:/usr/local/src/aolserver4.5/aolserver-4.5.0#

The conservative approach is to stick for the time being with aolserver 4.0.10.

Two possible explanations for the message above:
a) nsmakeall.tcl is a tcl file. Therefore it uses a tclsh.
Is the tclsh installed correctly (exectable,
permissions)? what happens, if you type the command
above by hand, or with prepending in the command line
the tclsh you want to use?
b) Be awar, that if you work over NSFs, you have the
least permissions as root. Is the installation
on local files?

-gustaf neumann

Collapse
5: Re: oacs head installation (response to 4)
Posted by Iuri Sampaio on
Thanks Gustaf,
I'm browsing oacs site looking for related info and docs.
anyway, i do need to read a lot! :)