[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] installing otcl in local directory
i wish to install ns packages piece by piece in my home directory,
so i decided to configure otcl as follows (version with ns 2.1b8
allinone tarball)
./configure --prefix=/home/amardeep/local --enable-debug
while doing make install, it halted with the following error
/usr/bin/install -c owish /home/amardeep/local/bin
/usr/bin/install -c otclsh /home/amardeep/local/bin
/usr/bin/install -c libotcl.a /home/amardeep/local/lib
/usr/bin/install -c libotcl.so /usr/local/lib
/usr/bin/install: cannot create regular file
`/usr/local/lib/libotcl.so': Permission denied
make: *** [install] Error 1
a quick look through the configure script showed :
#
# decide where to install the shared library
#
INST_OLIBSH="/usr/local/lib"
if test -d /usr/local/shlib ; then
INST_OLIBSH="/usr/local/shlib"
fi
why is shared library location hardcoded in the script?
is there any problem in installing shared libraries in other locations