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

learn more… | top users | synonyms (1)

0
votes
0answers
9 views

How to change CFLAGS for autogen.sh

I am relatively new to linux. I was trying to rebuild MDM display manager for linux mint from url https://github.com/linuxmint/mdm. In the documentation it is said that you should use ./autogen.sh ...
3
votes
4answers
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 ...
0
votes
2answers
42 views

which packages are required to use make?

I try to compile a package on a fresh debian wheezy inside a VM (32bit Kernel): cd /tmp/ wget https://github.com/freifunk-gluon/batman-adv-legacy/archive/master.zip rm -Rf batman-adv-legacy-master ...
-1
votes
1answer
25 views

How to install make, pip, etc on Debian Wheezy? [on hold]

I know this sounds really simple but I can't do it anymore (because this changed). I just installed the latest version of Debian stable (7). How do I install the make command? I've tried 'apt-get ...
1
vote
0answers
8 views

How to define ffmpeg's path during compilation of another software?

I'm trying to compile an opensource software that needs bleeding-edge ffmpeg, so I successfully compiled ffmpeg, but I don't want to run make install as it's not easy to be removed after my tests. ...
1
vote
2answers
41 views

Makefile make install not executing multiple line commands

I have a Makefile that contains an install section to allow me to make install after building the source code. The install section contains two lines of shell commands: install: /usr/local/lib cp ...
0
votes
1answer
16 views

How to tell the compiler to search some libs inside /usr/lib/x86_64-linux-gnu

I try to compile a project, I got the source files from git hub. But when I launch make, the compilation complains that the dependency on wayland-server is not met. However, I have wayland ...
1
vote
1answer
40 views

Difference between sudo make and sudo -s ; make

What are the differences between sudo make and sudo -s make First example do not work with my software, there is always a header file missing. Login as root with sudo -s and compile works fine. ...
14
votes
1answer
3k views

What happens in each step of the Linux kernel-building process?

I've read many tutorials about how to build custom kernels and boot Ubuntu using those kernels, and successfully followed the guides and booted custom kernels, but I have no understanding about what ...
0
votes
1answer
510 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 ...
0
votes
0answers
18 views

Makefile not prompting compiler to use optimization flag [migrated]

