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

learn more… | top users | synonyms (1)

0
votes
2answers
806 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 ...
5
votes
4answers
7k views

Cannot Compile Apache: “Error, SSL/TLS libraries were missing or unusable”

Arch Linux 2011.08.19 (Linux 3.4.2 i686) Apache 2.2.22 → 2.2.22 (recompile & reinstall) OpenSSL 1.0.1.c-1 These details are likely irrelevant, but: I’m using yaourt with customizepkg to build ...
14
votes
1answer
36k views

make fatal error: openssl/sha.h: No such file or directory

I'm trying to compile a program that, according to the documentation, requires the "OpenSSL library". I have OpenSSL installed, and it's still giving me the error openssl/sha.h: No such file or ...
5
votes
1answer
128 views

Using wildcard in GNU Make pattern rule

Assume doc.pdf is the target. The following rule triggers a regeneration of doc.pdf whenever doc.refer is updated, but is also happy when doc.refer does not exist at all: doc.pdf: doc.mom $(wildcard ...
0
votes
1answer
30 views

how do I install a software I've prebuilt with `make`?

short version: make install tries to recompile the project. I just want to place all the files in the right places. long version: I've created a docker container for building the projects that I ...
2
votes
2answers
40 views

Add environment variable for duration of Make task

I'm using make to handle building files for my application, and those build processes use node modules. Since I install those node modules locally, I have to specify in my $PATH where to call the ...
0
votes
1answer
21 views

Correctly Installing Wifi Driver With patches from Github

I wish to install the driver in the following git. https://github.com/hadess/rtl8723bs Reading the documentation it appears I also need to install one or more patches. My device is an HP Stream 7....
1
vote
1answer
68 views

php links against system libxml instead of version specified by ./configure --with-libxml-dir

I'm trying to build php-5.5.33 from source on a Debian 8 system; configure and make both run successfully, but when I run make install I get the following error: Installing PEAR environment: /...
0
votes
1answer
20 views

How to use bash variables inside make

I thought that make interprets the rule's set of commands literally, passing them to the sub-shell. But this doesn't seem to work in this case: default: loop echo $$RANDOM This prints echo ...
1
vote
1answer
40 views

Downgraded GNU make not working

Since downgrading GNU make from 4.1 to 3.81, make isn't working. This is the method used for the downgrade: In /usr/bin renamed make to make-4.1 Downloaded make 3.81 from gnu.org Extracted make-3.81....
1
vote
0answers
101 views

How do I install an older version of GNU make using apt on Ubuntu 16.04?

The installed version is 4.1 and need to downgrade to 3.81. I searched apt for make 3.81, but I couldn't find it.
1
vote
0answers
39 views

how to install module in correct location or say /lib/modules/`uname -r`

I have one package for which I want to create debian Package instead of compiling it every time. I tried creating it using dh_make and fakeroot but problem is it just hardcode the location where ...
1
vote
0answers
27 views

nodogsplash build: undeclared identifier

I want to install nodogsplash and I followed the instructions to download the package. While installing it gave me the following error: $ make cc -O0 -g -Wall -Isrc -c src/gateway.c -o src/gateway.o ...
0
votes
0answers
116 views

Problem while building caffe

I'm trying to build caffe from source on Arch Linux and it is giving me this error after executing make -j16 CXX/LD -o .build_release/tools/convert_imageset.bin .build_release/tools/convert_imageset....
3
votes
1answer
118 views

ld cannot find -lgfortran

I'm trying to compile Knut (a maths program) on Arch Linux with CMake and I'm getting the following error: /usr/bin/ld: cannot find -lgfortran /usr/bin/ld: cannot find -lquadmath collect2: error: ld ...
5
votes
5answers
21k views

Adding directory to PATH through Makefile

I'm having some trouble in exporting the PATH I've modified inside the Makefile into the current Terminal. I'm trying to add to the PATH, the bin folder inside wherever the Makefile directory is. ...
3
votes
2answers
60 views

Output to multiple files with Makefile

I have a makefile that I use to convert files in markdown into .pdf through a latex template. At the moment, this only works with one file at a time. However, I'd like the makefile to run on any ...
5
votes
2answers
1k views

Forcing GNU make to run commands in order

With the following Makefile, GNU make runs the two commands in parallel. Since the first one takes time to finish, rm *.log is run before the log file is created, and fails. dummy.pdf: dummy.tex ...
2
votes
1answer
60 views

Installing Swift on Freebsd Cannot Make LLVM

I am attempting to build Swift using the new port on FreeBSD 10.2, however, make throws the following error : llvm38-3.8.0_3 is marked as broken: LLDB does not build with Python 3. What do I ...
0
votes
0answers
25 views

tmux problem of linking libevent when running

This is linked to the question: Why can't gcc find libevent when building tmux from source? I was having the error when ./configure and the fix by @StéphaneGimenez only solves compile problem. ...
3
votes
1answer
39 views

Makefile: installing external Linux kernel module

I am writing a simple Makefile for an external kernel module. Building it with: obj-m += usbtherm.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules compiles only the ...
1
vote
1answer
25 views

wmctrl compilation error - missing library

wmctrl is a utility application that controls GNOME/linux windows from command line I am building a wmctrl binary from source, however I am having a problem compiling it, it complains about not ...
3
votes
3answers
2k views

How to install BPG (Better Portable Graphics) on Linux Mint 17?

How do I install BPG (Better Portable Graphics) on Linux Mint 17? I downloaded the tar.gz file from Fabrice Bellard's website. The ReadMe file says, Edit the Makefile to change the compile ...
2
votes
1answer
64 views

Install command if command doesn't exist [closed]

I have this set up in a Makefile. ARG_2 := $(word 2, $(MAKECMDGOALS)) command_exist=command -v $(1) >/dev/null 2>&1 command_not_exist=! command -v $(1) >/dev/null 2>&1 npmig: ...
1
vote
1answer
31 views

Where is make database located?

I don't know why Google searches aren't showing anything. From documentation: The make program uses the makefile data base and the last-modification times of the files to decide which of the ...
1
vote
2answers
196 views

Makefile include env file

I'm trying to include some env vars into a Makefile. The env file looks like: FOO=bar BAZ=quux Note there's no leading export to each env var. If I add the leading export and just include the env ...
3
votes
1answer
217 views

vim makefile syntax highlighting issue

Vim doesn't want to highlight my target named " * .o " and its dependencies because of the char ' * ' that I use to target all object files. When I replace the ' * ' by letters the highlighting ...
6
votes
1answer
54 views

How to display dependencies given in a makefile as a tree?

Problem I want to see the dependencies for one or more targets of a makefile. So I am looking for a program that can parse makefiles and then will represent the dependencies in some tree-like format (...
1
vote
2answers
16 views

Linker error about -laudio

I'm trying to make rcssmonitor and I get the following error: /usr/bin/ld: cannot find -laudio I'm using Linux Mint 17.2. with gcc 4.8.4.
3
votes
2answers
248 views

Unable to compile Linux kernel

I am trying to upgrade my kernel to 4.5 in Linux Mint 17.3, but I get the following error: Makefile:666: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler ...
0
votes
1answer
28 views

Missing NIC in CentOS 5 - AsteriskNow 1.7.1

So I have two nics, but I can't get the second to load, here is the output from lspci -vvv 04:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection Subsystem: Super ...
-1
votes
2answers
82 views

gmake shell and PATH in a Makefile

Could anyone please explain why following: export PATH:=$(PATH):~/bin2 B:=$(shell PATH=$(PATH) testXq.sh) $(warning $(B)) Is working properly showing results of run of the ~/bin2/testXq.sh, while ...
1
vote
1answer
19 views

Unable to install libltc-dev in beaglebone black debian

I am trying to build some C programs in beaglebone black (using debian) which I git clone from here. Now I try command make I got this error :- Makefile:9: *** "https://github.com/x42/libltc version &...
1
vote
1answer
37 views

Arch: All warnings treated as errors?

I'm trying to make a downloaded driver, xf86-video-armsoc, on Arch Linux. However, the configuration of make prevents me from compiling the driver because it treats all compiler warnings as errors. Is ...
1
vote
2answers
468 views

Having issues with compiling node.js from source using ./configure [closed]

I referred to this already answered question, but it wasnt of any help. Can you tell me what I'm missing? I'm trying to install node.js on my Debian 8.0. According to this github article, I followed. ...
1
vote
2answers
798 views

sed:can't read /usr/lib/libltdl.a:No such file or directory

I tried to install the package libgraph but while executing make it says that justin@justin-HP-Pavilion-g6-Notebook-PC ~/Downloads/libgraph-1.0.1 $ make Makefile:781: warning: overriding commands for ...
1
vote
1answer
433 views

Linux Debain Squeezy Distro: Weakerth4n, Kconfig && make issues

I am running the Weakerth4n linux operating system on my old dell d600 laptop I got at Defcon for $80 USD. Anyway I had a question about making certain programs (like Virtual Box) this may be as ...
0
votes
2answers
114 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 ...
0
votes
1answer
368 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
0answers
613 views

Installing XSP on CentOS

Trying to install xsp-2.10.2. Worked fine in the past, now getting this error. Making install in Mono.WebServer mkdir: cannot create directory `2.0': File exists GMCS /out:2.0/Mono.WebServer2.dll /...
1
vote
1answer
1k views

No make target “uImage” with Buildroot 2013.05

After enabling Linux Kernel option and setting the Kernel binary format to uImage, I always get the following error: make[1]: *** No rule to make target `uImage'. Stop. My buildroot configuration ...
0
votes
0answers
53 views

xalan-c on CentOS 7 32 bit

I downloaded a 32bit version of CentOS from https://wiki.centos.org/SpecialInterestGroup/AltArch/i386 For a script, I need xalan-c. When I search for xalan with yum search all xalan, I get this ...
0
votes
2answers
23 views

Ubuntu: Installing programs into specific locations

I have software which is built using a makefile. This makefile also contains (relative) paths to different programs (such as gsoap, postgresql and others) which provide stuff that I need to include. ...
10
votes
3answers
21k views

How do I change which version of Qt is used for qmake?

I feel like there should be a simple way of doing this, but my googlefu is failing so I'd really appreciate some info on how to switch (or even permanently change) which version of Qt is used when ...
1
vote
1answer
30 views

Turn DOCS, NLS, and EXAMPLES options off by default for all FreeBSD ports

The Porters Handbook says in "5.12.1.3. Default Options" that DOCS, NLS, and EXAMPLES are on by default for all ports. I want them off, so I have to unchecked them manually during make config-...
2
votes
2answers
235 views

Simulate the running of a “make install” — a “dry run”/simulator utility?

Is there a generic way of running a bash script and seeing the commands that result, but not actually run the commands - i.e. a "dry run"/simulator of sorts? I have a database install script (...
0
votes
0answers
44 views

m2c : Command not found

I want to experiment on DCTCP protocol. For that I am trying to compile linux kernel version 3.2.18 and include a dctcp patch for that. I am following the directions given here. While I am compiling ...
2
votes
0answers
804 views

m: command not found

just tried to compile the R-language from sources but my make aborted with m -f liblzma.a make[4]: m: Command not found I eagerly searched the web but it seams it's impossible to find the command ...
0
votes
0answers
27 views

Kernel make install error for RTAI 3.8 on CentOS 6.5

Before posting I have read almost every similar post I could find on this and other websites but I haven't found an useful answer. I have to install a custom software that needs RTAI 3.8 on top of ...
3
votes
3answers
19k views

Ubuntu make fails with No such file or directory /lib/modules/3.4.0/build

I am trying to build the CP210x driver for the 3.x.x kernel on ChrUbuntu. Build instructions: Ubuntu: make ( your cp210x driver ) cp cp210x.ko /lib/modules/<kernel-version>/kernel/drivers/...