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

learn more… | top users | synonyms (1)

0
votes
1answer
29 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 some ruby gems, we were not able to run our regular ...
1
vote
1answer
30 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 ...
0
votes
0answers
16 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
1answer
40 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 ...
0
votes
2answers
37 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 ...
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 ...
2
votes
1answer
55 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 ...
0
votes
0answers
16 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
36 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 ...
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 ...
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
16 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 ...
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
32 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
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
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
30 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
44 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 ...
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
56 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 ...
1
vote
0answers
20 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 ...
3
votes
2answers
56 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? ...
0
votes
0answers
40 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' ...
0
votes
1answer
72 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
29 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 ...
0
votes
1answer
125 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
38 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
57 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
81 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
24 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
19 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 ...
0
votes
0answers
334 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 ...
0
votes
0answers
56 views

Error while building libmtp package :Makefile:446: recipe for target 'libmtp_la-util.lo' failed

I am getting an error while building the libmtp sources from pisi linux: Makefile:446: recipe for target 'libmtp_la-util.lo' failed This is the full output: http://pastebin.com/mXtWmJPJ.
1
vote
1answer
312 views

How to fix “skipping incompatible /usr/lib/libc.a”

I get the following error when I try to build an embedded Linux target on a 64 bit Fedora 16 (Verne): make[3]: Entering directory `/export/home/git/minerva-5.x/third_party/multifiles' ...
2
votes
3answers
237 views

How to take variables from another Makefile in shell script

I want to use the variables from another Makefile under the directory ~/kernelbuild/linux-3.14.37 in my own shell script. Following is the variables that I need: VERSION = 3 PATCHLEVEL = 14 SUBLEVEL ...
2
votes
0answers
95 views

Shell script for automated kernel compilation

I am trying to write a shell script to build a custom kernel on Arch Linux. I have succeeded to do write all the steps described in the Arch Linux kernel compilation page: ...
1
vote
1answer
79 views

Switch-case block inside define keyword in a single logical line in a makefile

This is the code excerpt from ghc.mk, part of Haskell source compilation. I find it different, because the author has chosen to write one function block in a single line. Is it a common practice in ...
3
votes
2answers
42 views

File function in makefile takes args prefixed by '@' symbol

This code excerpt is from Chapter 8.6 of GNU makefile manual. What does @$@.in for file function arg in a makefile mean? and why are shell commands like rm prefixed by '@' symbol program: $(OBJECTS) ...
0
votes
1answer
24 views

can't find “buildkernel” target in FreeBSD source files

I'm trying to compile a FreeBSD 9.3 Kernel. in the docs it states that the commands make buildkernel and make installkernel must be run, However I can't find these two targets anywhere in the make ...
0
votes
1answer
26 views

Confused about why makefile is not generated

I have a lot of code used by our group. The group gave me a document that explains how to set up the makefile. However, the postdoc entered the commands really fast before and got it to work for a ...
3
votes
1answer
34 views

Target-specific make variables

How can I force a target-specific variable to be set immediately (line 2)? I want the output of make to be release and make debug to be debug. X = release debug: X = debug debug: all # the rest is ...
2
votes
1answer
68 views

Uninstall & remove emacs (installed via “make”)

I have installed emacs24.4 through instructions on this site. Now I want to uninstall and remove it completely, but since I haven't installed emacs via apt-get I can't seem to remove it either via ...
0
votes
1answer
109 views

make: xscale_be-gcc: Command not found

I'm new to embedded and am reading 'Embedded Linux Primer' at the moment. I tried to build an xscale arm kernel: make ARCH=arm CROSS_COMPILE=xscale_be- ixp4xx_defconfig # # configuration written to ...