An utility that automates build processes, used mainly to build software on Unix-like systems.
12
votes
4answers
28k 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 ...
11
votes
1answer
5k 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
9
votes
4answers
22k 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
3answers
210 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 ...
7
votes
7answers
6k 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 ...
7
votes
6answers
2k 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 ...
6
votes
5answers
2k 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 ...
6
votes
3answers
1k 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)
...
5
votes
2answers
14k views
5
votes
3answers
392 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 ...
5
votes
3answers
324 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
68 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 ...
3
votes
5answers
237 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
806 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
2answers
419 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
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
698 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
150 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
1k 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 ...
2
votes
6answers
482 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
6k 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 ...
2
votes
2answers
2k 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
457 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 ...
2
votes
2answers
215 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
586 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
2answers
236 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 ...
2
votes
1answer
218 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
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
644 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
1answer
210 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
1answer
276 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
2answers
67 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
334 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
422 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: ...
1
vote
6answers
11k 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'?
1
vote
1answer
122 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 ...
1
vote
2answers
547 views
What is the character used to indent the Make file rule recipe?
I am using gnu make and in a Makefile I have, I see below rule.
I want to add a similar rule with a recipe, but when I add a rule and its receipe on the next line by giving a tab or space for the ...
1
vote
3answers
49 views
Linux tool to autodownload and build from SourceForge?
Has anyone made anything (even just a script) to automatically download, untar, and make projects off of SourceForge in Linux? How could I do that?
I am using Ubuntu 12.10, specifically.
1
vote
2answers
1k views
sudo make not working on os x… “make not found”
I recently got a new MacBook Air and decided to do a fresh install without using the migration assistant.
I'm running into issues building software that requires "Make". I do have xcode installed, ...
1
vote
4answers
116 views
auto make/build (not GNU automake)
Is there any utility to monitor file changes and invoke GNU make?
Or, more generally, periodically invoke a command when some file changed?
or Makefile contains the checking interval?
1
vote
1answer
83 views
make command for installing OpenSSH on Ubuntu
I am currently trying to compile OpenSSH on Ubuntu.
I am following the steps below which I got from the openssh website;
(ref: http://www.openssh.com/openbsd.html)
OpenSSH 6.2: March 22, 2013
...
1
vote
1answer
29 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 ...
1
vote
1answer
242 views
Error related to pkg-config when installing frei0r as part of another package
I am trying to build https://github.com/mltframework/shotcut on OS X Lion (using their script in scripts/build_shotcut.sh) and after numerous hurdles I'm stuck on this error:
./configure: line 16062: ...
1
vote
1answer
693 views
cv.h not found in fedora 15 install of opencv and highgui
I'm writing object tracking software in C++ and using OpenCV and highgui. The problem I have right now is that even after sudo yum install opencv and using the yumex frontend to ensure that all of the ...
1
vote
2answers
253 views
Ubuntu terminal characters required in Makefiles
So the Linux From Scratch Hint recommends that before you even attempt LFS you should be able to build and install emacs from scratch. I am trying to do this.
The INSTALL doc claims it's fairly ...
1
vote
1answer
233 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 ...
1
vote
2answers
207 views
Build Firefox from source code under Mac OS X
I'm trying to build Firefox from source code under my Macbook pro. I believe I follow all direction on their pages, yet I still stuck on building it up.
I installed all requirement (mercurial libidl ...
1
vote
2answers
168 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.