Forum OpenACS Development: Re: oacs head installation

Collapse
6: Re: oacs head installation (response to 1)
Posted by Stefan Sobernig on
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 simple reason for this is that the script files util/nsmakeall.tcl, util/nsinstall.tcl, util/nsremove.tcl, first, are not given appropriate permissions for execution (x) and, second, they are neither handed over to tclsh by make nor come with a shebang.

A quick workaround is therefore:

1> "chmod u+x" on all of the scripts mentioned above.
2> add shebangs (e.g., #!/usr/bin/tclsh) on the top of the scripts.

cheers
//stefan