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

learn more… | top users | synonyms (1)

2
votes
2answers
530 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?
3
votes
1answer
3k 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 ...
0
votes
1answer
308 views

Building binutils - lfs - error while 'make'

I'm going to build my own Linux from scratch, but I've got an error while running 'make' for binutils in chapter 5 I get some errors. The output of 'make' is here: http://pastebin.com/8aVz6jfd There ...
3
votes
3answers
5k 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
1answer
146 views

Long gcc compile time

So far my compilations have either succeeded or failed but his time it just got stuck. I'm compiling gcc on a Linux Synology NAS. However, the compilation process has run for 3 days and I start to ...
0
votes
0answers
31 views

Make error - installing wifi driver offline

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
2answers
7k views

/usr/bin/ld: cannot find -ldb while compiling iproute2

I am trying to compile iproute2-3-12-0 on Fedora 19, I have BerkeleyDB installed, the command ls -la /usr/lib/libdb* gives following results: -rwxr-xr-x 1 root root 1847852 May 16 2013 ...
0
votes
0answers
27 views

How do I install GCC and make on a mac without administrator access or using Xcode?

I'd like to install gcc and make on my Macbook Air, but I don't have root access on it. I found this link through searching on google, but I have no idea how to set up the prefix's so that the actual ...
1
vote
1answer
1k views

Fedora make command broken, kernel mismatch

On a new Dell Inspiron 3521, I tried installing Linux. First try was Ubuntu, but couldn't get the WiFi working. After trying all sort of things and commands, some errors started to show. I then ...
1
vote
1answer
57 views

File (products) of a kernel cross compilation

When the kernel is cross compiled (example. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-), what are the newly created files and their meanings? I'm not looking for a detailed explanation of each ...
0
votes
2answers
1k views

Compiling multiple C++ files with make

I made a makefile to help compile multiple C++ files, but it is giving me "command not found" errors. Could anyone help me to fix it? The errors I get: Make: line 1: main.out::command not found ...
0
votes
0answers
78 views

C Preprocessor (cpp) and cc1 issue

I've been trying to fix a problem related with cross (kernel) compilation which as given the following message: gcc: error trying to exec 'cc1': execvp: No such file or directory I found that this ...
4
votes
1answer
64 views

Check last messages

I let a make command running last night when connected via SSH to a remote machine. Then had to close that SSH session, letting make run. How can I check the last printed messages on the console (to ...
2
votes
1answer
190 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 ...
3
votes
1answer
984 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 ...
0
votes
1answer
843 views

install-recursive Error while installing libLBFGS + cygwin

I am building binaries for CRFSuite in cygwin based on these instructions: In Linux environments, download the source package of libLBFGS, and build it. If you do not want to install libLBFGS into ...
2
votes
0answers
159 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:- ...
1
vote
1answer
2k views

How to get variables from the command line while makefile is runing?

Such as in bash script: read -p "Only UI(y/n)" Temp_Answer. Is it possible to do this while Makefile is runing? Because I want to do different base on the $Temp_Answer (Y or N) in Makefile.
1
vote
2answers
5k views

Problems with CMake in CentOS 6

I try to install a software in CentOS 6.2, without success. In README file it says: Requirements: - qt4 gui lib version >= qt4.6.x Note that many linux distributions split packages into a ...
2
votes
1answer
1k 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 ...
0
votes
1answer
46 views

BLT2.z installation

I'm trying to install BLT2.4z, with Tcl/tk8.4. When I run command make I see this: (cd src; make all) gcc -c -Wall -O6 -I. -I. -I/Users/scarter/tk8.4.20/unix/include ...
0
votes
3answers
447 views

How do I fix “make: No rule to make target `config'”? [closed]

I am very new to Linux, running Mint 15. When I type make config in the terminal, the system responds with: make: *** No rule to make target `config'. Stop. Any idea how to fix that problem?
2
votes
0answers
169 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 ...
0
votes
3answers
487 views

How can I configure all dependencies before installation?

I'm new for FreeBSD and currently I'm installing many ports and many of them have a long list of dependencies, I'm tired of wait to finish the installation of one dependency to configure the ...
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 ...
4
votes
1answer
338 views

Why does diff fail when invoked from a Makefile?

Narrow-down of a patch problem I am trying to troubleshoot: Only two files, each with a size of 1 byte: file a (containing 'a') file b (containing 'b') and Goal is to make and then apply a patch ...
1
vote
3answers
48 views

How to check if aptitude did something?

I've a CI build process during which I install a debian package from my local reprepro. I have a Makefile which does call aptitude to install the package from its own repository like this sudo ...
7
votes
4answers
4k views

What is the purpose of the 'install' command?

I've seen the install command used in a lot of Makefiles, and its existence and usage are kind of confusing. From the manpages, it seems like a knockoff of cp with less features, but I assume it ...
4
votes
2answers
187 views

What are the reasons for each line in Makefile to be executed in a separate shell?

Each command in Makefile is executed by a separate shell. What is the reason for this? Why commands aren't executed as in a regular script? I am aware that it is possible to use one shell using ...
2
votes
1answer
494 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
2answers
555 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
1answer
171 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 ...
1
vote
2answers
446 views

Cygwin : make install up to date problem

I have installed mingw-gcc: GNU Compiler Collection using the setup of Cygwin. When running "make install" command : $ make install And I get this message : make: `install' is up to date. What ...
3
votes
2answers
106 views

How to write software to compile with external libraries?

I want to code open source software with dependencies. I have skills in C/C++ and a minimum makefile knowledge. But im curious about coding this like ./configure && make stuff and how to ...
1
vote
2answers
1k views

How to make OpenWrt Makefile compile faster?

I have recorded that it took 50 minutes for an initial compilation of the OpenWrt firmware image, assuming all the necessary packages have been installed via sudo apt-get install. My BuildRoot Root ...
1
vote
1answer
795 views

Only output errors / warnings when compile kernel?

When you compile kernel you normally see lines like CC XX.o or LD XX So, can I skip these messages? Only output errors or warnings generated by gcc
2
votes
2answers
48 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 ...
1
vote
3answers
182 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
639 views

Compiling PHP and installing it under one directory

I have to compile a few versions of PHP in work but I need an apache service for each version running like we have on Windows. However the configure options seem to have different folders for ...
2
votes
0answers
68 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, ...
6
votes
3answers
3k views

What are .in files?

Sometimes in the sources of projects I see "*.in" files. For example, a bunch of "Makefile.in"s. What are they for and/or what does the ".in" part mean? I assume that this has something to do with ...
1
vote
0answers
413 views

Compiling PHP-FFMPEG Extension

cd ffmpeg-php* phpize ./configure --with-ffmpeg=/usr/local/cpffmpeg make Then I end up with the following issues on my make: ... ... ... /usr/src/ffmpeg-php-0.6.0/ffmpeg-php.c:86: warning: ...
0
votes
0answers
195 views

Unable to autocomplete ONLY when typing a make command

I'm running Ubuntu Linux 10.04. And I have the following in my .bashrc file: if [ -f /etc/bash_completion ] && ! shopt -oq posix; then . /etc/bash_completion fi I'm having a problem ...
1
vote
1answer
49 views

Recommended app for elaborating “System Charts” out of a Makefile in Ubuntu?

I'm looking for an application that is capable of plotting graphically as boxes on a chart (System Chart) all the components and operations of a Makefile so that the chart be taped prominently to the ...
3
votes
1answer
230 views

Make Completion Progress Script

Any time I'm executing a build process that takes several hours, I inevitably stare at my terminal and wonder, "how much longer?" Sometimes, I manually pick up on some pathname echoed to the terminal ...
2
votes
4answers
920 views

Uninstalling Software Built from Source [duplicate]

How can you uninstall software that was built and installed from source? (Using make install?)
2
votes
1answer
3k views

openssl-1.0.1e compiling on Debian

I am compiling OpenSSL-1.0.1e on Debian Lenny (armv4 architecture). I have been following the instruction on http://www.linuxfromscratch.org/blfs/view/svn/postlfs/openssl.html to compile the source ...
1
vote
1answer
506 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 is ...
5
votes
2answers
402 views

Git commit from within a Makefile

I have a Makefile for a Latex project I'm working on. Makefiles aren't my forte, but is there a way to do something like: make git "My comment" And have the makefile execute: git commit -m "My ...
0
votes
1answer
92 views

Use of .. in Linux scripting and makefiles [closed]

what is the use of .. in linux scripting and in the following makefile? MODULE = EQUALIZER = .. SRCS = include ${EQUALIZER}/xyz.mak include ${EQUALIZER}/pqr.mak