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

learn more… | top users | synonyms (1)

3
votes
0answers
143 views

What steps are involved in porting an Xorg OpenGL app to DirectFB?

I'm looking for a birds-eye view on porting a small app1 that uses some OpenGL functions from it's home on Xorg to run in a more stand-alone fashion using DirectFB. I am unfamiliar with both C and ...
3
votes
2answers
361 views

Make problem with includes

I am installing imagick-v3.1.0RC2 package on CentOS 5.5. I have ImageMagick 6.7.9-9 installed as well and have a problem on the make step. Problem is that its cannot find included file: ...
2
votes
2answers
388 views

In Linux, is 'make folder/path/clean' same as running 'make clean' command in folder/path?

I'm new to Linux, more so for Makefile. In Linux, is 'make folder/path/clean' same as running 'make clean' command in folder/path/? (folder/path/ refers to an arbitrary directory.) Apart from this ...
2
votes
2answers
309 views

What do $@ and $< in a makefile mean?

I am seeing a makefile and it has the symbols $@ and $< in it. I have never seen them, and Google does not show any results about them. Do you know what these commands do?
2
votes
2answers
7k views

fatal error: linux/smp_lock.h: No such file or directory

I'm trying to build some drivers for a TV tuner and I am getting this error when I build: make -s -C /lib/modules/3.2.0-23-generic/build SUBDIRS=/home/jtp/IT9135_SRC modules In file included from ...
2
votes
3answers
6k views

Difference between “make install” and “sudo make install”

Sometimes I encounter problems with using make install which gives me a permission denied error when writing to some folders. So instinctively I use sudo make install. Will this introduce additional ...
2
votes
1answer
2k views

Why does 'make' complain about a missing rule when I try to build a program from source?

I am a Linux novice, and I am attempting to compile scientific software called DL_POLY_Classic. I downloaded the zip file dl_class_1.6.tar.gz and unzipped it using the command tar xvzf ...
2
votes
1answer
5k 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 ...
2
votes
2answers
1k views

Makefile compiles unchanged files

Made an effort to get the object files in another directory, but that directory would otherwise reflect the source directory tree. Got that to work, but there is a missing piece at the $(OBJ): line ...
2
votes
1answer
63 views

What does make[number] mean in make V=s?

When I enable make V=s to read the full log of make. I always see make[numer] in the log. e.g: datle@debian:~/workspace/cpx/trunk$ make rm -rf openwrt/tmp cp config/defaut.config openwrt/.config cd ...
2
votes
2answers
124 views

Compare two kernel config files from the menuconfig perspective?

