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

learn more… | top users | synonyms (1)

0
votes
0answers
53 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
87 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
20k 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. ...
0
votes
2answers
790 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 ...
3
votes
2answers
58 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
47 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
21 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
31 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
23 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
1k 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 ...
1
vote
1answer
56 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
159 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
203 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
44 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
206 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 ...
5
votes
3answers
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 ...
0
votes
1answer
25 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
68 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
15 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
30 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
423 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
0answers
5k views

“Makefile:29: recipe for target 'siplib.o' failed” - SIP installation [closed]

I'm trying to install SIP 4.16.5 for Python 3.4 on Ubuntu GNOME 14.10. I type python3 configure.py and I get the following: This is SIP 4.16.5 for Python 3.4.2 on linux. The SIP code generator will ...
1
vote
2answers
752 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
429 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
104 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
329 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
604 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
50 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
22 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. ...
8
votes
3answers
19k 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
26 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
158 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
34 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
751 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
22 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
18k 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/...
0
votes
1answer
165 views

Having problems with make and opencv

I'm trying to build opencv for my x86_64 Centos 6 operating system. I think the problem is make is trying to use the 32 bit version of the bz2 library instead of the 64 bit version. I get this ...
2
votes
2answers
77 views

How to remove trailing spaces from makefile variable?

Makefile does not require to bound variable values by quotes. For instance this will be accepted: a := ls -l -a > out.txt My problem is: If I want to do something like this: a := ls -l -a > ...
49
votes
7answers
30k 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 ...
2
votes
1answer
69 views

pkg-config output not working with makefile?

I'm trying to run the makefile, shown in this repo, which is a simple Wayland client. But when I run make, it seems that the output of $(WAYLAND) is blank, and it fails to compile due to not being ...
1
vote
0answers
43 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
3answers
341 views

How to write exactly bash scripts into Makefiles?

I love to type bash scripts, but if I prepare multiple programs, project's root directory is filled with so many shell scripts. That's why I prefer using Makefile. Makefile is good. But I want to ...
0
votes
1answer
166 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
3answers
214 views

Send command to the shell via Makefile

I'm building a Makefile to automate the start of docker on osx. At the end of the start docker requires to launch this command on the shell in order to configure the shell: eval "$(docker-machine env ...
0
votes
1answer
53 views

Recursive Make passing targets in OS X

I am trying to write a recursive clean target for GNU Makefile on OS X (GNU Make 3.81 - from XCode). Following GNU Make documentation, I came up with the following: Main Makefile ALLSUBMAKES=$(...
0
votes
1answer
133 views

can not install, No targets specified and no makefile found. Error

I'm trying to install kiwix on fedora 23 when I tried to compile kiwix sourcecode under my computer. and when I want to run make, it shows me this message! [ar.lnx@host kiwix-0.9] $ make make: *** ...