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

learn more… | top users | synonyms

1
vote
2answers
18 views

How to get `make` to recognize alias command

I am installing MOOG, and when I make -f Makefile.maclap I get the error $ make -f Makefile.maclap g77 -w -c -o Abfind.o Abfind.f make: g77: No such file or directory make: *** [Abfind.o] Error 1 ...
0
votes
0answers
10 views

What are the -DPOSIX and -DXWINDOWS flags for in Makefiles?

I see -DPOSIX has something to do with POSIX compliancy...which I can kinda get my head around because my program uses a posix library (pthreads) but I can't dig up anything relevant on what ...
9
votes
7answers
16k 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 ...
0
votes
0answers
15 views

How do I tell Make to use a library in my home directory?

I'm working on a linux system where I do not have root privileges nor do I have any other means to install additional libraries (that I know of). I'm trying to build a program in my home directory, ...
0
votes
0answers
6 views

are these the same meaning between #!/bin/csh and SHELL = /bin/csh?

I want to know what are these the same meaning between #!/bin/csh and SHELL = /bin/csh? Can i use former instead of further?
1
vote
0answers
12 views

make *** No rule to make target in Makefile

I have problem what makefile does not excute with including file. My Makefile is made like this. SHELL = /bin/csh CURDIR = $(shell pwd) .... .... include $(CURDIR)/device.cfg .... Done. Also ...
0
votes
0answers
4 views

Makefile improvement when intermediate files do not really change

I have a Makefile like this all: *.foo ./finalstep *.foo > $@ %.foo: %.bar ./secondstep < $< > $@ %.bar: %.baz ./firststep < $< > $@ The thing is that often ...
2
votes
1answer
45 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 ...
0
votes
1answer
58 views

Jenkins Docker image has no make or sudo

I'm trying to set up CI on AWS using the Jenkins image from the Docker hub. I've gotten a few hours into the process (configuring for a Node project), and I've now realized that a few of my npm ...
1
vote
1answer
41 views

Is there any way to see make file with all variables substituted

I have huge long makefile written by some other guy, where all coomands contain variables. In order to decode what this command is doing i have look around what that variable is and its taking too ...
4
votes
3answers
1k 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 ...
1
vote
0answers
22 views

Netbeans remote existing project doesn't compile

I'm trying to create a remote existing project in NetBeans. For some reasons, the project is built this way on the remote Linux machine: Project's sources: /home/bob/workspace/myprojectFolder ...
1
vote
0answers
32 views

Is it considered safe to suspend/hibernate a computer while it's compiling some code?

Will it continue the process where left off? I'm using gcc on a GNU/Linux machine.
1
vote
2answers
27 views

GNU Make Pattern rules on Windows

I am interested in using GNU Make on Windows. I created a tiny Makefile using a Pattern Rule: all: abcd.o %.o : %.c echo hi However, when I attempt to make all, D:\test>"C:\Program Files ...
2
votes
2answers
322 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 ...
0
votes
2answers
2k views

php build error: /usr/bin/ld: cannot find -lltdl

I am not a build guru and could use a pointer. I'm trying to make php5 on linux. I have successfully run config. I run make and get the following error: /bin/sh libtool --silent ...
1
vote
3answers
4k views

How will I make a pendrive write protected?

I just want to make my pendrive write protected just to make sure, when I insert it public PCs like in cyber cafes in order to just read the files, it doesn't get virus affected. How can I do this?
3
votes
1answer
161 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 ...
0
votes
1answer
130 views

Installing lapacke using make on Mac

I have downloaded and unzipped lapacke-3.5.0. The installation instructions say to use make in order to install. It goes on to say that configurations must be set in the make.inc file. I am a complete ...
25
votes
1answer
14k 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?
0
votes
1answer
233 views

installing software without package manager

I have an embedded system running linux. I need to install some software, in particular uucp package containing cu command. This is really all i need. At the moment all I have is a root access to the ...
0
votes
1answer
180 views

FreeBSD make error - File 5.19 supports only version 12 magic files. /usr/share/misc/magic.mgc is version 8?

I'm having trouble reinstalling ProFTPD on a FreeBSD 10.1 setup. The server is newly upgraded from 10.0 to 10.1. When I start the make install clean process, these warnings first shows on screen. ...
3
votes
3answers
2k 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 ...
1
vote
1answer
283 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 ...
18
votes
2answers
50k views
24
votes
7answers
8k 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) ...
0
votes
2answers
181 views

Building / making PyQt5

