Make is a utility that automatically builds executable programs and libraries from source code by reading files called makefiles which specify how to derive the target program.

learn more… | top users | synonyms

42
votes
3answers
3k views

I installed a program by getting its source code, and then running `sudo make install`; how to make `apt-get` know about it?

I installed program (call it, for example,progA) by building it from source code, and then finally calling sudo make install and sudo ldconfig. However, it seems apt-get hasn't gotten the memo, ...
26
votes
3answers
70k views

“autoreconf: not found” error during making qemu-1.4.0

I was ./configure'd the qemu-1.4.0 and during make it cause: (cd /home/amin/Simulate/qemu-1.4.0/pixman; autoreconf -v --install) /bin/sh: 1: autoreconf: not found make: *** ...
15
votes
1answer
65k views

Make Command Not Found

I am having a problem that doesn't seem to be common based on searching various forums. I cannot run the Make command. Message: The program 'make' is currently not installed. You can install it by ...
15
votes
1answer
13k views

What does “./configure; make; make install” do?

What does ./configure do? Why make then make install? How does it know where libs are? ( they are all there and loaded but it cant find them.) Why need libs if compiler is supposed to compile?
13
votes
2answers
44k views

ubuntu how do I install make [duplicate]

/usr/bin/perl install-module.pl --all ERROR: Using install-module.pl requires that you install "make". I need to install make on my ubuntu on AWS EC2. How can I do that ? I could finally install ...
10
votes
3answers
47k views

How to install latest cmake version in Linux/Ubuntu from command line?

I am trying to install latest cmake in my linux box and I am always getting the below exception - userName@phx5qa01c-4e23:~/build$ wget http://www.cmake.org/files/v2.8/cmake-2.8.11.tar.gz ...
10
votes
1answer
5k views

How to speed up compilation of Ubuntu apps (make, cmake, gcc)

I am compiling some programs here and I have 4 cores. Is there a way to tell make, cmake or gcc to compile using all cores or something to that affect.
7
votes
1answer
31k views

“error adding symbols: DSO missing from command line” while compiling g13-driver

I'm trying to compile the download received here: https://code.google.com/p/linux-g13-driver/ by running make but I'm receiving errors that to me, after searching on the web, look like they're the ...
7
votes
1answer
2k views

How to run parallel make with debuild?

I am trying to make a package of a piece of software that I've (co-) written. I'm using debuild -i -us -uc -b And in principle that works fine. In order to shorten compilation time I'd like to ...
7
votes
1answer
2k views

How do I install make?

/usr/bin/perl install-module.pl --all ERROR: Using install-module.pl requires that you install "make". I need to install make on my ubuntu on AWS EC2. How can I do that ? I could finally install ...
6
votes
2answers
7k views

Building ATLAS (and later Octave w/ ATLAS)

I'm trying to set up ATLAS (so I can later compile octave with ATLAS support). If I'm correct, I still need to build this manually due to the environment specific optimizations. I do see a package ...
6
votes
2answers
15k views

“make” and “make install” never work

I have been trying it from a long time now and this time it got my nerves. The commands make and make install used to install a program from an extracted tar ball never work for some reason. The ...
5
votes
5answers
2k views

Should I use “sudo” before “make install”?

I am installing the latest FFmpeg from this guide: In some places it suggests performing make install without sudo, here is a single example of several: cd ~/ffmpeg_sources wget ...
5
votes
2answers
39k views

Getting an error when using 'make' command (installing aircrack-ng on Ubuntu 12.04)

I followed these instructions. I edited the common.mak file successfully and when I ran make I get this error: mohd-arafat-hossain@TUD:~/aircrack-ng-1.1$ make make -C src all make[1]: Entering ...
5
votes
2answers
13k views

Getting missing dependency for compilation glib-compile-schemas

I Downloaded empathy-3.0.1.tar.bz2 to install in Ubuntu 10.04 LTS. I ran the makefile and I got the error : configure: error: glib-compile-schemas not found. How can I fix this problem ? Please ...
5
votes
1answer
49 views

Kernel.org kernel config options different from Ubuntu ones

After compiling Ubuntu kernels for a few days (quite a fun experience, I must say), I decided to finally plunge into some vanilla kernel goodness. So far, so good. Downloaded the most recent ...
5
votes
1answer
2k views

