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.
http://packages.ubuntu.com/en/dapper/g++-4.0
You will need all this : g++-4.0_4.0.3-1ubuntu5_i386.deb
gcc-4.0-base_4.0.3-1ubuntu5_i386.deb cpp-4.0_4.0.3-1ubuntu5_i386.deb
gcc-4.0_4.0.3-1ubuntu5_i386.deb libstdc++6-4.0-dev_4.0.3-1ubuntu5_i386.deb
I installed the packages with : sudo dpkg -i <package>
Better unpack ns-2.33 to a new directory e.g. /home/user"/1/
... because 'make clean' is unsafe with ns-2.33 .
cd 1/ .. tar xvf ns-2.33.tar.gz .. cd ns-2.33/
./configure CXX=g++-4.0
make && sudo make install
.....
hi
i tried to install ns-allinone 2.33 in fedora 8
but i encountered this error
make: *** No rule to make target `VERSION', needed by `gen/version.c'. Stop.
Ns make failed!
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,308
Rep:
@ asmahan , welcome to LQ.
With a clean install of Fedora 8,
no errors with ns-allinone-2.33.
But may be 'autoconf', etc. was
updated to an unstable version ?
Not a big problem, I guess.
Try with a copy of the file VERSION
to the location, where it is asked for.
There is a VERSION file for ns-2.33 ,
and one for nam-1.13.
( See attachments, please rename to VERSION ).
Good luck.
.....
P.S.: If you have further questions, please start
a new thread. Now this one is a year old.
.....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.