[SOLVED] NS2 installation problem: no rule to make target 'VERSION' , needed by gen/version.c
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi there,
I want to install TraNS simulator, my OS is Linux Fedora 7 and i'm using
ns-2.32, i follow the instruction from read me file at website
trans.epfl.ch, when running recompile in ns-2.32 folder using command ./configure; make clean; make, i got this report
:
make: *** No rule to make target `vanet/vanetrw.o', needed by `ns'. Stop.
can somebody help me to solve this. thak you for your help.
TraNS is a Traffic and Network Simulator , open-source java program, that iam doin a study on , but can't really get to make it work in its full version
@ terbulance129 : which problem ? More than one issue
is on debate in this thread.
.....
Fedora 10 :
'rpm -qa --last > last-050509.txt' tells me, that the day I
compiled ns-allinone-2.33 these packages were installed :
libX11-devel-1.1.5-3.fc10
( libX11-1.1.5-3.fc10 )
libXmu-devel-1.0.4-1.fc9
xorg-x11-util-macros-1.1.6-2.fc10
.....
'ns-allinone-2.33' and 'ns-2.33' will compile on a clean install
of Fedora 10 with no errors. ( Usually.)
You will see that some of the 8 applications in ns-allinone
have VERSION files. If one is missing, or asked for in
another location, just create a VERSION text file.
.....
cd /usr/lib/tk8.4/
sudo ln -s /usr/share/tcltk/tk8.4/* .
where the dot ( . ) means the current directory.
cd /usr/lib
sudo ln -s libgdal1.4.0.so.1.11.4 libgdal.so
4)
Install from source to /usr/local/ , in this order :
otcl-1.13, tclcl-1.19, ns-2.33, nam-1.13, sumo-0.10.3
( Sumo has a GUI : command = 'sumo-guisim' )
5)
cd TraNSv1.2/bin/
java -jar TraNSv1.2.jar
5a)
or : cd TraNSLite/bin/
java -jar TraNSLite.jar
.....
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Quote:
Install from source to /usr/local/ , in this order :
otcl-1.13, tclcl-1.19, ns-2.33, nam-1.13, sumo-0.10.3
Very easy in fact : extract all the above applications to
/home/"username"/tmp or your preferred location in /home/"user...
1) cd otcl-1.13/
./configure
make
sudo make install
Then the first one to be installed will be in /usr/local/
..... just have a look in your file manager to see the result.
( /usr/local/lib/libotcl.a .. /usr/local/bin/... )
2) tclcl-1.19 , 3) ns-2.33 , 4) nam-1.13 , 5) sumo-0.10.3 ,
..... same procedure to have it all in /usr/local/ .
.....
alright .. thanks alot .. i did that ... now i have an error in ns-2 installation .
the ./configure goes well
make ; make install give this error . i think its in 'make install'
ERROR: for d in /usr/local/man/man1; do \
if [ ! -d $d ]; then \
mkdir -p $d ;\
fi;\
done
/usr/bin/install -c -m 755 ns /usr/local/bin
/usr/bin/install: cannot stat 'ns': No such file or directory
i created a file 'ns' in that directory didn't work !!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.