Forum OpenACS Development: Installing nsldap with aolserver-4.5.0: make: execvp: /usr/local/aolserver: Permission denied

Hello all,

Has anyone succeeded compiling nsldap with aolserver-4.5?

I got the error:

make install LDAP=/usr/ INST=/usr/local/src/aolserver-4.5.0
.
.
.
make: execvp: /usr/local/src/aolserver-4.5.0: Permission denied

So, I applied Gustaf's patch (but to the makefile of nsldap, because the error seems to be the same one), but then I get this error:

make install LDAP=/usr/lib/
.
.
.
ranlib /usr/local/aolserver/lib/libnsldap.a
ranlib: '/usr/local/aolserver/lib/libnsldap.a': No such file

Can somebody please help me?

I'm using aolserver-4.5.0, nsldap from http://www.sussdorff.de/resources/nsldap.tgz and Debian.

TIA

TIA

Is libnsldap.a where ranlib is looking for it? You may need to set LD_LIBRARY_PATH to something else in your compile/run shell.

You can also report more info here, or at the AOLserver list (join at aolserver.com).

does /usr/local/aolserver/lib/libnsldap.a exist? if yes, it might be a permission problem (not likely).

If only the ranlib command fals, the LD_LIBRARY_PATH is not the problem. in some older build environments, the static libraries (.a) are built, although they are not needed. Most likely, you need just the shared library (.so or .dylib), which might be already built and installed, in which case you can ignore the error.