I have a simple makefile that I am using in bash to compile a C++ program and its associated .h files, not every .h file has a .cpp file associated with it. I wrote a makefile where each dependency ...
5
votes
1answer
254 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 [[ ...
2
votes
1answer
9k 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 ...
0
votes
0answers
16 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. ...
4
votes
2answers
153 views

Compiler cannot find header file, do I add the directory to PATH?

I am trying to work with gtk which is located at /usr/include/gtk-3.0/gtk/ .., but all of the header files in the toolkit have #include <gtk/gtk.h>. Aside from adding /usr/local/gtk-3.0 to ...
2
votes
1answer
180 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
1answer
46 views

Cannot find -lgcc

I'm trying to compile my next basic c program after hello-world. This contains two supporting modules. I have Ubuntu running in a VM through VirtualBox on a mac. Everything is up to date but I ...
-1
votes
1answer
36 views

Run a server and client in a makefile [closed]

I'm coding a socket file server in C++, and I can't figure out how to put proper unit testing into my makefile. My problem is as follows: The server, when started, spits out its port number to ...
0
votes
1answer
85 views

cc1: warnings being treated as errors when compile FreeBSD 8.2 Release

I am trying to compile FreeBsd 8.2 RELEASE kernel # uname -a FreeBSD 8.2-RELEASE FreeBSD 8.2-RELEASE #2: Sun May 18 00:07:10 PDT 2014 Build the kernel # pwd /usr/src # make buildkernel ... it ...
0
votes
0answers
16 views

How to put .desktop launcher in autostart directory using makefile

I want my program to add a .desktop launcher to the ~/.conf/autostart directory. How do I do this? I already have the following code to put the launcher in the applications directory: desktopdir = ...
0
votes
0answers
22 views

Configuration Question for libgd-2.1.0 Install

OK, So I think I have zlib-1.2.8 installed on my Linux system correctly. I used the following commands to do this: ./configure --prefix=/usr2/lib2 --eprefix=/usr2/lib2 make make check make install ...
1
vote
0answers
47 views

Is it safe to symlink to /usr/include/x86_64-linux-gnu/sys from /usr/include/sys?

I'm missing the /usr/include/sys dir and all of its headers. I have build-essentials and supposedly every other -dev package I require for this make. From reading around I understand that it's safe ...
7
votes
4answers
114 views

How can I get gmake to give me a list of all included makefiles?

I've inherited a major mess of a makefile network that was itself inherited from another project, with makefiles included all over the place. I'm trying to make a simple change without gutting the ...
0
votes
0answers
519 views

rtl8812au wireless driver installation on Centos 7

I have a fresh install of Cent OS 7 with the Gnome desktop environment. I have been trying to install rtl8812au wireless drivers found at https://github.com/gnab/rtl8812au for my Netgear A6100 WiFi ...
0
votes
1answer
58 views

Configuring zlib for compiling and installation

I am trying to install zlib-1.2.8 from within "/root/tmp/zlib-1.2.8/" but I think my configuration options are incomplete. The configuration command that I'm using is: ./configure ...
1
vote
4answers
545 views

“cannot find -lnetsnmpmibs” while compiling net-snmp-5.7.2 [closed]

I am currently trying to compile net-snmp-5.7.2 on rhel 6 64bit system. ./configure ends correctly, but when I do the make step I got the following error: gcc -shared -O2 -g -pipe -Wall ...
0
votes
1answer
22 views

Can't Make a LDD for a Devkit8000

I'm trying to build a Linux Device Driver for a Devkit 8000. I'm getting the following errormessage: When I try to follow it's directions I get asked a bunch of yes/no questions I don't really ...
1
vote
0answers
117 views

Repeated error : #error “Only <glib.h> can be included directly.”

I have a research on author attribution compression distance. And I should use "Complearn" ,which is a compression program, in my work. But in the beginning I have problem in installing this program. ...
0
votes
2answers
69 views

Fatal error: linux/smp_lock.h: no such file or directory when trying to compile tiusb

I am trying to compile the TI-Graph Link USB Drivers? So I downloaded it, and ran make in the directory libusb. It produced the following: ~/Téléchargements/tiusb/tiusb-1.10$ make make -C ...
1
vote
1answer
58 views

Walk-through into make (menu)config's options [closed]

I need to customize the kernel a lot for a custom system. Most of my changes concern the kernel's memory usage (something like an embedded kernel). There are a lot of things enabled by default in the ...
4
votes
1answer
877 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 ...
3
votes
2answers
455 views

Make problem with includes [closed]

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: ...
3
votes
3answers
8k 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 ...
0
votes
1answer
41 views

How can I undo the changes after compiling a package? [duplicate]

Let's say that I have build a package using the typical method ./configure make make install and then I would like to uninstall this package. There is no any uninstall script. How can I revert my ...
7
votes
3answers
5k views

Why do some packages use 'make install' while other use 'sudo make install'

I recently installed LAME encoder on my server to convert wav to mp3 and that worked with './configure, make, make install; I then tried to install OGG encoder and that requires './configure, make, ...
4
votes
1answer
90 views

What Did Users Do or Use Before the Make Command?

I use Gentoo as my primary home Desktop OS. I have since ~2004. I appreciate the emerge command for managing a source based OS as well as it does. Every now and then I check on other distributions, ...
1
vote
3answers
10k 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.
2
votes
3answers
63 views

Hide make targets from shell when users autocomplete in bash

Is there a way to flag some targets in a Makefile so that they don't appear at all in the shell when the user types make and then presses Tab ? I am having a Makefile with too many recipes and I don't ...
2
votes
1answer
118 views

To write this Pseudocode with Regex

I am doing a Makefile which I run regularly by Crontab every day at 0230 crontab -e; 30 2 * * * /bin/thePseudocode Python-like Pseudocode directories = ["Cardiology", "Rheumatology", "Surgery"] ...
1
vote
1answer
57 views

cd to a child directory of a symlink fails

To build a kernel module, you have to do make -C where -C is cd functionality. As my make failed a lot of times, I found this: [root@ror6ax2 modules]# ls -l /lib/modules/`uname -r` | grep build ...
1
vote
0answers
33 views

How to fix error of installation script for cataclysm-mouse [closed]

I have written my own driver after spending some time reverse-engineering the protocol they were using. It doesn't cover a lot of features, but I want to play computer games and manage my window ...
1
vote
2answers
142 views

Increasing stack size in 64 bit Cygwin? (installing ocaml)

I'm trying to set up an older version of ocaml, and I'm getting an error message that says that I need to increase my stack size. The only way I've found to do this in cygwin involves running an ...
4
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 ...
0
votes
2answers
71 views

Please explain what happens when I run this Makefile

I'm learning flex and (for really the first time) using the command line. I created a Makefile to simplify my testing process but I don't understand why the commands are in reverse. For instance, in ...
0
votes
1answer
667 views

Unable to 'make' anything.. Kernel-headers problem? Trying to get my RTL8723BE working

I'm a starting security/Linux student and I'm having headache-problems getting my wireless to work on Kali Linux. Recently I've bought a new laptop, to be specific the: Lenovo IdeaPad Z50-70-01418NL ...
1
vote
1answer
74 views

Gmake macro expansion: macro calls macro with variable in arguments

In the following makeffile one macro process it's arguments to call another macro. I expect that makefile below will generate two targets and correct list of the targets in $TARGETS. But in fact it ...
2
votes
0answers
241 views

Some questions compiling linux kernel with make-kpkg

I'm doing my first steps compiling the linux kernel and adding a new system call. I've managed to do it, but I still have some questions. For this task, I has set up a Virtual Machine guesting debian ...
0
votes
1answer
45 views

using all callin different targets in makefile

I wrote a makefile as given below: .PHONY: clean_lib all a: lib make $@.exe c: lib make $@.exe clean_lib: rm -f lib all: a clean_lib c When I call make all I would like ...
0
votes
0answers
71 views

make ASUS PCE-N15 driver errors on SteamOS

I am trying to install drivers for my wireless network card, thankfully the card does have up-to-date drivers which are suppose to be compatible with Debian (I am running SteamOS which is based on ...
1
vote
0answers
28 views

How to compile dcp2icc?

After trying for hours I am unable to compile dcp2icc-0.1 on Linux. With a simple Makefile added to the original code it fails as follows: g++ -o build/XMP/source/XMPCore/ExpatAdapter.o -c -O2 ...