Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I download sumo 0.17.1 on Ubuntu 10.10 and I get this error

*** No targets specified and no makefile found.  Stop.

there are a makfile.in and makefile.am in the directory

share|improve this question
1  
Ubuntu 10.10 is ancient and has not had updates in quite a while; any specific reason to use it? –  Renan May 28 '13 at 17:37
1  
In the future, please include the commands you have run. For example, I downloaded X from Y, extracted it using tar xvvzf, moved into the newly created directory and ran make. –  terdon May 28 '13 at 18:37
add comment

2 Answers

A makefile isn't present which is preventing you from installing the software. You need to do ./configure and a makefile should be generated, then you can run make and it will install. ./configure checks for dependencies, and if all are fulfilled, it will then generate the file. If it doesn't generate the file it means the dependencies aren't fulfilled and you need to install them before re-running ./configure

share|improve this answer
    
Thanks for the readability edit, Anthon! –  Jacob Coleman May 29 '13 at 14:31
add comment

Most packages contain a file named README or INSTALL or similar giving instructions on how to build, test, and install the package. The typical sequence (popularized by GNU) is to run:

./configure
make
make install

You usually can give a lot of flags to configure (check the above mentioned files, or run ./configure --help), and you'll have to run the last command as root most of the time (running the others as root is ill-advised, and you should check the Makefile to make sure it doesn't do anything fishy, but...).

Consider carefully that by installing software from source you don't get the benefit of your distribution keeping track and applying important patches and collectiong bugfixes, integrating the software seamlessly with the other packages, and making sure it is updated with any dependencies it might have.

share|improve this answer
    
hi now i work on ubuntu 12.04 when apply configure I got this error: cd Downloads/sumo-0.17.1 ~/Downloads/sumo-0.17.1$ ./configure 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 –  joudy May 30 '13 at 15:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.