make is a utility that automates the build process by managing dependencies amongst targets.

learn more… | top users | synonyms (1)

0
votes
2answers
46 views

Linux 'make' command fails after installing ruby and gems for biopieces

We wanted to try the biopieces tools, which require certain dependencies, such as ruby and perl, a.o. After running the installers, and consequently installing some ruby gems, we were not able to run ...
1
vote
1answer
25 views

How to run a specific test from OpenSSL test suite?

I want to measure the code coverage of different tests from OpenSSL test suite. I successfully measured the total coverage of the tests with this method: $ make clean $ export CC="gcc ...
2
votes
1answer
3k views

modules make: *** /lib/modules/3.7-trunk-amd64/build: No such file or directory

I need to install Kali Linux updates without Internet access on my laptop. I think I need to do this because I'm trying to install the WiFi driver but I get an error when I try to make: make ...
1
vote
1answer
33 views

How to echo makefile variable through Make's $(shell …)

I have a GNU makefile. The makefile has a few tests (around line 65 from the linked file): UNAME = uname MACHINE ?= $(shell $(UNAME) -m) SYSTEM ?= $(shell $(UNAME) -s) IS_X86 = $(shell echo ...
2
votes
0answers
41 views

shell operation within makefile [closed]

I have the following line in my makefile: var := $(sort $(foreach m,$(libs),$($(m)-objs))) which I change in a way it now use sort from shell: var := $(shell echo $(foreach ...
46
votes
6answers
22k views

Why can't gcc find libevent when building tmux from source?

I want to install tmux on a machine where I don't have root access. I already compiled libevent and installed it in $HOME/.bin-libevent and now I want to compile tmux, but configure always ends with ...
3
votes
0answers
778 views

Cross-compiling OpenSSH for Android

I'm working on compiling OpenSSH for Android based on this answer at Stack Overflow. Here's what I've done so far: Building on Ubuntu 14.04 amd64. apt-get install build-essential ...
0
votes
0answers
18 views

Trouble with Boost due to missing Makefile.cmake file?

I'm not very familiar with cmake and am afraid if I make one small wrong error, things will really screw up. I have a previous project(PrevProject) that I got to compile successfully using ...
0
votes
2answers
41 views

.PHONY all rules in GNU make file?

Am I wrong in my interpretation that I should basically just put first before all make rules: .PHONY: all of my rules all: echo "Executing all ..." of: echo "Executing of ..." my: echo ...
0
votes
1answer
42 views

LFS 7.6 GCC make error

I do not have much experience with Linux systems, but I decided to work on an LFS system for a bit. I understand that this was a large undertaking for my limited knowledge, but I thought I was ...
4
votes
2answers
125 views

Which shell is used in GNU Make files?

I've seen things like echo, mv, if, for, in makefile rules. Some kind of shell commands seem to be recognized. Is this bash? How can I figure out which shell is being used and full list of keywords ...
0
votes
1answer
41 views

Editing make process?

So.. figure this is alright to ask around here. https://github.com/swarren/u-boot have this, need to get the binary so I can finally run something other than Raspbian on the Pi. The instructions ...
2
votes
1answer
56 views

Is there any advantage to using the -j2 argument when building Linux systems in VirtualBox?

I'm using BuildRoot to build root filesystem images, from within VirtualBox. The builds are very slow. Is there any advantage to running "make -j2" in the virtual machine? The /proc/cpuinfo from ...
7
votes
7answers
10k views

jemalloc and other errors making redis on centos 6.4

I am setting up a new, dedicated, centos 6.4 system with redis. I have installed redis many times, but have never hit this issue (and have never been on centos 6.4 before). cd redis-2.6.16 sudo make ...
0
votes
0answers
17 views

error: boost/current_function.hpp: No such file

I tried to reset the cmake configuration for the program I'm working on by creating a new build folder and typing make, but I get the error message directory/src/log4cplus/logger.cxx:27:38: fatal ...
0
votes
1answer
26 views

How do I make a Make, Make Install, and deb file for a python program?

I recently got done making a python program. Now the question is, how do I go about making an installation script for it. From my understanding you need to create a make file, but from what my ...
0
votes
1answer
19 views

make for linux kernel module

I have recently started learning kernel module programming using the book The Linux Kernel Module Programming Guide and I dont understand how does this make work obj-m += hello-1.o all: make -C ...
1
vote
0answers
14 views

How can I fix these failed perl tests? [migrated]

I'm attempting to build perl 5.16.3. However, it's failing at the make test part. Failed 2 tests out of 2246, 99.91% okay. ../cpan/Archive-Extract/t/01_Archive-Extract.t ../lib/h2ph.t ### ...
0
votes
1answer
631 views

How to build svnwcrev

I'm having a bad time building svnwcrew, and as the readme file says: "There is no sophisticated installation procedure for this small utility."... I modified the config.mk file setting the ...
0
votes
0answers
29 views

build error: “log4cpp does not work”

I have been trying to build avxsynth on CentOS 7. First I successfully build the prerequisite, log4cpp: mkdir ~/avxsynth_sources cd ~/avxsynth_sources curl -L -O ...
1
vote
1answer
73 views

Compiling sources with a non-default compiler

I need to implement an authentication scheme on an embedded device and require gmp in order to perform large integer operations. After downloading the sources they must be compiled with a proprietary ...
1
vote
1answer
33 views

Some questions regarding linux kernel external module build process

The Linux kernel documentation page for building external modules (https://www.kernel.org/doc/Documentation/kbuild/modules.txt) says this: === 2. How to Build External Modules To ...
1
vote
1answer
42 views

Can `make` automatically install dependencies?

When I am installing a program with the make and make install method, there are (very often) many dependencies that need to be installed before the installation of the new program can begin. So ...
2
votes
1answer
19 views

Running make for LFS complains about [ and about missing gawk

I'm having a strange error when I'm trying to start the make process for LFS using the LiveCD SVN Trunk. When I go to run make it gives me; $ make /bin/sh: 1: [: -ne: unexpected operator -e Missing ...
1
vote
2answers
31 views

Use a package to install dependency and copy custom conf file

I used dh_make to create a basic Debian package install. I added a dependency which is the actual program I want. All I want to do is overwrite the conf file this package installed, with a new file ...
2
votes
1answer
45 views

Can I resume make after a Ctrl+C?

I am installing gcc version 5.1 on a supercomputer cluster. I configured it and am now running the make command. It has been several hours and is still running as it is a long install, but the work ...
2
votes
1answer
109 views

Nested packages for different subdirectories in autoconf?

I have different subdirectories that need to be compiled in different ways. For example, some files needs to include some others using CFLAGS. However, CFLAGS can only be set in configuration files, ...
0
votes
1answer
50 views

how to define the top dir in automake system?

I usually use a typical steps to generate the makefile, and firstly I use the "build.sh init" to generate the configure file, and then I use "configure" to generate the makefile with makefile.am file. ...
0
votes
0answers
20 views

invoking python program for each path in makefile vapth

I have a makefile as follows: VPATH = ../../HWP \ ../../hwsv/server \ ../hwpf PROC_INPUT_FILES = abc.c \ def.c \ xyz.c MEM_INPUT_FILES = ...
1
vote
2answers
59 views

Invoke python script through make command

I have a tool with 5 python scripts say A.py, B.py, C.py, D.py and E.py. I have to run this program in Linux. A.py is the one program I run which imports other files and uses them. For running A.py, I ...
3
votes
2answers
57 views

How to determine the maximum number to pass to make -j option?

I want to compile as fast as possible. Go figure. And would like to automate the choice of the number following the -j option. How can I programmatically choose that value, e.g. in a shell script? ...
1
vote
0answers
23 views

TelosB mote and TinyOS

I am trying to Blink LED on TelosB mote. I have installed TinyOS but I am having an issue with the make command. Could anybody be able to help?
1
vote
1answer
26 views

gnu make: “:= $(expression)” vs “:= @(expression)”

I am trying to determine what the the difference is between the "$" and "@" when used during expression evaluation (if that is the correct term). For instance, in the Makefile I am trying to ...
0
votes
0answers
42 views

makefile woes , attempting to compile libdai

I'd like to compile libDAI. This comes with a Makefile.conf having the line MEXFLAGS:=CXX\#g++ CXXFLAGS\#'$(CCFLAGS)' which seems to cause trouble when i try using 'make' ...
3
votes
3answers
246 views

How to list prerequisites externally in GNU Make?

How can I query prerequisites of a target from a GNU Make makefile? E.g. if the targets specified like this: fred: wilma barney betty I want to print prerequisites of fred like this: $ make ...
0
votes
1answer
78 views

What changes to be done in Python file when Makefile is being used?

I have a set of python class files. I run the MainProgram.py on the linux as python MainProgram.py which uses the rest of the class files.It reads from an input file and write an output file. Until ...
1
vote
1answer
30 views

In a Makefile, how can I begin processing a file before it has finished building?

I'm using make to automate a project that generates lots of data, then processes it, with recipes roughly like this: processed-data: data data-processing-program $^ > $@ data: output-data ...
1
vote
1answer
26 views

makefile fails when deleting a file [closed]

I am trying to write makefile and check - if a folder exist - delete it : BINUTILS_TAR_GZ := binutils-2.25.tar.gz BINUTILS_ORIG := binutils-2.25 BINUTILS_CHANGES := binutils_changes . . . clean: ...
0
votes
0answers
9 views

Possible? Build on OpenSuse 13.x deploy on SLES 11

I need to build nginx for SLES 11.3 Do I have to build it on the SLES 11.3 Host or could I build it on my local OpenSuse 13.2 Host? The Problem is that, there are a lot of dependencies missing on the ...
0
votes
1answer
37 views

How can i make use of makefile exported values while running script file

How can i make use of makefile exported values while running script file. I have makefile with some exported values. I am running one script file. i need to make use of variables exported in makefile ...
3
votes
1answer
283 views

Why doesn't 'ar' work like the manpage says?

I'm trying to use 'ar' included in Debian Wheezy armel version of binutils and it doesn't seem to operate like on other systems I've encountered. Some sample output from the command-line: $ ar ...
0
votes
1answer
139 views

Dtrace on linux

I am trying to install dtrace on Cent OS 6.4 kernel 2.6.32-358.el6.x86_64 with following error [root@mscserver dtrace-20150306]# make all BUILD_DIR=build-2.6.32-358.el6.x86_64 tools/build.pl ...
0
votes
1answer
39 views

Build gdal with mrsid plugin on fedora 21 server

I've been having an issue for over a week now. The problem is, I can't build gdal source with MrSid DSDK on Fedora 21 Server. I have built and installed gdal with MrSid on Fedora 21 without any ...
-1
votes
2answers
62 views

How to use pass filename without extension to gedit external tool for make?

I am wanting to build and run a program called dbgen using the external tools. I know that this variable holds the filename, ‍‍‍‍‍‍‍‍‍dbgen.c‍‍ : $GEDIT_CURRENT_DOCUMENT_NAME How do I remove the .c ...
2
votes
1answer
83 views

How do I apply a patch?

I need to apply the following patch, and I don't want to mess up what I have so far. Below I have posted the complete content I found online, which was someone's response to a question similar to ...
0
votes
0answers
28 views

does checkinstall uninstall previously installed software?

Originally I installed emacs 24.4 by compiling its source and checkinstall. I use the default install dir --prefix=/usr/local. So /usr/local/bin/emacs. Now I use the same way to install emacs 24.5. ...
1
vote
1answer
20 views

Is there a easy-to-install distribution with all the necessary tools to compile (make, autotools, etc)?

I'm working on a workstation without root privileges. Since I need some tools I cannot install directly, I wish to put them in a vm. The problem is, I cannot connect to the repositories from the vm ...
8
votes
1answer
10k views

GCC error trying to exec 'cc1'

I was cross-compiling a Linux kernel for my Raspberry Pi on a laptop (running debian 7) (followed the instructions here); but when I start compiling (make ARCH=arm CROSS_COMPILE=${CCPREFIX}), I get ...
0
votes
0answers
362 views

libssl undefined reference to symbol 'SSL_load_error_strings@@OPENSSL_1.0.0'

With the following CMakeLists.txt (I tried to snip it AMAP) https://gist.github.com/pbertoni/29200833dc562ab6ee2c I got this error from make at linking time: /usr/bin/ld: ...
0
votes
0answers
35 views

Make fails while installing Node.js on my cPanel server

I've tried all the solutions I've found like make LINK=g++ with no results. It is a cPanel server and I don't have sudo rights. I've tried following tutorials and the tutorial says: wget ...