LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 08-18-2008, 10:56 AM   #1
bilabongster
LQ Newbie
 
Registered: Aug 2008
Posts: 2

Rep: Reputation: 0
NS2 installation problem: no rule to make target 'VERSION' , needed by gen/version.c


please help !!
encountered an error while installing ns2.29 :
no rule to make target 'VERSION' , needed by gen/version.c.
make failed



i'm stuck with this problem for a few days now.
i urgently need ns2 to be installed

Last edited by bilabongster; 08-18-2008 at 11:03 AM.
 
Old 08-18-2008, 08:33 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
Welcome to Linux Questions.

Suggest : Please use 'ns-allinone-2.33'
which is the latest version :
http://sourceforge.net/project/showf...8643/&abmode=1

This will usually compile on most newer Linux.

Please tell which Linux you are using, (Ubuntu ?,
Fedora ? ... version ??) if you have further questions.

Other info
http://www.linuxquestions.org/questi...?highlight=ns2
( Just "Search" 'ns2' here at LQ. )

Good Luck.
 
Old 08-19-2008, 12:25 PM   #3
bilabongster
LQ Newbie
 
Registered: Aug 2008
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for your reply

i'm using openSUSE. and i ve overcome the problem.
 
Old 09-30-2008, 11:08 PM   #4
don_79p
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
patch TraNS simulator on Linux Fedora 7

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.

Regards,

don pollo
 
Old 04-14-2009, 03:36 AM   #5
sheshta
LQ Newbie
 
Registered: Apr 2009
Posts: 9
Blog Entries: 2

Rep: Reputation: 0
can u plz tell us , how did u over come this problem ..

iam using ubuntu 8.04

and i can't install ns.2 !!!

however traNS is working .. but it needs the NS exe file to be correct ..

Can ANyone Help ?!!?!?
 
Old 04-15-2009, 01:43 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
@ sheshta : Welcome to LQ.

To compile e.g. ns-2.33 and nam-1.13 on Ubuntu 8.04
you will need this ( with 'sudo apt-get install <package>') :

libx11-dev, libxmu-dev, libxmu-headers, libxt-dev,
tcl8.4-dev, tk8.4-dev .

And 'otcl-1.13', 'tclcl-1.19' can be installed to
/usr/local/.

What is "traNS" ? Please provide a link.
And which version of ns2 are you trying to build ? ?
.....
 
Old 04-17-2009, 03:06 PM   #7
sheshta
LQ Newbie
 
Registered: Apr 2009
Posts: 9
Blog Entries: 2

Rep: Reputation: 0
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

http://trans.epfl.ch/

thats the website for them ...

however .. thanks alot .. i hope it will work

am tryin to build ns2.allinone.2.29
 
Old 05-04-2009, 02:37 AM   #8
terbulance129
LQ Newbie
 
Registered: May 2009
Posts: 4

Rep: Reputation: 0
Hi, I am installing ns-allinone-2.33 on Fedora 10 and I also encounter the same problem.

Can anyone help me with it?
 
Old 05-06-2009, 04:13 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
Links 'transv1.2' and 'translite'
http://wiki.epfl.ch/trans/documents/transv1.2.zip
http://wiki.epfl.ch/trans/documents/translite.zip
Links for "Requirements", TraNS :
SUMO http://prdownloads.sourceforge.net/s...3.zip?download
PROJ.4 http://trac.osgeo.org/proj/ > >
http://download.osgeo.org/proj/proj-4.6.1.tar.gz
GDAL http://www.gdal.org/
http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries
GDAL source :
http://trac.osgeo.org/gdal/wiki/DownloadSource
........

@ 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.
.....

Last edited by knudfl; 05-06-2009 at 09:34 AM.
 
Old 05-07-2009, 03:12 AM   #10
sheshta
LQ Newbie
 
Registered: Apr 2009
Posts: 9
Blog Entries: 2

Rep: Reputation: 0
@ knudfl

Thanks Alot for the effort, however that TraNS is a VERRY complicated program , which i was not able to make it work,

if u heard about anyone who did , please let me know . its about my bachelor thesis.

wish me luck ..

thanks again
 
Old 05-08-2009, 08:06 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
1)
"Documentation" TraNS : TraNSv1.2/bin/readme.txt
http://trans.epfl.ch/ > > Read all 'Publications'
.....

Example install Ubuntu 8.04.1 : ... 2) to 4) ....
2)
sudo apt-get install sun-java6-jdk libxerces28-dev libgdal1-dev proj \
tcl8.4-dev tk8.4-dev libfox-1.4-dev libxext-dev libpcap0.8-dev

3)
cd /usr/lib/tcl8.4/
sudo ln -s /usr/share/tcltk/tcl8.4/init.tcl
sudo ln -s /usr/share/tcltk/tcl8.4/history.tcl
sudo ln -s /usr/share/tcltk/tcl8.4/word.tcl
sudo ln -s /usr/share/tcltk/tcl8.4/http1.0/

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
.....

Last edited by knudfl; 05-10-2009 at 05:09 AM.
 
Old 05-15-2009, 02:47 PM   #12
sheshta
LQ Newbie
 
Registered: Apr 2009
Posts: 9
Blog Entries: 2

Rep: Reputation: 0
can u tell me how to install to such path /usr/local ??

shud i type $PATH=/usr/local ??

or do i extract the file and put it there ?
 
Old 05-15-2009, 04:14 PM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
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/ .
.....

Last edited by knudfl; 05-15-2009 at 04:17 PM.
 
Old 05-16-2009, 01:50 PM   #14
sheshta
LQ Newbie
 
Registered: Apr 2009
Posts: 9
Blog Entries: 2

Rep: Reputation: 0
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 !!

any idea's ???

i tried that with ns-2.33 ns-2.29 and ns-2.31

thanks

Last edited by sheshta; 05-16-2009 at 01:52 PM.
 
Old 05-16-2009, 03:16 PM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
.... Unknown problem ...

Ns is mainly one file, so please try

cd ns-2.33
sudo cp -a ns /usr/local/bin/

( But if it doesn't work, you didn't finish make correctly,
no executable 'ns' ? Should be 4.6 MB .)
.....
 
  


Reply

Tags
ns2, sumo, version


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Belkin Wirless G RTL8185L make[1]: *** No rule to make target `Makefile'. Stop. SilverRock Linux - Wireless Networking 2 02-11-2007 07:25 AM
No rule to make target `-lwrap', needed by `ftpd' seanog07 Suse/Novell 2 07-14-2006 03:21 AM
Help with Installation. "No rule to make target.." Aries311 Linux - Software 2 07-02-2005 03:47 PM
No rule to make target `/mkspecs/default/qmake.conf', needed by `Makefile'. Stop Julianus Linux - General 0 12-21-2003 07:17 AM
Xfree prob radeon.o kernel module version is 1.1.1 but version 1.5.0 or newer needed. jimdaworm Slackware 0 10-01-2003 06:27 PM


All times are GMT -5. The time now is 02:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration