Questions tagged [make]

For questions pertaining to make, a utility that automates the build process by managing dependencies amongst targets. Use this tag for questions about make itself or questions about issues arising from using the make command-line utility.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

./Configure error installing xDebug - wrong php version

I am trying to install xDebug for php7.2 but keep receiving the following error when i execute ./configure to generate the make file: checking Check for supported PHP versions... configure: error: ...
0
votes
1answer
28 views

Not override a file when used as stdout of a c program

I have used gcc and make to compile a c file. The name of the run file is sequence. I have two goals: Have an input file (i.ein1) as stdin and run the program. when the program finishes using in1 and ...
0
votes
1answer
12 views

Setting variable in Makefile through shell script logic or native make logic but assigning default value when not found in environment variable

I have something like the snippet below. How do I properly set an undefined ENV var in the Makefile through shell script logic? Everything seems to work when the ENV var is already defined in the ...
0
votes
0answers
21 views

Compile a package against different kernel headers?

I have a set of kernel headers that I want to build against in /usr/src/kernels/$(uname -r)/... Is it possible to have make wholesale just look for kernel headers there or do they need to be ...
0
votes
1answer
25 views

Makefile cache problem

I am not sure about the problem so apologies if the title is not appropriate. I implemented the following Makefile rule: check-vendor: @$(eval HASH1 = $(shell find vendor -type f -print0 | sort -...
0
votes
1answer
26 views

Why is there `No CMAKE_CXX_COMPILER could be found.` and how to solve?

In trying to build https://gitlab.com/interception/linux/tools on a new Kubuntu installation, running cmake .. from the tools/build directory returns the error: CMake Error at CMakeLists.txt:3 (...
0
votes
0answers
17 views

How do I determine which configuration options a ./configure && make package is built with? [duplicate]

I would like to determine how certain packages have been configured (./configure --prefix= ....). Is there a way to find this out?
1
vote
1answer
9 views

`make menuconfig` overrides configuration with architecture defaults

I'm cross-compiling a kernel, configuring it with $ make sunxi_arm64_defconfig ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- which happens to be what I need to do, and then want to make a few ...
1
vote
1answer
21 views

Make error when executing recipe with conditional operator

My Makefile is very simple: all: [ -f MyFile ] && echo "MyFile exists" Of course the recipe line begins with tab. If the file MyFile really exists, everything is ok. But if this file ...
1
vote
1answer
46 views

How to get the relative path between two directories?

Say I have a variable with a path release/linux/x86, and want the relative path from a different directory (i.e. ../../.. for current working directory), how would I get that in a shell command (or ...
0
votes
1answer
21 views

fatal error: kdecoration.h: No such file or directory

I got the following error during the compilation of the AuroraeDesigner from source although I've installed libkdecorations* : fatal error: kdecoration.h: No such file or directory Kubuntu : 18.04 ...
0
votes
0answers
23 views

Write failed MAKE commands into a file

I am running make -j -k. I want to write the exact commands that fail into a file. The output should not be scrambled because of -j.
0
votes
1answer
46 views

My Makefile is empty but make is running some old commands [duplicate]

I had a strange bug that I managed to reduce to the following. I have a folder with only two empty files: a Makefile and a cpp file: $ ls -la total 8 drwxrwxr-x 2 erelsgl erelsgl 4096 Mar 3 20:12 . ...
1
vote
1answer
26 views

Make: start process that if being killed, does not kill make

I use GNU make to start benchmarks of different write/read calls in R. In some cases this will result in my RAM being fully used and the process being killed (which is fine, since I want to see the ...
0
votes
1answer
28 views

How to compile ath9k drivers from source?

I want to make some changes in ath9k drivers for learning purposes. My problem is that when I try to compile the driver, the make command is giving many implicit declaration errors, setup_timer, ...
0
votes
1answer
38 views

Building m4 from source on FreeBSD error: don't know how to make ../../build-aux/snippet/c++defs.h

I'm using FreeBSD 13.0-CURRENT (for more information see here), and I want to use GNU m4. Downloaded this version of it, configured, and tried to make. But it gives error as stated in the title: error:...
0
votes
1answer
32 views

In the LD flags of a makefile, is it better to give the dir with platform-specific libs priority over /usr/lib?

The makefile of my solution (for Raspbian Buster) contains an LDFLAGS definition like this: LDFLAGS=-L/usr/lib -L/usr/lib/arm-linux-gnueabihf …so that the standard libdir is given priority over the ...
0
votes
1answer
49 views

makefile syntax error for if-else construct

Hi I am stuck in this problem for long time. I expect output "ok" for this makefile. But I get syntax error on calling make: ifeq (0, 0) /bin/sh: 1: Syntax error: word unexpected (expecting ")"...
8
votes
1answer
427 views

What does $(number) mean in a Makefile?

I have some script and I didn't understand a line which contains $(1): wget --retry-connrefused --waitretry=5 --read-timeout=30 --tries=50 --no-dns-cache https://dataverse.harvard.edu/api/access/...
0
votes
1answer
27 views

Arch Linux: installing grep from source

I completely removed grep along with my package manager (Pacman) , on accident. Recovering form this issue would be easy but, I can't install grep. I downloaded the tarball and extracted it, but when ...
2
votes
2answers
70 views

“Command not found” passing argument from Makefile to shell script

I have a info.properties file where I have this MY_NAME property and I can use this property on my Makefile. I already tried but I can't use that property directly on myScript.sh file. So I'm trying ...
1
vote
1answer
50 views

Problem running make - Syntax error: “(” unexpected

Ubunutu 18.04.4 LTS - Linux 5.3.0-28 - gcc 7.4.0 I'm trying to run make, and I get the following output /bin/sh: 1: Syntax error: "(" unexpected Makefile:1699: recipe for target 'modules' ...
1
vote
1answer
37 views

Makefile - Set multiple variables on a single stage

I have this Makefile where I'm having some troubles on simply set some variables: my_stage: echo "FULL_NAME=$(FULL_NAME)" echo "MY_NAME=$(MY_NAME)" $(eval SOME_NAME=$(shell sh -c "...
0
votes
0answers
66 views

Installing PHP 7.4.2 on OSX

I am following the usual ./configure, make , sudo make install process to install PHP 7.4.2. Unfortunately C compiler is not picking up some files. Let me explain the whole process: ./configure ...
1
vote
1answer
22 views

How to install owping tool?

I would like to install owping, however I am not able to configure and compile sources. I have installed autoconf. Instructions to install owping I have downloaded and unpacked sources of master ...
0
votes
2answers
45 views

Can't mount /system read-write

When I make install reaver in termux the following error occurs: ./install.sh -D -m 755 wash /usr/local/bin/wash mkdir: cannot create directory ‘/usr’: Read-only file system make: *** [Makefile:140: ...
0
votes
1answer
66 views

Continue Makefile after user pressed Ctrl-C

I'm using make to run a development webserver (among other things). After the server quits, I want to perform some cleanup task. The server is exited after I press Ctrl+C, but this causes make to stop ...
0
votes
1answer
37 views

some troubles on installing deja-dup from source code

(Learning how to install programs on linux...) deja-dup source code can be downloaded on its GitHub repo. There is a makefile con the package. Once into the folder I run: santi@eoan:~/deja-dup$ make ...
0
votes
0answers
50 views

Problem compiling PCSX-Reloaded

I was trying to install pcsx 1.10 from source. After the configure step, make was executing until Utils.hpp:31:21: error: gtk/gtk.h: No such file or directory In file included from About.cpp:54: ...
0
votes
0answers
103 views

Building OpenWrt firmware only for WireGuard VPN

I am building firmware for TP-Link WR740N only for WireGuard VPN. What are the minimum packages that I need to have for a VPN to work? I tried to make firmware with this, not including the luci web ...
1
vote
2answers
100 views

Passing options to cmake in bash script

I am trying to write a script that will build multiple cppUtes lib.a files for different sanitizers with a bash script. When trying to pass the compiler flags as variables to cmake I am unable to ...
2
votes
1answer
27 views

Moving a Compile/Make project from old RedHat 5 (CentOS) to modern Ubuntu/Mint

So I have a little learning project that I am currently working on. I have a project/program that is compiled up from multiple *.cpp *.hpp etc files. This project (actual bin-executable) is built ...
1
vote
2answers
98 views

Passing configure option to rpmbuild?

To build a piece of software I normally do rpmbuild -ta slurm*.tar.bz2 However I now need to configure the software with the option --with-pmix=/home/user/git/pmix/install/2.1 Is this possible ...
0
votes
1answer
14 views

What folder(s)/files is safe to delete after compiling Python 3.8 from sources?

Sorry for the noob question but I can't seem to find a definitive answer on this. I have just successfully compiled Python 3.8 from sources, on Centos 7 (as a secondary python, I left python 2.7 as is)...
0
votes
0answers
71 views

Cross compiling setup for arm-linux-gnueabihf-gcc

In the ALSA directory that I have cloned, I have executing the following instructions. After making changes to the /alsa-utils/aplay folder, I try and make the directory again to the get new ...
0
votes
2answers
52 views

Update merging two directories

First, note that this is not a plain 'merge two directories', this is a question about how to keep the merge of said directories updated when the sources change. Let us say that I have two ...
0
votes
2answers
168 views

How to use cat to combine files in Makefile?

First of all, I am not at all sure whether this is the correct place to ask a question like this but... I am currently working on a directory and trying to create a file which would contain all of ...
0
votes
0answers
25 views

I want to automate the process of updating the exported variables [duplicate]

I have multiple variables defined in a Makefile with some values/strings initialized. I want to have a target with which, I can update any of the variable in run time. For that I wrote a script ...
1
vote
0answers
21 views

How to link to a numbered shared library?

This is the command I am running arm-linux-gnueabihf-gcc -Wall -Wl,--verbose -mthumb -mthumb-interwork -D_REENTRANT -oTestRun11 ./main.c -ldl -lpthread -lRTU_Module Which gives in the printout ...
0
votes
0answers
43 views

Why is “sudo make install” for Virtual Reality Sandbox giving me the error: "install: missing file operand?

I´m trying to install a Virtual Reality Sandbox software as seen here, however, on the last step when I use the command "sudo make install" it gives me the following error: Installing the Augmented ...
0
votes
1answer
29 views

LFS 7.8 - Pass1 GCC 5.2.0 error in 'make'

I am working on LFS 7.8. In Pass1 GCC 5.2.0 compilation there is an error in 'make' : configure: error: in `/mnt/lfs/sources/gcc-build/x86_64-lfs-linux-gnu/libvtv': configure: error: C compiler ...
0
votes
1answer
32 views

problem finding variable values starting with tab

I'm trying to write a simple Linux make command with bash scripting. here is what I have written so far: #!/usr/bin/env bash function make_cmd() { read target colon sources for src in $sources; ...
0
votes
0answers
52 views

Problem building and installing a Git package, make and make install can't see dependency

(linux newbie, 3 days in) Linux Mint 18.1 Trying to install: https://github.com/Rangi42/polished-map/blob/master/INSTALL.md Dependency issue: fltk-config Error message on make: g++ -c -std=c++...
0
votes
0answers
44 views

make fails while installing darling

(Running Ubuntu 19.10) I was installing darling, a program that allows the running of Mac OS programs. I was going to use it to run iTerm2, as I love how it looks. I installed all of the needed ...
0
votes
0answers
64 views

Why is this make not working?

I am attempting to install CERN's root software and I am on the final step of installation. The steps im taking are these. 1) Get the sources of the latest ROOT (see above) 2) Type the build ...
2
votes
2answers
95 views

Bash script or makefile to compile an application then perform permission elevated operations

I have a golang-based application and associated systemd files in a project. I'm working on a bash script (install.sh) (or a Makefile if that is a better option) that helps to automate the following (...
0
votes
0answers
111 views

Error installing WiFi driver RTL88x2BU_WiFi_linux_v5.1.7_19806 on linux kernel 4.19.50-2 make[1]: *** No rule to make target 'modules'. Stop

I just got a WiFi dongle (Volans VL-UW120) that is ostensibly Linux compatible, with 802.11 ac standard. If I can't get it to work I can take it back and get a refund. I just ran the install script ...
0
votes
1answer
57 views

linux kernel Makefile name=“People's Front”

Does anybody know the meaning of the string "People's Front" in the linux kernel source Makefile name? > uname -a Linux debian 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 ...
0
votes
1answer
83 views

Make can't find command, but the command works in shell

I have make installed, I have the riscv32-unknown-linux-gnu toolchain installed. I have added riscv/bin to my path. I can successfully execute any of the toolchain commands in the shell. e.g. riscv32-...
1
vote
1answer
148 views

make mrproper vs make distclean in the Linux kernel

I understood the difference between make clean and make mrproper. make clean will only remove the generated files (.o/.ko) but not the configuration files and the files in include/generated, include/...

1
2 3 4 5
16