Questions tagged [make]
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.
768
questions
187
votes
3
answers
420k
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: *** [/home/amin/Simulate/qemu-...
146
votes
4
answers
438k
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 ...
145
votes
6
answers
538k
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 ...
46
votes
3
answers
6k
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, ...
44
votes
5
answers
333k
views
how to fix configure: error: C compiler cannot create executables
used
./configure DFLAGS="-03"
and this is the config.log
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-...
35
votes
5
answers
156k
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 `/home/hp/...
29
votes
1
answer
45k
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?
23
votes
4
answers
217k
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 all-...
22
votes
4
answers
15k
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 ...
22
votes
9
answers
68k
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 ...
20
votes
4
answers
5k
views
How to know which command is being executed without stopping it?
In my example, I am running a command that takes very long to be executed (several hours).
I don't really remember if I entered make or make -j4.
Of course I could stop it and press up key or check ...
18
votes
6
answers
43k
views
How to install termite
I'm using openbox on UbuntuGnome .. if that helps.
So I reviewed the documentation located here:
https://wiki.archlinux.org/index.php/Termite
and I can't figure out how to install it.
I'm very ...
17
votes
5
answers
160k
views
"/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 ...
17
votes
2
answers
52k
views
/bin/sh is a symbolic link that doesn't point to /bin/bash
I was installing the software environment of Armadeus experiment board APF27DEV, and when I tried the make command, it gave me the following error message:
On your system /bin/sh is a symbolic link ...
15
votes
7
answers
32k
views
How to install watchman on Ubuntu 18.04, for react-native? error in make command
I have read this solution
.
I wanted nodeman as dependency for react-native
no error upto ./configure command and it works fine as given solution
gd@gd10:/tmp$ git clone https://github.com/...
14
votes
3
answers
75k
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.
...
14
votes
2
answers
39k
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 ...
13
votes
2
answers
71k
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 ...
13
votes
2
answers
64k
views
Development Tools [duplicate]
I just downloaded and installed the latest version of Ubuntu 18.04 (ISO was ubuntu-18.04-desktop-amd64.iso). I noticed that no development tools are installed by default (git, gcc, g++, make). Is ...
13
votes
2
answers
52k
views
'Make' command not found
I am having a problem that when I try to use make command.
I cannot run the Make command.
Message: bash: make: command not found
When I used
sudo apt-get remove make
sudo apt-get install make
or ...
13
votes
3
answers
34k
views
Error: tcl.h not found (no such file or directory)
I'm trying to install something using the 'make' command, however it gives me the fatal error:tcl.h no such file or directory. I'm new to linux, can anyone help me?
13
votes
1
answer
112k
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 ...
12
votes
1
answer
21k
views
How to uninstall software that was installed by "make install" [duplicate]
If I install a software by executing:
./configure
make
make install
Is there a generic way to uninstall it (like sudo apg-get remove)?
11
votes
4
answers
101k
views
How to resolve the "/lib/modules/3.13.0-27-generic/build: No such file or directory" error message?
I'm following the instructions on this page so I can submit enough information about my machine to this bug report module.
I'm stuck in running some of the following commands
git clone git://github....
11
votes
1
answer
63k
views
make: flex: Command not found
I am very new to Linux. I am using Xubuntu 14.10 on vmware and I am trying to make an executable. I typed make in the terminal, but the process stopped because of the error:
flex -Pfct_pddl lex-...
11
votes
1
answer
9k
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?
10
votes
1
answer
46k
views
Missing 'usb.h' file: What is it, where do I get it?
Summary: What is 'usb.h'?
Is this a system specific file that should be installed with my OS?
Is it a software specific file that should be included with the source code I'm compiling?
Is it ...
10
votes
1
answer
100k
views
Missing separator in makefile
I have next code in Makefile:
CFLAGS=-Wall -g
clean:
rm -f ex1
When I run "make clean" I receive next error: Makefile:4: * missing separator. Stop.
Why? How I can fix it?
10
votes
2
answers
29k
views
What does make distclean do?
I'm new to compilation. I'm installing FFmpeg and there's a make distclean (or once there was make clean) after every step. What does it do?
9
votes
2
answers
75k
views
make problem: No rule to make target /usr/lib/x86_64-linux-gnu/libpcl_common.so
I am following this tutorial to run one of the examples provided by PCL (point cloud library): https://www.youtube.com/watch?v=CXK95Hi4M7I
But when executing the make command (https://youtu.be/...
9
votes
1
answer
11k
views
Unable to build python 3.7.0 "_dbm" optional module
I've been able to successfully finish building python 3.7.0 but one last optional module keeps slipping through the net! _dbm
What ubuntu or debian package is required for this?
The necessary bits ...
9
votes
2
answers
12k
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 ...
9
votes
3
answers
109k
views
"make" and "make install" never work [closed]
The commands make and make install used to install a program from an extracted tar ball never work for some reason.
The make command gives me the error:
make: *** No targets specified and no ...
9
votes
2
answers
33k
views
How to install mpfr-3.1.2 in Ubuntu 13.04
I have Ubuntu 13.04 with processor "Intel® Core™2 Duo CPU E8400 @ 3.00GHz × 2 "
I m trying to install mpfr-3.1.2 but the error is coming.
"ERROR! The versions of gmp.h (5.1.3) and libgmp (5.0.5) do ...
9
votes
2
answers
22k
views
Error in make install: "cannot copy file"
I am trying to install CLHEP 2.3.4.4 and I am stuck, getting an error in make install:
[ 99%] Built target exctest3
[ 99%] Built target exctestNothrow
[100%] Built target testzmex
Install the ...
9
votes
1
answer
40k
views
glib.h make error. fatal error: glib.h: No such file or directory
for solution i searched on the Internet.
i added the output of the command
pkg-config --cflags glib-2.0
that is -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include to the make file like ...
9
votes
3
answers
37k
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 /lib/...
8
votes
2
answers
26k
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 ...
8
votes
3
answers
149k
views
How to clean executable using make clean?
After compiling several *.c and *.h files using make, I cleaned up the object files using make clean. However I don't know how to remove the executable.
my makefile code -->
CC=gcc
CFLAGS=-I....
7
votes
2
answers
21k
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
7
votes
2
answers
14k
views
Bash is abnormal in Makefile!
all,
I have found that the same Makefile works well in Mac OS X, but does not work in Ubuntu. The snippet is as following:
start:
@echo $(seperator)
@if [[ "$(PROJECT)" == "" ]]; then \
...
7
votes
1
answer
32k
views
How to get libstdc++ with C++17/filesystem headers on Ubuntu 18 (bionic)?
On ubuntu bionic from Docker, I'm getting this:
No such file or directory
#include <filesystem>
on a C++ file that does this:
#if __cplusplus >= 201703L
#include <filesystem>
#endif
...
7
votes
3
answers
25k
views
What version of GCC is used by the make command?
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 ...
7
votes
1
answer
8k
views
How to build the latest curl from sources to allow downloading files via sftp?
I need to download files from a sftp server. Unfortunately, the curl version in Ubuntu
7.58.0-2ubuntu3.6 amd64
does not support sftp.
I get the error message
Protocol "sftp" not supported or ...
7
votes
2
answers
8k
views
How do I install the latest version of nmap from source on Ubuntu?
I am running Ubuntu 16.04, and I am trying to install the latest nmap. I have a C compiler installed.
I ran openssl version and found that this version was installed:
OpenSSL 1.0.2g 1 Mar 2016
I ...
7
votes
1
answer
4k
views
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 ...
6
votes
4
answers
32k
views
Makeinfo package not found in 12.04 [closed]
Please can anybody give me an answer for this? I have already tried:
sudo apt-get install makeinfo textinfo texi2html
But, I still get the error:
Unable to find the pacakge.
6
votes
2
answers
23k
views
make (use of -j option)
I'm trying to undersand the true meaning of -j option in make command. According to manual, with this option the user can "specifie the number of jobs to run simultaneously". What I actually ...
6
votes
8
answers
4k
views
Can't make Clockwordmod Tether on Ubuntu 16.10
I'm trying to install Clockwordmod Tether on my Ubuntu 16.10 laptop in order to facilitate USB tethering with the corresponding app on Google Play.
I've downloaded and extracted the Tether tar file. ...
6
votes
3
answers
52k
views
Help locating linux/version.h
I'm trying to fix an old program, Previous issues I had could be found at
Missing modversions.h
When I make the program it gives me the following error,
kaodv-mod.c:22:27: fatal error: linux/version....