An utility that automates build processes, used mainly to build software on Unix-like systems.

learn more… | top users | synonyms

21
votes
1answer
11k views

sh: make: not found

I got the following error message: sh: make: not found I guess I need to install make, or a compiler on my Ubuntu 9.04 Could you tell me what I exactly need to type to install it ? thanks
19
votes
6answers
5k views

make: Interrupt/Exception caught

I'm using Make from the MinGW distribution. It has always worked, but recently I've gotten the following error: > make clean make: Interrupt/Exception caught (code = 0xc0000005, addr = 0x0040b0ac) ...
17
votes
3answers
45k views

Where do I find nmake for Windows 7

I'm trying to compile a Perl source and I can't seem to find a version of nmake that works with Windows 7 64 bit. I've searched all over Microsoft's website and my Googlefu seems to be failing me. Can ...
14
votes
2answers
35k views

Where do I get make for cygwin?

I need binary file.
12
votes
5answers
10k views

What does 'make install' do?

Moving from Windows to Linux, I am unable to understand the process of installing software in Linux. In Windows, when we run an installation file, it asks where you wish to install the program, most ...
10
votes
3answers
296 views

Do something when a file is changed

When I write a LaTeX document, I find myself to press F6 in my editor to compile often. Or when I use SASS, I often type make to convert my .scss into .css. Now I would like to let the machine do the ...
9
votes
7answers
12k views

./configure && make && make install

I am logged in as a regular user. Should I use: ./configure && make && make install or sudo ./configure && sudo make && sudo make install or ./configure ...
9
votes
4answers
25k views

Snow Leopard: make command not found, even though XCode is installed?

So I've installed XCode on Snow Leopard. Why am I getting messages like this: sudo: make: command not found What do I need to do to resolve this issue? Solution: I'm not sure what happened, but I ...
9
votes
6answers
4k views

Running commands in parallel with a limit of simultaneous number of commands

Sequential: for i in {1..1000}; do do_something $i; done - too slow Parallel: for i in {1..1000}; do do_something $i& done - too much load How to run commands in parallel, but not more than, for ...
7
votes
3answers
1k views

How to run Vim command from the shell?

This might be a dumb question, but bear with me. I'm automating some of the usual stuff I do when setting up a new work environment, and would like to automate the Vim command :BundleInstall (for ...
6
votes
3answers
438 views

Portable method of opening a new terminal window?

So, I'm working on a custom makefile script (for TinyOS, if anyone cares) that builds a file and then runs it in a simulator. The problem is that the simulator takes it's input from standard in, and ...
5
votes
3answers
2k views

How do you install gnu MAKE without compiler

I'm a little new in this area. I have a virtual machine centos5.1 that doesn't come with make or any compiler... basically stripped down. It doesn't come with any install packages like yum, rpm or ...
4
votes
2answers
3k views

difference between `make clean` and `make distclean`

I installed ffmpeg from sources with help this page. https://trac.ffmpeg.org/wiki/CentosCompilationGuide I noticed that most of this tutorial calls make distclean after make install. But only libvpx ...
4
votes
2answers
124 views

What happens when I run “./configure” in Linux?

When we try to ./configure some Linux software from source before makeing it, usually there is a huge list of checking other software parameters performed, for instance the below is a tiny part of ...
4
votes
1answer
3k views

How to install Python 2.7 with Unix libraries on Cygwin

How do I install Python 2.7 with Unix libraries on Cygwin? Obviously getting Python 2.6 is easy - just install the Cygwin package with setup.exe. Installing the Windows version of Python 2.7 ...
3
votes
5answers
257 views

Why is 'sudo' often omitted in installation instructions?

I often find build instructions like this: ./configure make make install while in reality I need to type sudo make install Why is this not mentioned in the installation instructions? Or is it ...
3
votes
3answers
1k views

Have: Debian - Doesn't work: Internet - Need: make or automake

I recently installed Debian Lenny 5.0.3 on a macbook (black, model 4,1). The system seems to work. However, I found out that my ethernet port is not working (I have only used wireless so far), and ...
3
votes
4answers
13k views

