Hi all,
I am going to install PMIPv6 patch in NS-2.33. I have Fedora - 16 in my Laptop. Before installation of Patch it is asked to "install on the system binutils, gcc, g++, make, autoconf, libX11-dev, tk8.4-dev, libxmu-dev (or libxmu-headers)". Can I get help on how to install all the above in fedora 16. Please help.
Hi everyone (i hope this is the right section)
Im trying to install the RT patch preempt_rt 3.18.9 im running Ubuntu 14.04 with kernel v 3.16
i installed the rt patch "patch-3.18.9-rt5.patch" and also a new kernel "3.18.9" i patched the patch file with
patch -p1 < patch-3.18.9.patch
but there is somthing i don't know about linking folders of old kernel and new kernel, i searched about it and found
rm -rf linux && ln -s /usr/src/linux-3.18.9 linux && cd /usr/src/linux
then
make oldconfig
then
make menuconfig
i selected Full preemptive kernel then
make
then this error
cc1: some warnings being treated as errors make[2]: * [kernel/locking/locktorture.o] Error 1 make[1]: * [kernel/locking] Error 2 make: *** [kernel] Error 2
So..... Any help?? can someone walk me through this
or any other real time patch, Thanx.. plzzzzzz
Hello,
i need to install NS2 version 2.26 with RSVP-TE patch to do some MPLS simulations.
I'm trying on fedora 8 and when compiling i am getting this error
* Build ns-2.26
============================================================
loading cache ./config.cache
...
checking for tcl2c++... ../tclcl-1.0b13
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... (cached) no
can't find X library
Ns configuration failed! Exiting ...
Please check http://www.isi.edu/nsnam/ns/ns-problems.html
for common problems and bug fixes.
All X11 packages are installed (libX11-devel libXext-devel libXau-devel libXmu-devel)
Installed CentOS 3.9 (it seems NS2 2.26 installs well on this distro) but when trying to get packages with yum seems the repo is not working anymore.
If any one could help to solve the problem of installation i would greatly appreciate
Hi , i desinstall ns2.34 and i want to reinstall again so i was follow your step
$ tar xvf ns-allinone-2.34.tar.gz
$ cd ns-allinone-2.34/
$ patch -p0 < lwx+LTE+dccp+MPTCP.patch
$ export CC=gcc41 CXX=g++41 && ./install
and with this patch i add another patch for wimax "wimax-awg26_ns235.patch"
but when i install ns2.34 this erreur was showen
common/packet.h: In static member function ‘static void p_info::initName()’:
common/packet.h:402: error: ‘PT_WIMAXBS’ was not declared in this scope
make: *** [common/scheduler.o] Error 1
Ns make failed!
can you tell me where is the problem ???
hi,
Because i am cross compiling busybox for an arm board and can't install directy busybox on it (it don't have apt-get/sudo/make) i tried to compile busybox with arm-linux-gcc and "make" it in a custom directory with /usr/ /bin/ sbin/ this way i could copy paste the folder and the exe in a clean root and transfert this root to my board.
Sadly i don't seems to be able to change the installation patch.
i tried with :
Code:
make install PREFIX=/home/blabla1/blabla2/blabla3
but when going into the blabla3 folder i find no file (/usr/ /bin/ and /sbin/ are present because i created them myself).
./configure can't be used because the file don't exist.
Any idea on how i could change the installation patch ?
Hello all
i need to install ns2.34 in centos 6.6
with this
http://bhavanme2011.blogspot.com/
but i can t install the packages
yum install autoconf
yum install automake
yum install gcc-c++
yum install libX11-devel
yum install libX-devel
yum install libXt-devel
yum install libXmu-devel
yum install xorg-x11-proto-deve
finally
yum update audit
when i execute it
i have this msg
Loaded plugins: fastestmirror, refresh-packagekit, security
You need to be root to perform this command.
hello
i installed sumo-0.9.8 and ns-2.35 in fedora 15. i want to use TraNS.
i know that TraNS no need to install. but it needs to be configured for using ns-2.
when i use the command patch -p0 < traci.patch
the error is appeared
Quote:
[root@Fedora-15 ns-allinone-2.35]# patch -p0 < traci.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** Makefile.in.2.29 2005-10-20 06:45:22.000000000 +0200
|--- Makefile.in 2007-09-11 13:46:57.000000000 +0200
--------------------------
File to patch: traci.patch
patching file traci.patch
Hunk #1 FAILED at 85.
Hunk #2 succeeded at 90 with fuzz 2 (offset -1 lines).
Hunk #3 succeeded at 152 with fuzz 2 (offset -2 lines).
Hunk #4 succeeded at 318 with fuzz 2 (offset -3 lines).
Hunk #5 FAILED at 345.
2 out of 5 hunks FAILED -- saving rejects to file traci.patch.rej
can't find file to patch at input line 74
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|*** common/mobilenode.h.2.31 2007-09-20 13:13:18.000000000 +0200
|--- common/mobilenode.h 2007-09-20 13:13:59.000000000 +0200
--------------------------
and when i use the command patch traci.patch
it needs too time to patch .(the traci.patch is 3kB).
what's the matter?
thanks
Hi all,
I have a strange request. I have a system running Fedora 21. This system is now not connected to the internet (for security reasons).
I have used the " yum downgrade bash " command to revert back to version 4.3.30, but I am still receiving compilation errors in some code (which I have rescued from a Fedora Core 4 installation [don't ask!!]).
Is it possible to download the source for Bash version 3, compile and install it to test it on my Fedora 21 installation?
If so, could someone help me please, as this is something I have never tried before?
Thanks in advance for any help.
Hi mates,
I am trying to patch ospf in ns-2.34 i have downloaded the patch file from link:
http://sourceforge.net/projects/ospf...s/ospf4ns2.34/
$ cd ns-allinone-2.34/
$ patch -p0 < 20-ospf4ns2.34-examples.patch
Using : $ cd ns-2.34/
# make install
$ cd tcl/ex/ospf/
$ mkdir out_ospf0 out_ospf1 out_ospf2 out_ospf3 out_ospf4 out_ospf5 out_ospf6 out_ospf7 out_ospf8 out_ospf9
$ ns ospf0.tcl
i followed the procedure from below LQ link post no #3
http://www.linuxquestions.org/questi...-a-4175492253/
it is successfully patchinf file but it is showing error when i execute ospf0.tcl file
Quote:
(TCL) Creating simulator & trace files...
(TCL) Setting up nodes and links...
(TCL) Configuring traffic objects...
(TCL) Configuring routing protocol...
invalid command name "Agent/rtProto/OSPF"
while executing
"Agent/rtProto/OSPF set helloInterval 1"
(file "ospf0.tcl" line 132)
pls anyone suggest me ideas to get rid of this err.
Thanks in Advance,
Pon
Hello every one
please I need your help to fix my problem to install ns2.33allinone on the ubuntu 10.10 in order to run ZRP protocol for security purpose.
before this time I install every thing correctly as follow
The steps I follow to run the ZRP on the Ubuntu 10.10 and Ns2-allinone-2.33
------------------------------------------------------------------
1. first install the Ubuntu 10.10 on VMwear and download the ns2.33 and exract it in the home directory
2.Ubuntu 10.10 - 32´ is old. you have to replace the text in /etc/apt/sources.list , to be able to install packages.
So you write
$ gedit /etc/apt/sources.list
After the file open remove all the text and past the following text instead it.
#
deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security multiverse universe
#
Then save the file and close.
3.Write the following command to update the system
$ sudo apt-get update
4.download the two files from the following link and save it in the home directory
gcc41-compat , `gcc41-compat-4.1.2_i386.deb' :
https://drive.google.com/file/d/0B7S...it?usp=sharing
g++41-compat , `g++41-compat-4.1.2_i386.deb' :
https://drive.google.com/file/d/0B7S...it?usp=sharing
5.write the following command to install
$ sudo dpkg -i g++41-compat-4.1.2_i386.deb gcc41-compat-4.1.2_i386.deb
6.write the following command to update the packages
$sudo apt-get install libx11-dev libxmu-dev libxmu-headers libxt-dev libtool make automake autoconf g++
7. Download the ZRP from the following link and put it in the ns-allinone-2.33 directory
The latest "patch package" is zrp-ns233-patching.tar.gz
https://drive.google.com/file/d/0B7S...it?usp=sharing
8. After that you should follow the next steps
$ cd ns-allinone-2.33/
$ tar xvf zrp-ns233-patching.tar.gz
$ export CC=gcc41 CXX=g++41
$ ./install
$ cd ns-2.33/
$ sudo make install
9. Then you can download the example of the ZRP from the following link and run
ZRP examples : zrp-examples-2012.tar.bz2
https://drive.google.com/file/d/0B7S...it?usp=sharing
but now when i try to install it again i got this error
after i run "./install" command
#
============================================================
* Build tcl8.4.18
============================================================
configu WARNING: unrecognized options: --enable-gcc
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc41
checking whether the C compiler works... no
configu error: in `/home/ali/ns-allinone-2.33/tcl8.4.18/unix':
configu error: C compiler cannot create executables
See `config.log' for more details
tcl8.4.18 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.
#
so please if any one can help me to fix this problem or give me any advice how to run ZRP protocol and the appropriate environment to run it
thanks in advance for your help
hello all
I already have fedora 14 32bit and I install it on vmwear in order to install ns2.35allinone but when I follow the steps I got the following error in the first step
[fedora@localhost ~]$ su
Password:
[root@localhost fedora]# yum install autoconf
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
[root@localhost fedora]#
and I read many post to solve this problem and as I understand from it fedora 14 is now unsupported. so please if you can help me to fix this problem or post any url to download the last version of fedora in order to install ns2.35allinone to run zrp protocol.
thanks a lot