Questions tagged [make]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
247 views

Getting error while making dash wallet

I just run successfully run the commands ./autogen.sh ./configure Then I get some error while running make The errors is followings Making all in src make[1]: Entering directory '/home/myname/...
1
vote
0answers
296 views

I tried to use wireguard docker image,but I failed

I deleted all the datas in VPS,and reinstall a new Centos 7 and I downloaded the lastest stable kernel source code 4.20 and extracted it to the source directory which is /usr/src,then I builded it.the ...
1
vote
1answer
83 views

Tracking dependency loop in kernel/kconfig

I'd like to track a dependency loop in the linux kernel kconfig setup. When compiling with gcc-6.3 I can do the following without no issues: $ make ARCH=powerpc custom_defconfig $ make ARCH=powerpc ...
1
vote
1answer
734 views

#include pcap.h make fails for hcxtools

I'm running the latest version of Kali on a VirtualBox, and I cannot get hcxtools installed. More specifically, I can not figure out how to get the dependency pcap.h. Running make in /hcxtools ...
1
vote
1answer
218 views

ERROR: checking the archiver (false) interface… unknown

While I was installing pcre2-10.21 on Solars 10 (SunOS 5.10 Generic_147440-01 sun4u sparc SUNW,SPARC-Enterprise) the ./configure command led to the above error. checking the archiver (false) ...
0
votes
1answer
521 views

usr/bin/ld: cannot find -lCbc

I'm trying to use make, it returns these errors and simmilar ones : usr/bin/ld: cannot find -lCbc usr/bin/ld: cannot find -lCgl I have already found similar issues, and tried a great deal of them. ...
0
votes
0answers
29 views

Problem finding required libraries on ubuntu 16.04

I have used the following command sudo apt-get install coinor-cbc and get the following result coinor-cbc is already the newest version However, when I am building a package which require some non-...
0
votes
1answer
100 views

confused about lfs sources installation

I started to homemode Linux build using LFS book. I came to Part II. - Chapter 5 about "Constracting a Temporary System". I downloaded all needed sources to /mnt/lfs/sources. When i want to start ...
1
vote
0answers
99 views

How can I find the root cause of “WARNING: unmet direct dependencies detected for …”?

When configuring a kernel with make xxx_defconfig, I face WARNING: unmet direct dependencies detected for HOTPLUG. How do I know where the error is coming from Error WARNING: unmet direct ...
-1
votes
2answers
66 views

Grep command for string doesn't exits only in uncommented line

try2: set -vn set -o pipefail set -e if grep -v '^#' file.tx | grep -P 'name' file.tx; then \ echo " No name"; exit 0;\ echo " This message is print from file.tx" \ ...
3
votes
3answers
335 views

Grep string only in uncommented line

How can I grep the string which is only in uncommented line? I don't want the result to be included for string in commented line. For example: In file.tx My name is Jane #My name is Sara I want to ...
2
votes
2answers
2k views

sudo make install - what is being installed?

I have to run this cryptic block of code. git clone https://github.com/OpenICC/xcalib.git cd xcalib cmake CMakeLists.txt sudo make install The procedure I'm following mentions the uninstall process. ...
1
vote
2answers
51 views

Is it trivial to compile standard Intel Debian programs to Arm?

Is it trivial to compile standard Intel Debian programs to Arm? Am I simplifying this process? Take any of my favorite programs (R Studio, Sublime Text, Peek, etc.) Find the source code on GitHub or ...
0
votes
1answer
67 views

checkinstall equivalent of `make install -C build`

What is the equivalent of: sudo make install -C build for checkinstall? Is it enough to: cd build sudo checkinstall ?
0
votes
1answer
70 views

Installing tarball without Make?

I don't have internet access on my new Xenial VM, but I do have SFTP to a server which does. The issue is I need to install some packages. Getting them is fine, I just download them to my internet-...
0
votes
1answer
52 views

Can't access files from within makefile