Make and Xcode for OS X Snow Leopard

I have OS X Snow Leopard and I need install make (this exists in Xcode). I don't have the DVD to install though. On the Xcode page I don't find an old version of Xcode. How I can get an old ...
3
votes
2answers
619 views

How do I declare the terminal type in vim so that :make can output colours?

I use cmake, which produces makefiles with nice colourful output, but when I :make from Vim (well, actually MacVim, which is essentially GVim but I figure that doesn't make much difference), the ...
3
votes
2answers
1k views

For simple projects, what do makefiles offer over “plain” bash scripts?

For example, if I'm developing a front-end only website, I might have several CoffeeScript files, several Sass files, several HTML Files, and a few images. The CoffeeScript files need to be compiled ...
3
votes
2answers
1k views

Installing tmux on Ubuntu from source

I've download tmux and am trying to install it on Ubuntu 10.04. $ ./configure Configured for Linux $ make cc -DBUILD="\"1.3\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o attributes.o ...
3
votes
2answers
1k views

cp - do not overwrite in makefile

In the makefile for my project, I want it to copy a config file only if the file does not already exist in the destination folder. At the moment I am using: cp -n However, recently someone has ...
3
votes
2answers
194 views

Is it usually necessary to do make and then make install?

This is something that has always bugged me. It seems like I always see build instructions for building and then installing something saying to do this: make sudo make install Is there really any ...
3
votes
2answers
581 views

Bash script to run “pecl install oci8”

I am trying to create shell script that will do the initial provisioning of a vagrant vm (running Ubuntu 12.04). Everything (installing php, apache, oracle instantclient, etc,) works fine, except for ...
3
votes
2answers
546 views

Bash extended globbing inside a Makefile

I want to do an operation on all the files in a particular folder that do not start with a particular prefix (say exclude_). I have a bash for loop with an extended glob that looks like this: for ...
3
votes
2answers
442 views

rsync: how to copy a file that might not exist without an error

I have a command in my Makefile that sync's up my bibliographies from an external source. If rsync fails because the target file does not exist rsync exits with error 23. I can hide the error by ...
3
votes
1answer
772 views

What exactly is the use of prefix while running configure?

I am trying to install 32 bit Python on x86_64_ Linux. Following instructions from http://blog.devork.be/2009/02/compiling-32-bit-python-on-amd64.html I downloaded the tarball from here: ...
2
votes
6answers
558 views

Quick introduction to Linux needed

I have to get into Linux ASAP and realy mean ASAP. I have installed Cygwin but as allways - things dont go as easy as one would like. First problem i enconter was - i choose KDE package, but there is ...
2
votes
4answers
5k views

Why can't I find termcap library when I build gdb?

make and then failed with: configure: error: no termcap library found, but that termcap lib is just there, why can't make find it? checking for library containing zlibVersion... -lz checking zlib.h ...
2
votes
6answers
20k views

Make command in Ubuntu linux

I just recently started learning different Linux commands but I still don't understand how to use the 'make' command. Please is there anyone that understands how to use 'make'?
2
votes
1answer
217 views

How do I prevent myself from accidentally specifying too many threads when compiling?

When I compile stuff I usually want to do this fast, so on my workstation I issue make -j16 And (gnu) make starts compiling with 16 cores. However when I am back on my laptop I don't have 16 cores ...
2
votes
2answers
5k views

How to use makefiles on Windows

I have a LaTeX project using make files for compilation and want to write the texts on Windows using Kile. I had a quick look on google but only really came up with Make for Windows the last version ...
2
votes
2answers
18 views

Variables in GNU Make recipes, is that possible?

Is it possible to have variables in GNU Make recipes? Something like this doesn't work: %_t.mkd : %.mkd REV=$$(svn info $<|grep 'Last Changed Rev'|cut -f4 -d\ ) echo $${REV} Is there ...
2
votes
1answer
50 views

Automatically `make` when dependencies change

Is there a way to have make automatically run when you edit one of the files needed for the build? Related question: Configure makefile to run on file change, but that only has an answer for Mac OS X ...
2
votes
2answers
379 views

How to remove three consecutive line feeds in a Makefile rule?

I need to search for and replace three consecutive newline characters in an input file and filter them out of an output file for a makefile rule on Centos 4. I am using GNU sed v4.1.2 and GNU make ...
2
votes
1answer
755 views

Compiling/Using a Linux source on Mac OS X

I need to use some piece of software for a school project: the NEAT package. This package is intended for linux use though, and I'm on a mac. I know I could use Virtualbox to emulate a Linux distro ...
2
votes
1answer
395 views

sh on Lion can't cd into folders with implicit paths (causing make to fail constantly)

I've had a problem with my OSX 10.7 Lion install for some time and I finally took some time to investigate. The issue is that when running make, I always get an error of the form: /bin/sh: line 0: ...
2
votes
2answers
252 views

Configure makefile to run on file change

Is there a way to run make automatically when a file changes? I'm on a Mac. Non-polling would be best but I'll accept polling too.
2
votes
3answers
1k views

Make test failing when installing packages with CPAN on Cygwin

I'm trying to install Date::Manip::Date, which requires YAML::Syck. I'm running Cygwin on Windows XP. Both packages fail their make tests. I have installed other packages sucessfully, such as ...
2
votes
1answer
698 views

Tool to run a command when file changed

Does anybody know of tool for Linux that can watch a custom subtree of the filesystem for changes, and executes a custom command when a change occurs ? Such a tool would be very useful to quickly ...
2
votes
1answer
758 views

“make & make install” software on Linux

I have worked on Linux for a year. One thing bothers me is that I am not familiar with the process of installing new software with source code(I can't install them from netword due to environment ...
2
votes
2answers
27 views

If I remove the installation files for a make program in Linux, how do I remove those programs I built from source?

In Ubuntu I installed Node and accidentally removed the folder where I built the program. Now I have node installed, but I have no way of uninstalling it. I looked around online but couldn't find ...
2
votes
1answer
585 views

Make Command is taking too long

I am trying to install NodeJS on Ubuntu, following http://howtonode.org/how-to-install-nodejs. When I ran make command, its taking too too long, printing lines after lines on screen. Is there any ...
2
votes
2answers
128 views

How can I go back to the initial opened buffer after :make in vim

When I use make into vim, with :make it automatically jump to the first error, displaying a new buffer in the current tab if needed. I use vim with multiple tabs, most of the time the error buffer is ...
2
votes
1answer
465 views

make pgrouting problem

I try to make pgrouting. What am I doing wrong? anton@anton-P4I45Gx-PE:~/src/pgrouting$ cmake -DWITH_TSP=ON -DWITH_DD=ON . -- POSTGRESQL_EXECUTABLE is POSTGRESQL_EXECUTABLE-NOTFOUND -- Found ...
2
votes
2answers
507 views

“make menuconfig” throwing cannot find -lc error in my Fedora 11 PC

When i try to do a make menuconfig in a Fedora 11 machine it is throwing the following error message: [root@PC04 kernel]# make menuconfig HOSTCC -static scripts/basic/fixdep ...
2
votes
5answers
4k views

Ubuntu libraries problem

I already asked this question on SO, but it seems like the problem is probably with linker. So, the question is: I'm trying to build a project, using $ make, but it fails: host SharedLib: ...
2
votes
1answer
547 views

How to get Colored Build Output from Make in Sublime Text 3?

How can you get color into the ST3 build output window? I'm using gccfilter to colorize my build output, but ST3 just displays the raw escape sequences. Is there any way to get it to process them? ...
2
votes
0answers
160 views

Error compiling and installing mcrypt from source

I'm hoping someone can help shed some light on my current issue. Scenario: Installing libmcrypt, mhash and mcrypt from source in order to compile PHP5.4 with the mcrypt extension enabled. OS: ...
2
votes
0answers
173 views

Installing haskell platform fails

I am trying to install haskell-platform-2011.2.0.1 onto my SUSE 11.4. I have got all the dependencies required for ./configure, which works ok. But when getting to make, it builds with this error: ...