LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   hi i am trying to install ns2 2.34 in ubuntu 10.04. it showing the following error (https://www.linuxquestions.org/questions/linux-newbie-8/hi-i-am-trying-to-install-ns2-2-34-in-ubuntu-10-04-it-showing-the-following-error-843456/)

v123 11-10-2010 09:34 AM

hi i am trying to install ns2 2.34 in ubuntu 10.04. it showing the following error
 
Warning: tclStubInit.c may be out of date.
Developers may want to run "make genstubs" to regenerate.
This warning can be safely ignored, do not report as a bug!
Installing libtcl8.4.a to /usr/local/ns-allinone-2.34/lib/
cp: cannot create regular file `/usr/local/ns-allinone-2.34/lib/#inst.25273#': Permission denied
rm: cannot remove `/usr/local/ns-allinone-2.34/lib/libtcl8.4.a': Permission denied
mv: cannot stat `/usr/local/ns-allinone-2.34/lib/#inst.25273#': No such file or directory
ranlib: could not create temporary file whilst writing archive: No more archived files
make: *** [install-binaries] Error 1
tcl8.4.18 installation failed.
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform

knudfl 11-10-2010 11:10 AM

Welcome to LQ.

/usr/local/ is not the place for building software.
Default is /home/<name>/tmp/
or any directory in /home/<name>/ like /home/<name>/ns2/

The issue is simply, that you don't have write access
to anything outside /home/<name>/ , which is not very
practical with an application like ns-allinone-2.34.
I.e. then it will also be all too difficult to use.
..

Other info : LQ Search , keyword = ns2
..


All times are GMT -5. The time now is 04:47 AM.