On 10/17/2013 05:41 PM, Chang Felix wrote:
> Last night, I try again in my computer,a laptop, which OS is WIN7
>
> and the same, I fallow
>
http://www.nsnam.org/wiki/index.php/Installation
>
> this web guild to install some preparation for NS3 installattion on
> ubuntu
>
> I found last few steps
>
> I was executed these two command together, and under root
> root@ubuntu:~#
>
> I was executed preparationunderroot@ubuntu:~/Desktop#
>
> the result looks like no differents
>
>
> sudo apt-get install doxygen graphviz imagemagick sudo apt-get
> install texlive texlive-extra-utils texlive-latex-extra
>
> last night, I executed separately, and second command has downloaded
> many times.
>
> Iexecute these commands as root
I would recommend that you only use the root privileges to install
packages, and use a less privileged user account to install and work
with ns-3.
If you type
cd /home/user/Desktop/ns3
ls -ald ns-allinone-3.16
and it looks something like this:
drwxr-xr-x 2 root root 4096 Oct 18 06:29 ns-allinone-3.16
(with "root root" as the owner and group) then you might have the
problems that you described when you try to use ns-allinone-3.16 later
as a non-root user.
If you are more comfortable with Windows, you might want to try this
version instead:
http://www.nsnam.org/wiki/index.php/Ns-3_on_Visual_Studio_2012