I am remote user of super computer having CentOS 6.5
I have to install multiple softwares like gcc automake autoconf libtool bison swig python-dev libpulse-dev
(Some of them installed but have version issue). For now I am installing swig using this page.
But When I try to run make install
here is the error.
[username@abc swig-3.0.12]$ make install
Installing SWIG executable
Installing /usr/local/bin/swig
cp: cannot create regular file `/usr/local/bin/_inst.21340_': Permission denied
make: *** [install-main] Error 1
One solution is sudo make install
but I don't have root user access.
After these I have to install CMU-Sphinx as well. Any help will be appreciated.
export LD_LIBRARY_PATH=/home/yourself/local/package1/lib:/home/yourself/local/package2/lib
to your shell configuration. Also, it could make sense to add the executable dirs to your path:export PATH=$PATH:/home/yourself/package42/bin
– Philippos Apr 21 '17 at 07:42PATH
to include$HOME/local/swig/bin
(depending on the prefix you're using). – Kusalananda Apr 21 '17 at 08:08configure
. Specifically--prefix
. I have just$HOME/local/bin
pretended to my path, and usestow
to create$HOME/local/
from all of the different programs. – ctrl-alt-delor Apr 21 '17 at 08:20