I have a situation in which i have two kernel config files (for the same kernel source ). Both of them have a part of the functionality that i need (on one, USB works correctly, on other, the second ...
2
votes
4answers
508 views

Uninstalling Software Built from Source [duplicate]

How can you uninstall software that was built and installed from source? (Using make install?)
2
votes
3answers
4k 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 ...
2
votes
2answers
193 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 ...
2
votes
2answers
1k views

When running sudo make install environment variables are not passed

I have problems with using pkg-config in a Makefile, while running in sudo mode. I need to have PKG_CONFIG_PATH set for pkg-config to find geany.pc file that is held in /usr/local/lib/pkgconfig. If I ...
2
votes
2answers
474 views

.DELETE_ON_ERROR behavior with make and pipelines

The .DELETE_ON_ERROR target will tell make to delete a target if a rule fails. But this doesn't work for pipelines, because the exit status value $? holds the value of the last program in the ...
2
votes
2answers
504 views

Writing a makefile to install manual pages for a library

If I have a C library, let's say "apple", and "apple" contains functions "banana" and "carrot", how do I write the "install" line in the makefile so that "man banana" brings up the manual page for the ...
2
votes
1answer
100 views

Debian packaging with dependency (from the scratch)

I would like to package my software (in C) into a .deb file, but I encounter some difficulties. It would be nice if someone could give me a hand... Let the source code be the following toy example: ...
2
votes
4answers
134 views

How Can I Change the Default arguments to gcc When I run Make “filename”

Forgive me if I posted this in the wrong Stack. Every time I run make for a file without any Makefiles in the directory, make still works and compiles the source code but only with the arguments: gcc ...
2
votes
1answer
77 views

compiling PHP fails cause of libpcre

I'm trying to compile PHP myself as I want to use PHPBrew to switch between multiple versions of PHP. I already solved a ton of problems in the process, but with this particular one I can't get any ...
2
votes
1answer
327 views

gedit: tabs or spaces dependent on syntax

I almost always use the Insert spaces instead of tabs feature in gedit. The one exception is when writing a Makefile which requires tabs. I don't suppose there is a way to make this option dependent ...
2
votes
1answer
124 views

How to write makefile for bulk processing?

I have some files in a folder source. I want to process them using program program and output them into folder target just by typing $ make How should I write a makefile for this? Directory ...
2
votes
1answer
39 views

LFS-7.5 util-linux `make check` fails

When I run make check in util-linux, it fails saying: 3 tests of 127 FAILED According to LFS - 7.5 test logs found here, 2 tests fail and that is acceptable. But my cal command fails while ...
2
votes
1answer
49 views

How can you avoid clobbering configuration files when installing with make

When using the autotools build system and installing with make install how is it possible to avoid clobbering existing configuration files? I've defined a configuration file in a Makefile.am like so: ...
2
votes
1answer
1k views

Makefile $wildcard only matches top directory

I am trying to implement a makefile for my C project which has a directory structure as follows: PROJECT_FOLDER: folder1 folder2 folder // n number of folders main.c FOLDER1: ...
2
votes
1answer
2k views

Does `make install` overwrite files?

I've taken some time to install a newer version of Apache2.x on my Mac Os X 10.6.8. When configuring apache through ./configure I specified the Darwin layout. This layout assumes the path setup of ...
2
votes
2answers
318 views

How do I recursively apply PKGREPOSITORY when calling make package-recursive in FreeBSD?

I'm trying to create a package of Apache and its dependencies: sudo make package-recursive \ __MAKE_CONF=~/make.apache22.conf \ PKGREPSOITORY=/usr/home/gvkv Everything works fine; Apache and its ...
2
votes
1answer
7 views

ld cannot find -lQt5Multimedia

I'm trying to build BBQScreen for Linux. During the make process, I get the following error: g++ -m64 -o Linux/BBQScreenClient2 debug/main.o debug/mainwindow.o debug/screenform.o ...
2
votes
2answers
507 views

Where does make defconfig get its configuration in OpenWrt?

I am compiling an image for wifi devices using OpenWrt. Following the instruction I copy a simple .config file to TOP-DIR. CONFIG_TARGET_ar71xx=y CONFIG_TARGET_ar71xx_generic=y ...
2
votes
1answer
31 views

Using a make rule to call another

I am writing a LaTeX project that I am using a makefile for. I have a clean function to clean the excess LaTeX files: .PHONY: clean clean: \rm *.aux *.blg *.out *.bbl *.log But in some cases I ...
2
votes
1answer
68 views

makefile uses same receipe for multiple targets

i love this makefile but if i call 'all' or 'lab4' it will -o the name 'lab4' but build using the dbug receipe. if i call 'dbug' it will -o 'dbug' and use dbug receipe. what am i doing wrong? i stole ...
2
votes
1answer
674 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 ...
2
votes
1answer
674 views

Error compiling FTDI VCP drivers: Cannot find version.h

driver installation fails of FTDI VCP driver during make install. Running ElementaryOS with kernel 3.11.0-14-generic make install awk: cannot open ...
2
votes
2answers
45 views

Makefile idiom to install to the first available directory

I have a Makefile which, among other things, installs a Bash completion script: install [...] /etc/bash_completion.d/ This works fine in Ubuntu, but in Arch Bash completions are installed to ...
2
votes
1answer
165 views

How can I copy a git repo from a Makefile?

I'm writing a Makefile to sync my local dotfiles with GitHub. I recently decided to also add my .vim folder to the repo. But when trying to copy the .vim folder I keep getting a Permission denied ...
2
votes
1answer
165 views

Installing GNU Make on ChromeOS

Playing around with the new Chromebook, was trying to get Make working to the end of installing other software. However, can't seem to get Make anywhere near to install; ./configure doesn't generate ...
2
votes
1answer
94 views

Build Gimp from custom-path libraries

I'm installing Gimp (2.6.10) on Debian. The system has all the required libraries (dependencies) installed in the default directories, so giving to Gimp ./configure && make && make ...
2
votes
1answer
588 views

pysvn fails to make due to -lneon not found?

I am trying to install pysvn on my CentOS server and it says that -lneon is gone. After searching their mailing lists for a bit I found what neon means but it doesn't say how can I get it? Here's my ...
2
votes
0answers
124 views

Trouble embedding clang in a standalone application

I am running Ubuntu 13.04 on my end and I have installed clang as well as libclang-dev and llvm (through apt). I tried hard to run RecursiveASTVisitor example given here:- ...
2
votes
1answer
864 views

How to install Mono v3+ in Ubuntu?

How can I install the latest release of Mono in Ubuntu Saucy? In order to develop in a free OS, I need to setup Mono (that now supports .NET 4.5). This is what I did: Download and uncompress ...
2
votes
0answers
112 views

Binutils documentation compilation problem

I'm trying to compile and install binutils+GCC for my machine on my own. I have compiled lastest binutils sources without getting any error, but installation seems to have some problems with gas ...
2
votes
1answer
393 views

gcc make install error [closed]

I'm trying to compile gcc with make install to a drive wich is an linux from scrach bulid to a directory called tools and it gives me this: make[1]: Entering directory `/media/BOSS/sources/gcc-build' ...
2
votes
0answers
53 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, ...
2
votes
0answers
118 views

Trying to install DIP (Dialup Networking) package for SLIP protocol

We are trying to interface with a wireless modem that connects to a computer via a com-port DB-9 connection. It uses SLIP in the sense that the modem hosts a SLIP server and requires the interfacing ...
2
votes
0answers
686 views

libbfd-2.22.so missing while compiling Binutils/Glibc/Zlib

When I try to compile Binutils, Glibc and Zlib using chroot on my LFS system, I get this error: ar: error while loading shared libraries: libbfd-2.22.so: cannot open shared object file: No such ...
2
votes
0answers
148 views

What went wrong with this driver install?

I am trying to install the correct LAN card drivers on openSuse 12.1. This is the output of the log file for the autorun.sh script: ------------------------------- Sun Jul 1 21:50:45 IDT 2012 ...
2
votes
2answers
1k views

How to change the install path of my Linux Source tree?

I was trying to bring up my custom kernel. I did the following : $ make menuconfig && make modules && make modules_install && make install I would like to change the ...
1
vote
3answers
2k 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 ...
1
vote
3answers
144 views

Using makefile assignments from a shell script

For example: srcdir = ../libc # Src directory prefix = /usr/local // Installation path The first line is from a makefile and second from config.make. I need to access the variable in a ...
1
vote
2answers
3k views

X11/Xlib.h: No such file or directory

I am trying to install tcl and tk on my linux server.I don't have the root password,So I am installing them in my home directory.I am using below method for installing it manually. cd ...