I'm trying to build PyQt5 on Ubuntu 14.04; I've downloaded the tarball, unpacked, and run: python configure --sip-incdir /home/chris/sip/sip-4.15.5/siplib make Configure finishes fine (--sip-incdir ...
0
votes
2answers
1k views

How do I run software after I install it with make install?

I downloaded a tar.gz for the Player Project from Sourceforge. I ran the make install command to install it, and got no errors. But I don't know how to actually run the program. There are multiple ...
1
vote
1answer
104 views

Cannot 'make' program in Linux (autoreconf failure)

I want to compile a program called crisprtools. I am supposed to run ./autogen.sh but it says: Preparing the crisprtools build system...please wait Found GNU Autoconf version 2.69 Found ...
2
votes
0answers
25 views

How to add a 'greek' character in the path using cURL?

I have a Makefile where one of many tasks is to upload a file using cURL, one of these files, has a greek character in the name and when I try to upload using cURL, I receive this error: curl: (43) A ...
1
vote
0answers
211 views

gcc configure --disable-shared fails to disable shared libraries during compilation, libgmp and libmpc conflict

I'm compiling GCC on a build server to get access to the latest version of gfortran; after building gmp, mpfr, and mpc into specially-prefixed directories in usr/local, I configured and make'd gcc, ...
1
vote
0answers
161 views

GCC option : Unrecognized command line

I am trying to build my project with gcc compiler but I get this error: gcc: error: unrecognized command line option '-mthumb' Isn't -mthumb a default option for gcc? Why he couldn't recognize it?
1
vote
2answers
81 views

Recompile vim with the same features

I want to recompile vim with the same features for a different linux distro. I only kept the source tar and I don't remember any of the arguments I gave ./configure the first time. What's the easiest ...
0
votes
0answers
61 views

Makefile Error while using GNU compiler: Multiple Target patterns

I've been trying to compile a project using the Windows command window and the gnu compiler. I've got this error: ../../../../make/compiler_rules.mk:40: *** multiple target patterns. Stop. Here ...
1
vote
1answer
661 views

Using make from Windows PowerShell

Under Linux, sources of projects commonly come with Makefile's. Makefiles contain directives to build these projects using the command make. I am currently forced to use Windows, and so as to be able ...
0
votes
1answer
70 views

Linux - make install without replacing symlinks

I recently (and foolishly, since there is a simple solution here, had I set --prefix= option to something other than it's default /usr/bin) configured and maked gcc-4.9.1, without setting the ...
0
votes
0answers
60 views

Making with BCP-generated boost folder still cannot find boost_thread

I have to build a C++ program on a machine I do not have root permission to install boost. So I created a boost folder using bcp --boost=/path/to/boost --scan the_file.cpp boost. I then copied the ...
0
votes
1answer
36 views

losetup Find in Parallel / Concurrency

I'm writing a makefile that at some point builds image files. I'm using losetup -f in the file to find a free loop device when building out each image. Since the images are independent of each ...
6
votes
3answers
10k 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 ...
10
votes
3answers
348 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 ...
2
votes
2answers
36 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 ...
0
votes
0answers
26 views

ccache make recompiling whole program again and again

I have two projects on Linux mint 16, I switch between. I am using ccache make so that i can compile only changes in the program but It is recompiling from scratch. build system is cmake. If I ...
0
votes
0answers
13 views

prevent make full re-run between two projects

I am working on Linux Mint 16 and I have working with two copies of a git project in two different directories. Every time I run make in one of the project it and I switch to other project, it will ...
0
votes
1answer
512 views

How to make apt-offline on windows

Apt-offline claims to be a utility that allows you to install packages on Debian without internet connection. It can be downloaded from the git repository. As with many free software, the problem is ...
0
votes
1answer
88 views

How to uninstall software by the Linux shell?

I am yet not a "Linux Guy" and I have the following problem I installed some software from the source (compiling it), now I have to uninstall it. What have I to do in the command line to uninstall ...
1
vote
0answers
31 views

With which files does Eclipse start to compile and how to change it

I'm importing a different project into mine - that has not been properly coded when it comes to include files. When compiling, it generates random errors that some functions/variables etc. are not ...
0
votes
0answers
303 views

Why I obtain this error message when I try to compile cgminer? autoreconf error

I am trying to install Cgminer on my RaspBerry (it use RaspBian that is a Debian minimalistic version) as explained here: https://bitcointalk.org/index.php?topic=494625.0 In particular the ...
0
votes
1answer
528 views

Compiling CUPS: undefined reference to `dnssdDeregisterAllPrinters'

I'm trying to build CUPS 1.7.3 on Ubuntu Server 14.04. configure didn't produce any errors, but make dies with: Making all in ppdc... Making all in scheduler... Linking cupsd... dirsvc.o: In function ...
0
votes
1answer
414 views

Error compiling gcc on Raspberry Pi (Raspbian): make: *** [bootstrap] error

I'm trying to compile the gcc version 2.95.3 on raspbian, I need it in order to compile the 2.6 kernel. I'm following this tutorial, but when I get to the bootstrapping step, i get make[1]: Entering ...
0
votes
1answer
18 views

Structure of make files for automatic installation

We are doing one project and our contractor is taking care of installing all things required to install in linux. he has make file for that. That file is very big and he has used verious constants ...