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

learn more… | top users | synonyms

1
vote
2answers
16 views

Conditional variables in Makefile

I am trying to compile source code in various ways. For example, suppose I want to compile a fortran program with source code main.f90, file1.f90, and file2.f90 as inputs. To generate hello.exe, I ...
0
votes
1answer
15 views

PREFIX in Makefile

I don't really know how to give this question a title, since it is pretty weird to me. I'm gonna try linux form scratch, but I'm doing some research first. I'm stuck with compiling packages from ...
0
votes
1answer
13 views

Is it possible to change prefix after make?

We all know that $./configure --prefix=$SOME_DIR $ make $ sudo make install can install bin, lib to $SOME_DIR. However, I wonder whether I can change the prefix of installation directory after ...
1
vote
2answers
28 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
11 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 ...
0
votes
0answers
19 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
10 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
16 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
57 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
94 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
0answers
29 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
39 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
36 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 ...
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
212 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. ...
1
vote
1answer
340 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
0answers
27 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
225 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
1answer
119 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 ...
1
vote
0answers
174 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?
0
votes
0answers
65 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
790 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 ...
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
1answer
82 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
68 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 ...
2
votes
2answers
386 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
2answers
38 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
27 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
141 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 ...
0
votes
1answer
583 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 ...
1
vote
3answers
5k 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?
0
votes
1answer
102 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
34 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
364 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
544 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
432 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
68 views

Multiple copies of the same file as a result of make / make install

In a development project I'm involved in, we have some files in our src folder that don't need to be compiled (such as python files, a custom .bashrc script, etc...). Running make copies these to our ...
0
votes
1answer
45 views

Invalid macro expansion argument character

I am attempting to compile pooler-cpuminer and when running make I get this error: sha2-arm.S:190:invalid macro expansion argument character (+) Any help? I've looked and haven't found a solution ...
1
vote
3answers
213 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 ...
1
vote
0answers
81 views

Windows PATHEXT with *.lnk files and Cygwin Make

I don't want my %PATH% environment variable to be polluted with a bunch of directories and I want to have more control over what executables can be found. I created a folder C:\bin, added it to %PATH% ...
0
votes
1answer
108 views

Custom kernel 2.6.18 compile in centos ends on fail

I'm compiling from RPM source. The same compile worked in the past but not this time. May be you can help me to solve this issue? make[2]: Leaving directory ...
0
votes
0answers
40 views

Recompiling open-jdk, there is no makefile

I have modified a source file in open-jdk-6 and now want to rebuild it. In all guides it is stated that the build process is done via make. However I don't see any Makefile or target. $ pwd ...
1
vote
2answers
909 views

noip install on Ubuntu

I'm trying to install noip on Ubuntu 12.04.4, and I do not know the first thing about building/compiling software. The README file stated these exact words: HOW TO BUILD AN EXECUTABLE FOR YOUR ...
0
votes
1answer
82 views

No manual entry for make

I'm trying to read man pages for make on my server and they are not there. Man pages for other linux commands and built-ins, however, are there. Does anyone know why this is and how to fix? Thanks. ...
0
votes
1answer
248 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
55 views

Where does “make install” put the files?

After I unarchived a tar file containing the software I want to install, I ran ./configure Then: make make install But where is this piece of software installed? And how do I locate its path via ...
0
votes
1answer
104 views

How can I simulate Make's targets within a Windows batch file?

In working towards resolving http://tex.stackexchange.com/a/160685/17423, I'm looking to create a batch-file version of this makefile. Is there a clear/conventional way to simulate the 'target' ...
1
vote
2answers
493 views

The program 'make' is currently not installed

I have my server Ubuntu 11.04 (VPS OVH ) and I want to install "eaccelerator". When I try to run make install I get the following message: The program 'make' is currently not installed. You can ...