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

learn more… | top users | synonyms

29
votes
7answers
11k 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) ...
28
votes
1answer
18k 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?
22
votes
4answers
34k 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 ...
21
votes
2answers
70k views

Where do I get make for cygwin?

I need binary file.
20
votes
4answers
67k views

Where do I find nmake for Windows 7 x64

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 ...
13
votes
2answers
22k 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 ...
12
votes
6answers
18k views

Proper way to build from sources

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 &&...
10
votes
3answers
3k 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 ...
10
votes
3answers
387 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
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 ...
7
votes
3answers
15k 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 ...
7
votes
2answers
3k 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? ...
7
votes
3answers
2k 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 ...
6
votes
2answers
2k 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 ...
6
votes
3answers
617 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
3k 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 apt....
4
votes
7answers
34k views

Make command in Ubuntu linux [closed]

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?
4
votes
4answers
16k 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 ...
4
votes
2answers
187 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
7k 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
271 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
7answers
621 views

Quick introduction to Linux needed [closed]

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 ...
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
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
3answers
3k 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
16k 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 ...
3
votes
2answers
880 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
1answer
199 views

Is it safe to install newer Python and Git versions from source?

I wanted to install newer versions of Python and Git to my system. I eventually used the commands below to compile and install new versions. However, I was informed that it would have been better to ...
3
votes
2answers
950 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
3answers
3k 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
261 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
1answer
58 views

How to check if make uninstall will work

FYI I'm on Mac OS X El Capitan. I compile things using CMake and make on my machine on a day to day basis, but without so far having understood CMake or make in any respectable depth at all (I have ...
3
votes
1answer
1k 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 ...
3
votes
1answer
2k 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: http://www....
2
votes
1answer
387 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
1answer
2k views

Installing a program in OS X using “make install” without being superuser?

I'm trying to install the Insight debugger on OS X with "make install" but my permissions aren't high enough and I'm always denied. Is there any way to install without having/being a superuser? I have ...
2
votes
1answer
1k views

Autosave PDF in MS Word

This question is inspired by my use of LaTeX, where you usually share the generated PDF, not the source file. I want my .docx documents to be source files, with PDFs being the files to share. Thus I ...
2
votes
2answers
1k 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
57 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
562 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 v3....
2
votes
2answers
464 views

VIM: Don't pause after `make`

How can I make it so that I don't have to press the RETURN key every time I run :make in VIM?
2
votes
1answer
2k 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
2answers
409 views

compilation on cygwin64 doesn't work with g++ 4.9.2

I have GNU make version 4.0 g++/gcc version 4.9.2 Command make clean works perfectly But when I use command make to compile I got this error C:/cygwin64/lib/gcc/x86_64-pc-cygwin/4.9.2/cc1plus....
2
votes
1answer
154 views

Avoid “rm” in makefile

I have a question concerning a line in a Makefile. I have a target to "clean" my locally installed test/staging-server. Currently it looks like this: clean: rm -rf $(LOCAL_SERVER_PATH)/* As ...
2
votes
1answer
820 views

gnu make fails to find commands in ~/.local/bin

I have some commands places in ~/.local/bin, and correctly added it to the path: $ echo $PATH ~/.local/bin:~/.gem/ruby/1.9.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/...
2
votes
1answer
538 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
279 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
2k 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 Text::...
2
votes
1answer
737 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
867 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 ...