Trying to install realtek drivers for ASUS USB-N13, encountering “Compile make driver error: 2”

I'm trying to put an ASUS USB-N13 wireless adapter in my desktop running Ubuntu 12.04. The details of my problem are identical to the one described in this question: Connecting Asus USB-N13 Wireless ...
4
votes
4answers
42k views

Result of make command is /usr/bin/ld: cannot find -lcudart

I am newbie to Ubuntu and using Ubuntu 14.04 64-bit. I want to make a project that uses cuda and opencv I got the following error when running cmake . && make Linking CXX executable ...
4
votes
1answer
496 views

I have problems with compiling powertop on Ubuntu Precise

I tried to compile the latest release of powertop from github. I get some errors and I dont know what to do to fix this. make[3]: Leaving directory `/root/powertop/src' make[2]: Leaving directory ...
4
votes
3answers
167 views

How to evoke a Makefile in the GUI? [duplicate]

Most Makefile users use the commandline. Thus they have no need of evoking it in the GUI. But Makefile can be used as an administration tool for the users too. In my case, a clerk is tasked to ...
4
votes
2answers
2k views

how to make a static binary of coreutils?

I'm trying to make a static binary of rm, so I tried compiling coreutils with configure; make SHARED=0 CC='gcc -static'; make install but I keep running into errors. First make complains about ...
4
votes
1answer
134 views

Docbook errors building Komparator from source

I'm trying to install Komparator4 v0.8 from the terminal of Ubuntu 11.10. I entered this command and work fine: mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=`kde4-config ...
4
votes
2answers
2k views

How do I recompile the kernel?

I read from wireless developers that I have to run make menuconfig command to change some configuration of the wireless driver (enable/disable something). After changing, do I have to recompile the ...
4
votes
1answer
426 views

Cannot find classmap.h

When i execute: make modules i get the error: make[1]: Nothing to be done for `all'. make[1]: Nothing to be done for `relocs'. CHK include/generated/uapi/linux/version.h CHK ...
4
votes
1answer
3k views

collect2: error: ld returned 1 exit status

I want to install nexalign (can be downloaded from here) on ubuntu 13.10. I previously installed it on ubuntu 10 without any problem. The error I got is: gcc -O9 -Wall -Dthread -lpthread main.o ...
4
votes
1answer
310 views

Make Python2.5 failed on Ubuntu 13.04

for some reason I need to install Python2.5 on Ubuntu 13.04. I tried to install it from source. However the make operation is failed with the following error: gcc -pthread -c -fno-strict-aliasing ...
3
votes
4answers
20k views

“fatal error: gtk/gtk.h: No such file or directory” using make

I am trying to use make command to build. I am following this. I am compiling a code using GTK+2 and C language hp@ubuntu:~/amhello$ make make all-recursive make[1]: Entering directory ...
3
votes
2answers
5k views

Makedepend: Command not found

I'm trying to compile a source code and I'm getting this error make[1]: makedepend: Command not found Do you have any suggestions? I have Ubuntu 12 04 LTS, 2.6.28-17 kernel and gcc version 4.6.3
3
votes
2answers
7k views

Trying to install Wireless Archer T4U Driver

Attempting to install the TP-Link Archer T4U Driver. Downloaded files from https://wikidevi.com/wiki/TP-LINK_Archer_T4U Have installed build-essentials. $ sudo make clean cd hal/OUTSRC/ ; rm -fr ...
3
votes
2answers
123 views

Is there a plugin for the terminal which allow to detect and open files?

I'm looking for a terminal plugin/extension that would allow me to detect files path in terminal output and open them in a text editor by clicking on them. The perfect solution would open the file at ...
3
votes
2answers
13k views

'Make' command compiling errors

Im trying to locally install a program which is written in C++. I have downloaded the program and am attempting to use the "make" command to compile the program as the programs instructions dictate. ...
3
votes
1answer
7k views

'libavformat/avformat.h: No such file or directory' while compiling OpenCV for Arm A8

I am using Ubuntu 12.04. I get errors while cross-compiling OpenCV for Arm A8. Can someone help to resolve? $ make Scanning dependencies of target zlib [ 0%] Building C object ...
3
votes
4answers
5k views

How do I compile & install the newest version of Transmission?

