Questions tagged as ['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.
Score: 1
Frigyes avatar
PeerGuardian building from source
cn flag

I have been trying to get PeerGuardian on my Ubuntu 21.04 system, but the PPA maintainer is not updating the package, and the project seems to be abandoned.

When I try to compile on my laptop, I get this error:

/usr/bin/ld: src/stream.o:/home/frigyes/Desktop/peerguardian-code/pgld/src/blocklist.h:77: multiple definition of `blocklist'; src/pgld.o:/home/frigyes/Desktop/peerguardian-code/pgld/src/blockl ...
Score: 0
Jim Maas avatar
Age old python install issues, update python3-distils
cn flag

I've had this problem many times and not been able to solve. I've just manually compiled and installed python 3.10 on ubuntu 20.04, for some reason think that latest is likely to be the best however with python this is debatable!

Now when I try to do some updates I get common errors such as these, suggests the system is not finding '' ?

Setting up python3-distutils (3.8.10-0ubuntu1~20.04) ...
Score: 0
David Clark avatar
cannot find compiler-gcc9.h
th flag

I have not seen an answer for this make file error. It cannot find the linux/compiler-gcc.h or linux/compiler-gcc9.h? Trying to build "build root" embedded linux. Additionally it is stating include/linux/compiler-gcc.h:114:1: fatal error: linux/compiler-gcc9.h: No such file or directory.

What am I missing here? I looked through other posted solution, but to no avail.

Score: 1
/usr/include/x86_64-linux-gnu/sys contains only broken symbolic links
gb flag

My O/S is Ubuntu 20.04.

The initial problem: I was trying to run a "make" and got errors like:

/usr/include/sys/cdefs.h:453:10: fatal error: bits/long-double.h: No such file or directory
  453 | #include <bits/long-double.h>
      |          ^~~~~~~~~~~~~~~~~~~~

I initially tried solving this by searching for an equivalent header (usually in /usr/include/x86_64-linux-gnu) and adding a symbolic l ...

Score: 0
Abbas Almohammad avatar
Mouse side buttons not working
in flag

I tried to install btnx-config on my ubuntu but for some reason when I enter the command ./configure make in the termial I get this:

configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for ma ...
Score: 0
Ray Wilson avatar
Error with Cloudy's make command on WSL2
tc flag

I'm using a WSL2 (windows subsystem Linux) with Ubuntu 20.04 LTS. I want to use the Cloudy package, a Linux based simulation tool I have installed the package and tried to run the make command but I'm getting this error:

sh: 0: Illegal option --
Creating cloudyconfig.h
no object file found, is the compiler working?
make: *** [Makefile:255: /home/ray/cloudy_m ...
Score: 0
MadPhysicist avatar
Error Installing Newly Built Emacs 28 on Ubuntu 20.04
br flag

After compiling the latest version (28) of Emacs on Ubuntu 20.04, I get the following error after running sudo checkinstall

Selecting previously unselected package emacs.
(Reading database ... 412866 files and directories currently installed.)
Preparing to unpack .../tmp/emacs/emacs_28-1_amd64.deb ...
Unpacking emacs (28-1) ...
dpkg: dependency problems prevent configuration of emacs:
 emacs-common (1:26 ...
Score: 3
theWrongAlice avatar
make command gives error during installation of SURFEX code
do flag

I need to install and compile SURFEX code on Ubuntu 18.04. To do that I'm following the docs here. This went well until I tried to compile the master version of the code with make. I got Error 127. I looked up the meaning of this error, but I don't really understand what it means in this context. Any help greatly appreciated.

The full message is as follows

[ ! -d /home/sarah/MYDIR/open_surfex_v8_1_202 ...
Score: 0
Sohail avatar
Error in make command in installing Rasqal RDF Query Library
in flag

Installing Rasqal RDF Query Library, extracted the package in Documents. The ./configure command:

(base) sohail@muhammad-sohail:~/Documents/rasqal$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whe ...
Score: 0
LiaoMie avatar
No rule to make target 'localmodconfig'
de flag

I'm trying to build and install a new kernel version in

Lubuntu version 5.11.0-38-generic

using this tutorial

  • Get your system ready

    sudo apt update

    sudo apt-get install build-essential vim git cscope libncurses-dev libssl-dev bison flex libelf-dev bc git-email -y

  • Clone a mainline kernel source code to your computer:

    git clone --depth=1 \

  • To save time, just ...

Score: 2
wxLua caused collect2: error: ld returned 1 exit status
my flag

I try to get zerobrane studio running. Unfortunately, I missing wxLua. Therefore, I did the following steps:

$ sudo apt install libwxgtk3.0-dev cmake libwxgtk-media3.0-gtk3-dev libwxgtk-media3.0-dev ncurses-base readline-common
wget -c
tar xfvz v3.1.0.0.tar.gz 
cd wxlua-

$ mkdir build-dir
$ cd build-dir/
$ cmake -DwxWidgets_C ...
Score: 0
Andrea Moro avatar
Where should I save my files before making the install?
cn flag

Apologies for the perhaps silly question. Say that I have a tarball that doesn't come with a ./configuration script, if I download the file in the temp Download folder and then I make the make --install, will the file:

a) compiled and moved somewhere so that I can delete the temp folder b) compiled and linked to the temp folder?

Assuming b), what's the best location to move these applications? Thank ...

Score: 0
tem avatar
make install error when compiling from source
in flag

When I attempt to install dgraph from source I get the following error messages:

dgraph source install make errors

I have virtually no experience with C or make and I'm afraid to screw with this. I looked everything that looked like an error and could not find an answer that converged on everything I see here.

Make 4.3, Cmake 3.18.4, and Golang 1.17.2 installed. Makefile is present in current working directory and one directory below in  ...

Score: 0
Putra Adji Syachguna avatar
make: *** [Makefile:1686: modules] Error 2
bd flag

I was trying to install a wifi driver in my Ubuntu 20.04.3 LTS. 5.11.0-36-generic and hp laptop.

I ran these commands:

cd Downloads
cd TL-WN8200ND 2.0_LinuxDriverSetup
cd rtl8192EU_linux_v4.4.1.1_18873.20160805_BTCOEX20160412-0042-OK
make clean

After make I get this output in terminal:

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.11.0-36-generic/build M=/home/adji/Downloads/TL-WN8200ND  ...
Score: 0
Prinz Km avatar
How do i specify multiple non-standard header locations in "make"?
az flag

I'm compiling vlc from source. Unfortunately my qt include files are not in the standard include directories. How to add these directories into standard locations.Can I set an environmental variable or pass argument to make command?

Score: 1
ADBeveridge avatar
GNOME Builder fails to install
lb flag

GNOME Builder fails to install my Autotools project because it does not prepend sudo to the make install command. How can I force Builder to add sudo?

Score: 0
undefined programmer avatar
How do you fix a "sudo make modules_install" command?
gb flag

I got the following errors while using Ubuntu 20.04 on VirtualBox.

arch/x86/Makefile:148: CONFIG_X86_X32 enabled but no binutils support sed: can't read modules.order: No such file or directory

I already have binutils installed so that's not a problem. I think I have to check for files in the drivers/build-in path that have names with spaces in them but I have no idea where to look after searching f ...

Score: 0
Webmaster1776 avatar
Is there an app to make phone calls with my dial up modem?
ph flag

Is there an app to make phone calls with my dial-up modem on Ubuntu 20.04 or 21.04?

I have a laptop that has a dial-up modem plugged into a landline. And I would like to make and receive calls on it. There used to be a Ubuntu app for that but I can't find it. Does anyone have any ideas?

Score: 0
Anel Music avatar
Cannot source venv using makefile
us flag

The Makefile inside project root

# Makefile

.PHONY: help
    @echo "Commands:"
    @echo "venv   : creates development environment."

# Environment
    python3 -m venv venv
    source venv/bin/activate 

When i run:

make venv

I get the following Error:

$ make venv
python3 -m venv venv
source venv/bin/activate 

/bin/sh: 2: source: not found
Makefile:15: recipe for target  ...
Score: 0
user487583 avatar
Why was the nano that was installed manually not colored?
bs flag

I recently installed Nano manually. I downloaded and installed the latest version from the site: This one and this one

I installed both (ncrurses 6.2 and nano 5.8) with commands:

mkdir /tmp/myfiles
cd /tmp/myfiles
tar zxvf ... for ncrurses
tar -zxvf ... for nano
make install

Although it was installed, it was not colored (And in the end I did not find a way to remove it too، And  ...

Score: 0
matthew avatar
What is build directory?
vn flag

I'm trying to build Audacity following the instructions in And the second last step:

$ cd <build directory>

what does this means? And how can I build the software?

Score: 1
OSH avatar
UADE complilin. Make produces fatal error: glib.h no such file or directory
us flag

Well. I'm trying to compile UADE. I downloaded sources, go int directory and then ./configure. After this I see this:

Data directory                          : /usr/local/share/uade2
Uadecore directory                      : /usr/local/lib/uade2
Man (documentation) directory           : /usr/local/share/man/man1
Installer                               : /usr/bin/install
Make                         ...
Score: 0
Prasanta Bandyopadhyay avatar
I have installed Gromacs using the helps from the internet. I worked good. But I could not access gromacs from other user accounts
zm flag

I installed gromacs from a root account on a pc. It has more than a few user accounts. I have installed it as,

cd gromacs-2021
mkdir build
cd build
make check
sudo make install
source /usr/local/gromacs/bin/GMXRC

Now, I can access the program from th ...

Score: 0
Teodorico Cunha avatar
TOSHIBA HD does'nt work
pk flag

I have a Toshiba HD external drive, and today when connecting it to the pc it gives me the information that it cannot read the drive and that I have to format it, which would erase all my data. It was working normally. How can I solve this problem?

Score: 0
yomag1234 avatar
Cant install wifi driver for Realtek wireless adapter
us flag

I should preface I'm almost completely new to Linux, especially installment-wise so please bear with me. I got a new HP computer and installed Linux Ubuntu 20.04 from a bootable USB that I created from the instructions on the Ubuntu website. I went on to install it with another offical tutorial. Before that the laptop only had FreeDOS installed.

Ubuntu installation didnt show up on the Boot menu, I ...

Score: 1
Jakub Klinkovský avatar
GNU make executes weird shell
cn flag

The shell function in GNU make behaves weird on Ubuntu. Consider this simple Makefile:

TEST1 := $(shell command -v sh)
TEST2 := $(shell /bin/sh -c 'command -v sh')
        $(info TEST1 = $(TEST1))
        $(info TEST2 = $(TEST2))

Running make prints

make: command: Command not found
TEST1 = 
TEST2 = /usr/bin/sh

Weird. Why does the default shell not know the command built-in? And what is the defaul ...

Score: 0
John farid avatar
Make error while installing real-time patch
de flag

I am trying to install the real-time kernel patch 5.10.41-rt42 on an x86 machine that is running Linux 20.04.

I followed the steps listed in this link (, except that I just type "make" without any options.

Unfortunately the following error is encountered:

ld: warning: drivers/pci/pci-label.o has a corrupt sect ...
Score: 1
why do I get this error "make: *** No rule to make target 'all'. Stop."
ph flag

I am doing an install of git on Ubuntu 20.04, according to this tutorial. I executed from "Install Git on Linux", the Debian/Ubuntu parts. And then I get the errors:

make: *** No rule to make target 'all'.  Stop.
make: *** No rule to make target 'install'.  Stop.

at point 3 under "Build Git from source on Linux". I am new to Linux, but it seems as though make is automatically installed. When I ru ...

Score: 2
Mark Volosov avatar
Alacritty does not run ncurses programs such as ranger,vifm,cmus,etc
it flag

I installed alacrrity using snap and everything worked fine except for programs which rely on ncurses.

This is the error when attempting to run ranger:

Traceback (most recent call last):
  File "/usr/bin/ranger", line 37, in <module>
    sys.exit(ranger.main())  # pylint: disable=no-member
  File "/usr/lib/python3/dist-packages/ranger/core/", line 32, in main
    from ranger.container.settin ...
Score: 0
tranvanha avatar
gcc: error trying to exec 'f951': execvp: No such file or directory
us flag

Hi I trying complied bundler_sfm but when I make in this folder i met error.

cd lib/5point; make
make[1]: Entering directory '/home/tranha/doan/ha/sfmpy/structure-from-motion/bundler_sfm-master/lib/5point'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tranha/doan/ha/sfmpy/structure-from-motion/bundler_sfm-master/lib/5point'
cd lib/ann_1.1_char; make linux-g++-shared