LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-24-2013, 02:45 PM   #1
farfattou
Member
 
Registered: Oct 2011
Posts: 66

Rep: Reputation: Disabled
vanetmobisim on ubuntu 11.04


hi,
I need to install VanetMobisim on ubuntu 11.04. I have the java installed

java -version
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.4) (6b22-1.10.4-0ubuntu1~11.04.2)
OpenJDK Client VM (build 20.0-b11, mixed mode, sharing)

javac -version
javac 1.6.0_22

but when I try to install the apache ant oups!! problem. I get an error
sudo apt-get install ant
Lecture des listes de paquets... Erreur*!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_natty_partner_binary-i386_Packages
E: Les listes de paquets ou le fichier «*status*» ne peuvent être analysés ou lus.

Any help with that?
thx

Last edited by farfattou; 02-24-2013 at 03:21 PM.
 
Old 02-24-2013, 03:18 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Please be specific !
What kind of help ?

sourceforge has a windows *.exe
http://sourceforge.net/projects/vanetmobisim/
run that on a windows OS

there are ns2 scripts
http://neo.lcc.uma.es/staff/jamal/va...ad-simulations
 
Old 02-24-2013, 05:59 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Why ant ? The compiled binary 'VanetMobiSim-1.1.jar' is here
http://vanet.eurecom.fr/VanetMobiSim-1.1.jar
$ java -jar VanetMobiSim-1.1.jar <etc. etc. options>


Installing packages : Ubuntu 11.04 is obsolete.
You'd probably need a new /etc/apt/sources.list
.. with links to "the old archive" :
Code:
deb http://old-releases.ubuntu.com/ubuntu/ natty main restricted
deb http://old-releases.ubuntu.com/ubuntu/ natty universe multiverse

deb http://old-releases.ubuntu.com/ubuntu/ natty-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ natty-updates universe multiverse

deb http://old-releases.ubuntu.com/ubuntu/ natty-security main restricted 
deb http://old-releases.ubuntu.com/ubuntu/ natty-security universe multiverse

deb http://old-releases.ubuntu.com/ubuntu/ natty-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ natty-backports universe multiverse
Attached Files
File Type: txt Vanet_links.txt (982 Bytes, 64 views)

Last edited by knudfl; 02-24-2013 at 06:04 PM.
 
Old 02-25-2013, 04:24 AM   #4
farfattou
Member
 
Registered: Oct 2011
Posts: 66

Original Poster
Rep: Reputation: Disabled
hi knudfl,
can you plz explain to me steps to have vanetmobisim works on my uburu 11.04
thkx
 
Old 02-25-2013, 04:46 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 4

If this command works OK : $ java -jar VanetMobiSim-1.1.jar
.. with no errors from your java, you can continue ..
The reply should be : Usage: Runner modelSource.xml .

( My $ java -version : java version "1.6.0_41"
Java(TM) SE Runtime Environment (build 1.6.0_41-b02) ).

Besides that : I don't know.
I guess you can find some examples with Google.

-
 
Old 02-25-2013, 05:28 AM   #6
farfattou
Member
 
Registered: Oct 2011
Posts: 66

Original Poster
Rep: Reputation: Disabled
hi wrightjennifer00,
did you succeded in installing VanetMobiSim
if so steps plz
 
Old 02-25-2013, 06:10 AM   #7
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Ubuntu 11.04 is end of life, out of support since October 28th 2012 and shouldnt be used IMO.

Upgrade to a newer version or get a different distro.
 
Old 02-26-2013, 10:55 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 6 . ( @wrightjennifer00 is not a Vanet* user, the post was spam.)

Install : You don't need to, one file only is generated : VanetMobiSim-1.1.jar
Anyway the compiling is done by : (Ref. READ_ME.)
1) mkdir <new-dir> && cd new-dir/
2) unzip VanetMobiSim-1.1.zip
3) unzip CanuMobiSim_1_3_4_src.zip
4) ant patch
5) ant all
6) .. Testing : cd jar/ && java -jar VanetMobiSim.jar ../samples/trafficLights.xml

Testing CanuMobiSim http://canu.informatik.uni-stuttgart..._3_samples.zip
java -jar CanuMobiSim_1_3_4.jar <Canu-samples>/graph_walk.xml

-
 
Old 02-27-2013, 06:29 AM   #9
farfattou
Member
 
Registered: Oct 2011
Posts: 66

Original Poster
Rep: Reputation: Disabled
hi, thkx for reply but the pb is still there(I'm not able to do the ant patch)
I tried sudo apt-get install ant but I got error
may be because of ubuntu 11.04
 
Old 02-27-2013, 08:58 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 9 . Please change /etc/apt/sources.list to
Code:
deb http://old-releases.ubuntu.com/ubuntu/ natty main restricted
deb http://old-releases.ubuntu.com/ubuntu/ natty universe multiverse

deb http://old-releases.ubuntu.com/ubuntu/ natty-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ natty-updates universe multiverse

deb http://old-releases.ubuntu.com/ubuntu/ natty-security main restricted 
deb http://old-releases.ubuntu.com/ubuntu/ natty-security universe multiverse

deb http://old-releases.ubuntu.com/ubuntu/ natty-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ natty-backports universe multiverse
The 'ant' install command is $ sudo apt-get update && apt-get install ant

-
 
  


Reply

Tags
ns2, vanet, vanetmobisim



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
VanetMobiSim / NS2 linking info_mimi Linux - Networking 0 01-08-2013 11:44 AM
VanetMobiSim/ ns2 khedidja Linux - Networking 5 12-28-2012 07:08 AM
LXer: Hereâ??s Two Method That is Helping Ubuntu User to Upgrade Ubuntu 11.10/10.04 to Ubuntu 12.04 LT LXer Syndicated Linux News 0 05-12-2012 06:50 PM
[SOLVED] Sun JVM installation for VanetMobiSim/NS-2 in Ubuntu 10.04 LTS xptional Ubuntu 5 04-11-2012 05:30 AM
LXer: Ubuntu Restricted Extras - Lets Ubuntu Play Everything [Ubuntu for Beginners Sc LXer Syndicated Linux News 0 04-20-2010 12:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration