LinuxQuestions.org
Review your favorite Linux distribution.
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 05-22-2013, 11:42 PM   #1
ibaa
LQ Newbie
 
Registered: May 2013
Posts: 12

Rep: Reputation: Disabled
Unhappy Error file not foynd when download sumo in ubuntu 12.04


hello
I am new in linux and i want install the sumo0.17.1 in ubuntu 12.04
I do these instruction and they work:


$ sudo apt-get install libgdal1-dev proj libxerces-c2-dev
$ sudo apt-get install libfox-1.6-dev libgl1-mesa-dev libglu1-mesa-dev
$ sudo ln -s /usr/lib/libgdal1.7.0.so /usr/lib/libgdal.so
$ cd /usr/local/src/sumo-0.15.0

$ ./configure --with-fox-includes=/usr/include/fox-1.6 \
--with-gdal-includes=/usr/include/gdal --with-proj-libraries=/usr \
--with-gdal-libraries=/usr --with-proj-gdal
when I apply this instruction :
$ make
it gives me error the file not find ..I check the file and it exist
can anyone help me please
 
Old 05-22-2013, 11:58 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

you say you want sumo 0.17.1, but you have:
Quote:
$ cd /usr/local/src/sumo-0.15.0
Also are you aware that sumo is already packaged for newer versions of Ubuntu? Have you considered upgrading or backporting the package?

Finally, when reporting error messages you really need to report the *exact* error message: ie cut and past from your terminal into [code] tags in you post.

Cheers,

Evo2.
 
Old 05-23-2013, 12:11 AM   #3
ibaa
LQ Newbie
 
Registered: May 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hi
yes I use $ cd /usr/local/src/sumo-0.17.1
and the error is :
No targets specified and no makefile found. Stop.
and sumo is already packaged for newer versions of Ubuntu.
thanks

Last edited by ibaa; 05-23-2013 at 12:13 AM.
 
Old 05-23-2013, 12:14 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

Quote:
Originally Posted by ibaa View Post
Hi
yes I use $ cd /usr/local/src/sumo-0.17.1
and the error is :
No targets specified and no makefile found. Stop.
Did running ./configure exit correctly?

And did you read what I said about sumo being in newer versions of Ubuntu?

Evo2.
 
Old 05-23-2013, 12:18 AM   #5
ibaa
LQ Newbie
 
Registered: May 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
yes the ./configure it run correctly
and I have considered upgrading for the package
 
Old 05-23-2013, 12:23 AM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by ibaa View Post
yes the ./configure it run correctly
Well, if configure ran correctly there should be a Makefile in the current directory.
The output from make indicates there is not. Can you confirm if a Makefile exists?

Quote:
and I have considered upgrading for the package
And you decided instead to build from source? If so, why?
Also, what about the option of backporting the package (ie building a binary deb package of from the source package in the newer Ubuntu release)?

Evo2.
 
Old 05-23-2013, 12:30 AM   #7
ibaa
LQ Newbie
 
Registered: May 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
The Makefile exists in SUMO folder
I am trying to install the newest version of SUMO on Ubuntu 12.04 from scratch so no upgrading
 
Old 05-23-2013, 12:40 AM   #8
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by ibaa View Post
The Makefile exists in SUMO folder
ok, from the directory that you are running configure and make, please post the output of the following commands:
Code:
pwd
ls -l Makefile
make
Here I mean cut and past from the terminal into your browser. Make sure to put it in [code] tags.

Quote:
I am trying to install the newest version of SUMO on Ubuntu 12.04 from scratch so no upgrading
Ok, so you want to stay with 12.04, fine. What about backporting the package from 13.04? Ie follow a procedure like: http://forums.debian.net/viewtopic.php?f=16&t=38976

Evo2.

PS. If you don't understand something that I've written, don't just ignore it, ask for clarification.
 
Old 05-23-2013, 01:00 AM   #9
ibaa
LQ Newbie
 
Registered: May 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
Actually I will be in lab tomorrow to try these instruction
pwd
ls -l Makefile
make

and for the backporting I don't know what it means and I didn't try it ..I just require 12.04
sorry but I new in this field but I really need help

I just want to say thank you and please reply me tomorrow if you can
 
Old 05-28-2013, 01:53 PM   #10
ibaa
LQ Newbie
 
