LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error file not foynd when download sumo in ubuntu 12.04 (https://www.linuxquestions.org/questions/linux-newbie-8/error-file-not-foynd-when-download-sumo-in-ubuntu-12-04-a-4175463091/)

ibaa 05-22-2013 10:42 PM

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

evo2 05-22-2013 10:58 PM

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.

ibaa 05-22-2013 11:11 PM

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

evo2 05-22-2013 11:14 PM

Hi,

Quote:

Originally Posted by ibaa (Post 4956999)
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.

ibaa 05-22-2013 11:18 PM

yes the ./configure it run correctly
and I have considered upgrading for the package

evo2 05-22-2013 11:23 PM

Hi,
Quote:

Originally Posted by ibaa (Post 4957004)
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.

ibaa 05-22-2013 11:30 PM

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

evo2 05-22-2013 11:40 PM

Hi,
Quote:

Originally Posted by ibaa (Post 4957012)
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.

ibaa 05-23-2013 12:00 AM

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

ibaa 05-28-2013 12:53 PM

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.

knudfl 05-28-2013 02:41 PM

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

-

evo2 05-29-2013 07:45 PM

Hi,

ok, I guess you plan to ignore my suggestion to backport.
Quote:

Originally Posted by ibaa (Post 4960694)
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.

ibaa 05-29-2013 11:09 PM

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

evo2 05-29-2013 11:20 PM

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.

knudfl 05-30-2013 03:15 AM

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

-


All times are GMT -5. The time now is 08:53 PM.