I'm trying to install Transmission 2.51 on Ubuntu 10.04. Compiling the source goes fine, but I can't seem to get it to compile the GUI as well. This is the configure output: Configuration: ...
3
votes
2answers
5k views

undefined reference to symbol 'exp@@GLIBC_2.2.5'

Similar question has been asked here but is unanswered. I have an implementation of Levenberg-Marquardt (downloaded from somewhere) and I'm trying to compile it but getting the following error. ...
3
votes
2answers
5k views

Missing asm/types.h file

I have been trying to compile a very old program actual meant for Kernel I previously had an issue Missing Modversions.h which is solved now, but there is another issue. In file included from ...
3
votes
1answer
15k views

Compiling apib undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'

I want to compile apib on my ubuntu 13.04 box but I am having issues with pthread lib. This is the error that I get : $ colormake -j 5 cd src && make all make[1]: Entering directory ...
3
votes
2answers
795 views

No targets specified and no makefile found in Nominatim installation

I'm trying to setting up my own OpenStreetMap server and i followed the official tutorial in Wikipedia and one other tutorial. First i clone Nominatim from GIT and i build it by taping : cd ...
3
votes
1answer
3k views

asm/errno.h: No such file or directory

I'm trying to install gcc 4.8.1 at the moment. Currently 4.8.2 and 4.9.1 are installed. I downloaded an 4.8.1 from here http://gcc.cybermirror.org/releases/gcc-4.8.1/ . After extracting the files I ...
3
votes
1answer
54 views

GCC --disable-nls, --enable-languages, --without-headers Unrecognized

I'm trying to make a bash script that will install a gcc cross-compiler for i686-elf on a Debian computer, but I keep getting the same error: configure: creating ./config.status config.status: ...
3
votes
1answer
298 views

does “make” recompile all of the files or just changed ones

suppose that you have a program which you installed that from source by make command . That program include files a.cc, b.cc, c.cc, d.cc and ... . Now I changed a.cc a bit. In order to enable the ...
3
votes
4answers
6k views

How to completely remove my Emacs?

I downloaded Emacs source files, and installed it using make. After installing Emacs successfully, I manually removed the downloaded source files to save disk space. Now I want to remove Emacs and I ...
3
votes
1answer
199 views

make install - how to use wget, not curl

I do not have root access on my Ubuntu but want to install git. I was following this tutorial but when running make or make install it says curl is not installed. Can I use wget instead if this is a ...
3
votes
1answer
478 views

About the installation of Moses tool on ubuntu 11.04

we are working on project related to language translation with the help of moses tool...but we are not able to install moses...we face some installation problems. we make a directory on desktop named ...
3
votes
1answer
1k views

How to make man pages? [duplicate]

I know how to make commands(scripts) in Linux. I would like to know if I could make man pages for the commands?
2
votes
3answers
36k views

Can't run make - gcc: command not found

I'm trying to follow a tutorial to get CudaMiner working on Linux. I have PAINSTAKINGLY installed NVidia drivers, Cuda 5.0 and incidentally I'm failing on the last step when I run make: make ...
2
votes
3answers
295 views

Why do people say 'make install' is bad?

I keep seeing people saying make; make install is bad. I can't seem to find anyone with a reasonable explanation. So, why is it bad? Or why do people tend to say "It's bad, use clear install instead" ...
2
votes
2answers
148 views

/usr/bin/ld: cannot find -lX11

https://github.com/laazyboy13/linux-csgo-external/issues/6 How do I get it to find libx11-dev? william@william-elementarylinux:~/csgohack$ make Linking CXX executable build/csgo_external /usr/bin/ld: ...
2
votes
1answer
151 views

How to chain make command with git clone? [duplicate]

I want to automate pulling git repo and building that repo unattended. Is there any way I can clone repository and run make immediately after running git clone? Something like: git clone << ...
2
votes
3answers
4k views

What version of GCC is used by the make command? [closed]

Is there any way to know what version of gcc is used by the make command? I have 5 versions installed of gcc on my computer: by dpkg -l | grep gcc ii gcc ...
2
votes
1answer
3k views

Make 3.82+ on Ubuntu 12.04

I'm trying to compile some software on Ubuntu 12.04 (64 bit). It fails with this error. checking for make... /usr/bin/make configure: tested: whether version of /usr/bin/make is 3.82+ configure: ...