Whenever I do for f in data/*; echo $f; done from a terminal, it correctly outputs every path. However, if I add the said line to a makefile, let's say test: for f in data/*; echo $f; done ...
1
vote
4answers
2k views

Argument list too long error with makefile

In a makefile, I have @echo "$(IGNORE_DIRS) $(CLEAN_FILES) $(CLEAN_DIRS) $(REALCLEAN_FILES)" | tr ' ' '\n' >> $@ The problem is that $(CLEAN_FILES) is quite large, so when I run make, I get ...
-1
votes
1answer
61 views

Makefile fails when trying to run a C program [closed]

I have a bunch of tasks in making a Makefile file, I have these files: https://raw.githubusercontent.com/systems-cs-pub-ro/uso/master/tema1/boo.c https://github.com/systems-cs-pub-ro/uso/raw/master/...
0
votes
2answers
33 views

Make And Configure Form Variations

I see some installation instructions that take the form of: ./configure make make install And others that take the form of: ./configure && make install Are there any differences in how ...
1
vote
1answer
116 views

debugging a statement in a Makefile on OpenBSD

It is not clear to me, where the error comes from, the Makefile code follows: platform_id = $$( uname -s ) platform = $$( \ case $(platform_id) in \ Linux | FreeBSD | OpenBSD | NetBSD ) ...
4
votes
2answers
1k views

Makefile and .ONESHELL

When .ONESHELL is not used Makefile executes each shell commands in a separate shell. What is the benefit of this? Why doesn't makefile uses the same shell?
1
vote
1answer
608 views

Why won't make let me build my kernel from source?

$ make menuconfig Makefile:128: *** main directory cannot contain spaces nor colons. Stop. I get this error message. Why?
0
votes
1answer
355 views

How to delete all directories inside a directory except for files, (safely)?

Environment System: Linux Mint 19 Cinnamon. Shell: Bash version 4.4.19(1). Problem Along with hundreds of testing scenarios, I must have created countless of temporary installation directories ...
1
vote
0answers
920 views

RHEL 6.8 installation of user specific python 3.7 completes with 'ModuleNotFoundError: No module named '_ctypes'

I do not have a subscription to the RHEL repos at this time. I am using EPEL for packages that are needed. Goal: I am attempting to setup multiple virtualenv folders for testing purposes. I have ...
5
votes
1answer
7k views

Makefile: Default Value of Variable that is set but has null value

I have a Makefile that has a variable that needs to have a default value in case when variable is unset or if set but has null value. How can I achieve this? I need this, as I invoke make inside a ...
0
votes
2answers
50 views

matching a list of files with GNU make

This is the first time that I use GNU make to try to do something a bit less basic. I'd like the default target of a Makefile to look for any one of a number of matching filenames, a naming scheme for ...
0
votes
3answers
226 views

How to identify the package manager used to install software in CentOS?

On my CentOS 7.2 Server: [root@localhost data]# which php /usr/local/bin/php [root@localhost data]# ll /usr/local/bin/php lrwxrwxrwx. 1 root root 29 Jun 25 08:13 /usr/local/bin/php -> /usr/local/...
0
votes
1answer
103 views

Is there any possibility to use the same Makefile in CentOS and FreeBSD?

Unfortunately, in some old FreeBSD environments I can't use "gmake", so I need to write a Makefile which will work with FreeBSD make also. And the last problem I can't solve - use shell commands, for ...
1
vote
1answer
1k views

Makefile: Copy using make variables --> error; Not so without variables!

In the following makefile InputLocation:=./Test OutputLocation:=$(InputLocation)/Output Input:=$(wildcard $(InputLocation)/*.md) Output:=$(patsubst $(InputLocation)/%, $(OutputLocation)/%, $(Input:...
2
votes
3answers
524 views

Getting 'rxvt-unicode': unknown capability while compiling urxvt 9.22

I am working on Debian. I ran this command: ./configure && make && sudo make install and I got this error: ./etc/rxvt-unicode.terminfo", line 57, col 20, terminal 'rxvt-unicode': ...
0
votes
1answer
31 views

Pass a Make variable to Bashscript that is invoked from inside Make

In a pattern rule I would like to export make variable like $(TargetLocation), $@. I tried the following but It didn't get exported. The bash script is executable. export $(TargetLocation); \ export ...
0
votes
1answer
47 views

How to renice a make with multiple jobs?

I'm running very large kernel compile, and I would like to renice the whole process to at least -1, so it gets a little bit more CPU time. Currently, I'm not running anything else on the machine. The ...
2
votes
0answers
45 views

Cannot get awk to work properly inside make [duplicate]

I want to parse a file and bracket each line with #ifndef and #endif. For example, starting with: #define X 1 #define Y 2 #define Z 3 I want to generate: #ifndef X #define X 1 #endif #ifndef Y #...
0
votes
1answer
395 views

Pyenv cannot be installed in Manjaro Linux

Hello I have been trying to install pyenv on Manjaro Linux and got an error that openssl is not installed on the system.  I have now installed it. I understand that I am supposed to tell the compiler ...
0
votes
1answer
66 views

Is a POSIX-conformant implementation required to support other than default locales?

I would like to implement a minimal POSIX-conformant make utility. However, the specification mentions that the implementation shall be affected by the following environment variables: LANG, LC_ALL, ...
1
vote
1answer
71 views

Check FreeBSD version in Makefile

I have these lines in my Makefile: PLATFORM = $(shell uname -r) OLD_FREEBSD = 7.3-RELEASE-p2 ...
0
votes
1answer
578 views

link: invalid option — 's'

I tried to excute a makefile in CentOS 7.5 but the following error is stopping me ERROR: make export make[1]: Entering directory `/shilpa/audiocodes/unimrcp-1.5.0/GrammarSrv/libs/smonkey/common/js/...
0
votes
0answers
63 views

Trouble installing GS from source

I'm trying to install Ghostscript 9.23 from source, and getting some errors I'm not familiar with. I'm using CentOS. $ cat /proc/version Linux version 2.6.9-67.ELsmp (brewbuilder@ls20-bc1-14.build....
1
vote
1answer
35 views

Is there a command line tool for managing packages written by me?

Lately I've found myself writing small programs that I use across multiple machines. I use gitlab to manage these programs. Is there a command line tool that will help me keep my programs up-to-date? ...
2
votes
1answer
597 views

Make - How to suppress make error messages without suppressing other output

I'm implementing a simple build system that's actually just a wrapper around Make. Since this build system already emits its own error messages, I don't want Make to produce error messages like make: ...
1
vote
1answer
105 views

How to run my compiled python not the system installed one

I have compiled python3.6.5 from the source and linked it to my compiled openssl as the following: export LDFLAGS="-L/usr/local/openssl/lib/ -L/usr/local/openssl/lib64/" export LD_LIBRARY_PATH="/usr/...
1
vote
2answers
626 views

file: Compiled magic version [534] does not match with shared library magic version

I am running Amazon Linux centos however the version of the file which gets installed is 5.30. I require a later version. file: Compiled magic version [534] does not match with shared library magic ...
0
votes
2answers
2k views

Is it possible to use bash parameter expansion in Makefile?

My Makefile: FULL_VERSION ?= 1.2.3 MINOR_VERSION := $(shell echo "${FULL_VERSION%.*}") test: echo $(MINOR_VERSION) Running make test gives nothing, I want to get 1.2. I know I can get it via ...
1
vote
0answers
99 views

Linux kernel networking Ubuntu debug message not shown with printk/pr_debug?

I have recompiled the Linux kernel on Ubuntu and now upgraded to 4.17.6. I need to modify the TCP/IP stack parts, in specific one of the congestion control algorithms (eg. Vegas). After successful ...
3
votes
1answer
39 views

appending a line to a file if absent

I'd like to add a series of commands to a Makefile that append config lines when they are not already present. I've done this in the past in a manner like so: grep -vq "keyword" /a/b/c.conf &&...
0
votes
1answer
34 views

install rcssserver

I'm trying to install rcssserver on Ubuntu 14.04.5, after ./configure I write the command "sudo make" and I get a bunch of lines of description and error. I can someone give me a clue on how to ...
0
votes
1answer
48 views

-q inside Makefile assignment

Been checking a Makefile which contains: ifdef REALLY_QUIET export REALLY_QUIET ECHO := true LFLAGS := $(LFLAGS) -q YFLAGS := $(YFLAGS) -q endif Could you please point me at what's the ...
1
vote
1answer
174 views

Building XFSTK error on Fedora 28 : /usr/bin/ld: cannot find -lboost_program_options

I downloaded xfstk source and built it. I installed dependencies such as boost, libusb-devel etc... but although I installed boost, I getting error messages, such as the one below, reporting that ...
0
votes
1answer
318 views

module makefile fails for armv7l when modules are compressed

I have written a network hook using netfilter. This modules compiles successfully on my ubuntu 16.04. Now I want to compile it in my embedded board which uses a customized Linux using same version ...
1
vote
1answer
530 views

run make install twice

Let's suppose I have my sources/ directory and I run cmake from my home folder like this ~]$ cmake /path/to/my/sources/sources and afterwards I do the installation ~]$ make install After it's ...