Registered: May 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
hello again I just got sick
the output for the following commands
pwd
ls -l Makefile
make
utayba@ubuntu:/usr/local/src/sumo-0.17.1$ pwd
/usr/local/src/sumo-0.17.1
utayba@ubuntu:/usr/local/src/sumo-0.17.1$ ls -l Makefile
ls: cannot access Makefile: No such file or directory
utayba@ubuntu:/usr/local/src/sumo-0.17.1$ make
make: *** No targets specified and no makefile found. Stop.
 
Old 05-28-2013, 03:41 PM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
@ibaa.

Building applications : The default build directory is a folder in /home/name/.
Using a directory outside /home/ is unsafe, and you will not have access to all the files as unprivileged user.


SUMO : There is no reason at all to use all those extra configure options.
Everything will be included automatically. I.e. plain ./configure will do :

$ cd sumo-0.17.1/ && ./configure
The './configure' output must end with this text, for creating an OK Makefile :
Code:
Enabled: InternalLanes DoublePrecision Subsecond TRACI PROJ GDAL GUI
Disabled: Debug Profiling Messages MemoryChecks UnitTests Python
$ make : No errors, Ubuntu 12.04 : The eleven executable are generated.

-

Last edited by knudfl; 05-29-2013 at 03:29 AM.
 
Old 05-29-2013, 08:45 PM   #12
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

ok, I guess you plan to ignore my suggestion to backport.
Quote:
Originally Posted by ibaa View Post
hello again I just got sick
the output for the following commands
pwd
ls -l Makefile
make
utayba@ubuntu:/usr/local/src/sumo-0.17.1$ pwd
/usr/local/src/sumo-0.17.1
utayba@ubuntu:/usr/local/src/sumo-0.17.1$ ls -l Makefile
ls: cannot access Makefile: No such file or directory
utayba@ubuntu:/usr/local/src/sumo-0.17.1$ make
make: *** No targets specified and no makefile found. Stop.
You said that there was a Makefile. Clearly there is not. What exactly is the output when you run configure?

Evo2.
 
Old 05-30-2013, 12:09 AM   #13
ibaa
LQ Newbie
 
Registered: May 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
yes I know that I think that the makefile exist as I told u this my first time I download program in linux..I am sorry
the output for configure is:

./configure --with-fox-includes=/usr/include/fox-1.6 \
--with-gdal-includes=/usr/include/gdal --with-proj-libraries=/usr \
--with-gdal-libraries=/usr --with-proj-gdal
hi checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... configure: error: newly created file is older than distributed files!
Check your system clock

and when I build the makefile for library gdal before the configure sumo this error happens:

cp: cannot create regular file `/usr/local/lib/#inst.4580#': Permission denied
make: *** [install-lib] Error 1
 
Old 05-30-2013, 12:20 AM   #14
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

ok, seems you have some issues both with your clock and permissions. Please start a fresh build (unzip and untar) and follow knudfl's advice and build somewhere other than /usr/local/. At each step you need to look at the out of each command carefully. If there is any sort of error reported, you need to fix the problem and repeat that step before you can continue. If such errors are reported and you don't know how to fix them, post back here, showing exactly what you did and the full output containing the error etc.

Evo2.
 
Old 05-30-2013, 04:15 AM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
# 13 .
Quote:
this my first time I download program in linux
... Then you may have like /home/ibaa/Downloads/sumo-src-0.17.1.tar.gz

And can do
1) $ cd Downloads/ && tar xvf sumo-src-0.17.1.tar.gz && exit
2) $ cd Downloads/sumo-0.17.1/ && ./configure && make

I.e. if you continue to do things as complicated as possible :
You will probable face errors. ! Do not use /usr///* for a build !

Please remember : A) Don't believe everything you read on the Internet.
B) Many instructions are written by people who are also building
this particular <application> for the first time.
And by accident got it working with some complicated setup.

-

Last edited by knudfl; 05-30-2013 at 04:16 AM.
 
  


Reply


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
[SOLVED] installing sumo and move on ubuntu umair ahmed Linux - Newbie 77 12-04-2015 02:41 AM
helping about using MOVE of SUMO 0.15 on Ubuntu 12.04 mrhuy_1708 Ubuntu 0 07-28-2012 12:56 PM
Sumo installation in Ubuntu yashu Linux - Networking 4 04-04-2012 04:53 AM
Sumo simulator gui problem in ubuntu 8.04 vidhoon Linux - Newbie 9 08-30-2011 01:39 PM
SUMO simulator GUI pronlem with ubuntu 8.04 vidhoon Linux - Networking 1 06-01-2010 02:21 PM


All times are GMT -5. The time now is 11:01 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration