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

learn more… | top users | synonyms (1)

3
votes
1answer
285 views

Install dwb browser

I try to install dwb on debian wheezy. There is a package but the version is old and I would like a newer version. The version in wheezy does not provide dwbem, suddenly I can not install flaskblock ...
0
votes
3answers
105 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
95 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
41 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 ...
4
votes
4answers
244 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
134 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
272 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' ...
3
votes
2answers
3k 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 ...
2
votes
2answers
213 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
146 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
0answers
105 views

bmake error on Mandrive: “bmake: no system rules (sys.mk)”

I'm trying to use bmake to build OS161 on Mandriva. When I try to run bmake, I get the following error: bmake: no system rules (sys.mk) I get the same error, even when I run bmake -m ...
1
vote
2answers
188 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
85 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
524 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
6k 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 ...
3
votes
1answer
131 views

Strange behavior automating with “make -f”

I have a set of directories, some of which contain makefiles, and some of the makefiles have clean targets. In the parent directory, I have a simple script: #!/bin/bash for f in *; do if [[ ...
1
vote
1answer
360 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
37 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
126 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
308 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
41 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, ...
5
votes
3answers
885 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
286 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
117 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
42 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
145 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
198 views

Uninstalling Software Built from Source [duplicate]

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

GNU GCC 4.8 build error

I was trying to install the latest GCC 4.8 but somehow the build fails. Here are the steps I followed: In the directory /mnt/ajay/ I checked out the code from svn using the command: svn checkout ...
1
vote
1answer
289 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 ...
4
votes
2answers
154 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
88 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
1
vote
1answer
2k views

Problem compiling a driver : “No rule to make target”

First of all I am running a CentOS 6.4 installation. My computer is a laptop and I am trying to install the drivers for my ethernet card, because this week end I lost my ability to connect to the ...
0
votes
1answer
95 views

Why is make unavailable on the default Gentoo liveCD?

Whilst attempting to install Gentoo on my desktop, I ran into some trouble getting my wireless card to work. This is the card I am using. The modules included with the Live CD didn't detect my card, ...
1
vote
1answer
132 views

Cannot make anyfs-tools. My e2fslibs package seems not to be the compatible version

anyfs-tools promises to convert a ntfs partition into ext3. That's what I want to do. (I have backed up what was necessary). But when I try to compile anyfs-tools I get a make compilation error ...
0
votes
1answer
499 views

Assembly files in obj-m list when building kernel modules

I'm trying to build kexec as a module, but I'm running into a weird problem. My obj-m is: obj-m += kexec.o machine_kexec.o relocate_kernel.o When I run the makefile, it complains that there's "no ...
2
votes
2answers
3k 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
295 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 ...
6
votes
1answer
112 views

How should man pages be installed?

When distributing a custom utility I'll typically write a makefile that installs binaries to /usr/local by default PREFIX ?= /usr/local MANPREFIX ?= ${PREFIX}/man install: install utility ...
0
votes
2answers
127 views

Files created by 'make' aren't getting executable permissions by default

I'm trying to build a project, and when I use the command make, I get the following errors: /bin/sh: line 4: .deps/ipset_bitmap_ipmac.Tpo: Permission denied make[2]: *** [ipset_bitmap_ipmac.lo] Error ...
3
votes
1answer
2k views

Unable to install LAN driver in RedHat (*** /lib/modules/2.6.32-358.el6.i686/build: No such file or directory)?

I tried to install the Realtek LAN driver on my RHEL Server (running version 6.4). In the folder extracted: autorun.sh log.txt Makefile README src \>type command: ./autorun.sh ...
0
votes
0answers
342 views

make: i686-linux-gcc: Command not found

I am using Ubuntu-11.10 amd64 and trying to cross-compile a linux-2.6.38.8 kernel for a 32-bit target.I tried make CROSS_COMPILE=i686-linux- ARCH=i386 But I got error make: i686-linux-gcc: ...
1
vote
2answers
2k 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 ...
0
votes
1answer
185 views

Compiling multiple source file with arm-ulinucxeabi-gcc including -o -c option

I am compiling multiple c source which depend on multiple header files. Makefile SHELL=cpp2 ...
1
vote
0answers
117 views

obfsproxy fails to build because it can't find event2/util.h

I'm trying to build obfsproxy. These steps all work fine: # git clone https://git.torproject.org/obfsproxy.git # cd obfsproxy # ./autogen.sh # ./configure But then I get to: # make make all-am ...
0
votes
2answers
47 views

Cleaning after installation

Is it safe to remove the downloaded tar once the program is installed (once I run ./configure, make, make install)?
0
votes
3answers
5k views

No targets specified and no makefile found. Stop. Makefile ubuntu

When I execute the command sudo make I get this error: No targets specified and no makefile found. Stop.
1
vote
0answers
288 views

CMake Error: The current directory is different than

I'm trying to compile the source code for Shrewsoft VPN. The instructions say to compile the source on step 4. However... I get this error: user@ubuntu:~/Ubuntu One/Programs/ShrewSoft VPN$ sudo ...
1
vote
1answer
176 views

What is the default jobs argument for make?

How many jobs does make use by default when you don't pass it the -j flag?