LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 06-01-2010, 01:21 PM   #1
vidhoon
LQ Newbie
 
Registered: Jun 2010
Posts: 10

Rep: Reputation: 0
Question Sumo simulator gui problem in ubuntu 8.04


Hello friends,
I am trying to install SUMO- Simulator for Urban Mobility for past 2 days. I used the script here and it gets installed. The problem is I am not able to build GUI of SUMO- I dont have an executable of guisim after building everything. Kindly help me.

Thanks in advance.
 
Old 06-01-2010, 02: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,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
Welcome to LQ.

No command 'guisim' , but 'sumo-guisim' or 'sumo-gui'

Did you try that ?
..
Attached Files
File Type: txt _build_sumo.txt (592 Bytes, 56 views)

Last edited by knudfl; 06-01-2010 at 03:26 PM.
 
1 members found this post helpful.
Old 06-01-2010, 02:43 PM   #3
vidhoon
LQ Newbie
 
Registered: Jun 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Exclamation Inside bin -> no guisim executable

Thanks for coming up with some guidance.
Let me give some more clear info abt the problem.
Am sorry I dont knw how to put it.
After installation I have only these folders in my bin (home/mysumo/sumo/bin) as shown in screen shot attached
Attached Images
File Type: png inside_bin.png (95.5 KB, 37 views)
 
Old 06-01-2010, 03:21 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
Sorry, the latest SUMO will require libfox-1.6-dev

sudo apt-get remove libfox1.4-dev
sudo apt-get install libfox-1.6-dev

.. Then the GUI will be build :
The command for this version is : sumo-gui

Your script says FOX="1.4". Either edit the script, or don't use it.
I guess, you can just do :
cd sumo && ./configure --prefix=/opt/sumo && make && sudo make install
.. if you still want sumo in /opt/ ?
Actually /usr/local/ is more convenient :
All sumo commands will be in a system PATH = /usr/local/bin/
..
P.S. : Post # 2 : The attachment, _build_sumo was edited.
..

Last edited by knudfl; 06-01-2010 at 07:07 PM.
 
1 members found this post helpful.
Old 06-01-2010, 04:04 PM   #5
vidhoon
LQ Newbie
 
Registered: Jun 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Exclamation Sumo fox version

Am using ubuntu 8.04. I find that in all places they have used fox1.4 for ubuntu 8.04 and fox1.6 for higher versions to isntall sumo.
Are you sure?
I hope you get my point.
 
Old 06-01-2010, 05:50 PM   #6
vidhoon
LQ Newbie
 
Registered: Jun 2010
Posts: 10

Original Poster
Rep: Reputation: 0
I have successfully built the GUI using FOX 1.6.
Thanks a lot. I dont know why their documentation is outdated.
Now I get one more problem.
The commands sumo,netgen are working but not sumo-gui.
When I try
>sumo-gui -c hello.sumo.cfg
i get error
sumo-gui command not found
But I found that ./sumo-gui is working (when used inside myinstallationpath/sumo/bin)
So there must be some minor mistake.
Please enlighten me.

Last edited by vidhoon; 06-01-2010 at 05:52 PM. Reason: I left out some details
 
Old 06-02-2010, 04:22 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
./sumo-gui -c docs/tutorial/hello/hello.sumo.cfg

.. works OK.

But if you do not install sumo to a system path,
it will of course be more difficult to use.

./configure && make && sudo make install
... will provide all commands in a known path
= /usr/local/bin/

.
 
Old 06-03-2010, 12:23 PM   #8
vidhoon
LQ Newbie
 
Registered: Jun 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Thank you so much! Its all done!
 
Old 08-30-2011, 10:48 AM   #9
yashu
LQ Newbie
 
Registered: Aug 2011
Posts: 25

Rep: Reputation: Disabled
Thumbs up SUMO

hello,
am trying to install SUMO traffic simulator on ubuntu10.10, can any body tell me the steps to go ahead.

thank you in advance

Last edited by yashu; 08-30-2011 at 10:55 AM.
 
Old 08-30-2011, 12:39 PM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
Post # 9, @ yashu : Welcome to LQ.

sudo apt-get install sumo libfox-1.6-dev
Sumo-0.13 is in the "berish repo"
http://download.opensuse.org/reposit...ome:/behrisch/


The usual method :
cd sumo-0.12.3/ && ./configure && make && sudo make install

Or : cd sumo-0.13.0/ && ./configure && make && sudo make install

..
 
  


Reply

Tags
sumo


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
SUMO simulator GUI pronlem with ubuntu 8.04 vidhoon Linux - Networking 1 06-01-2010 01:21 PM
LXer: Simulator runs Android apps on Ubuntu LXer Syndicated Linux News 0 05-26-2009 11:01 PM
LXer: Mozilla SUMO Is No Lightweight LXer Syndicated Linux News 0 04-11-2009 01:00 PM
Ubuntu 8.10 Problem on GUI after installed green_minds Ubuntu 1 04-11-2009 10:02 AM
UBUNTU GUI Problem-PLZ HElp Mejc Linux - Newbie 4 08-26-2005 09:46 PM


All times are GMT -5. The time now is 02:40 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