Questions tagged [make]
An utility that automates build processes, used mainly to build software on Unix-like systems.
298
questions
0
votes
0
answers
8
views
Automatically integrate feature image to wordpress article via API [migrated]
I have created a scenario with the automation Platform Make to automate my Wordpress article redaction.
I start from entering inputs in a Tally form, then Make send it to OpenAI API to redact the ...
0
votes
1
answer
99
views
Update GNU-Make on Centos 7
Is there a simple way to install a new version of GNU make on centos 7?
similar to the devtoolset-8.
Or is there only the manual way (download the tar)
0
votes
1
answer
284
views
Variables not being set in Makefile
I have to set the profile variable in Makefile, if it's not set by default, here is my approach.
But when I run this, echo statements work fine, but variables are not being set.
set_vars:
if [ &...
0
votes
0
answers
257
views
make is giving execvp permission denied error 127 on shared folder after upgrade to virtualbox 7.0.2
I have an CentOS 7.4 virtual machine in Windows 10 host and recently I upgraded to virtual box 7.0.2.
After upgrade, I am not able to run make commands (sh exec permission denied) in windows shared ...
0
votes
0
answers
185
views
Organizing a Makefile with subdirectories
Scenario
Makefile:
all : a.out
a.out : a.o b.o
file tree:
a.c
b.c
Makefile
This a.c and b.c into object files, then links them to a.out
Problem
Suppose the file tree were to look like this:
bin/a/a....
0
votes
0
answers
83
views
Makefile and gpg command not able to get env variable
export:
gpg --passphrase-file <(echo ${ENCRYPT_PASSWORD}) --batch --output export_cfg.gpg -c export_presets.cfg
I am trying to run the above command via Makefile but its not liking this part
<...
0
votes
1
answer
120
views
Stuck on "checking the maximum length of command line arguments..." when running make on MSYS2
I am working with an autotools project.
It works on the CI however, when I run it on my work PC it freezes when running make
checking for af77... no
checking for xlf90... no
checking for f90... no
...
1
vote
1
answer
310
views
RHEL 8: openssh-server build from src tarball and distribute the executable?
I have a task to build and deploy openssh-server 8.6 on a number of RHEL8 systems running openssh-server 8.0 (this is due to a security compliance finding). Unfortunately there does not appear to be ...
3
votes
1
answer
488
views
Add all firmware to CONFIG_EXTRA_FIRMWARE?
How can I add all the firmware present in /lib/firmware in the CONFIG_EXTRA_FIRMWARE parameter of the kernel .config?
I've already tried but when compiling the kernel it returns an error:
/bin/sh ...
0
votes
2
answers
135
views
gnupg 2.3.2 make error /home/ryan/Downloads/gnupg-2.3.2/common/sysutils.c:1263: undefined reference to `gpgrt_access'
Trying to install the latest gnupg from source on Ubuntu 20.
My first ./configure found a few missing dependencies. I filled some of these through the package manager, others I installed from source.
...
0
votes
1
answer
753
views
How to enable library in ffmpeg without build ffmpeg from source (linux)?
I have the xubuntu 18.04. I installed ffmpeg from ubuntu repository and built libaom. So, how to enable libaom in ffmpeg without reinstall ffmpeg from source (ffmpeg compilation guide or ffmpeg ...
1
vote
0
answers
47
views
windows 10 make progress failed
I have installed a package from https://github.com/tensorflow/tensorflow and I am trying to build a target using make, so I run this command :
make -f tensorflow/lite/micro/tools/make/Makefile ...
0
votes
0
answers
556
views
location of kernel source code directory in centos 7
I wanted to enable a specific feature in centos 7 kernel. What is the exact location of kernel directory in centos 7.4, so that I can lauch this command successfully inside the kernel source code ...
0
votes
1
answer
53
views
How can I get passed this zipHMMlib build error on Ubuntu?
I've installed the latest Ubuntu Server on an Oracle VirtualBox 64-bit machine instance, with host machine Windows 10 and 64-bit OS.
I installed a "slim" desktop environment using a random ...
0
votes
1
answer
356
views
"Unknown option "PATH=[...]"" when following the official ffmpeg compilation guide
I wanted to compile ffmpeg myself in order to get a smaller executable I can then dristribute with my program.
While following the official ffmpeg compilation guide for Ubuntu I get an error when it ...
1
vote
1
answer
212
views
imitate "make -j" from within the Makefile
The shell command make -j runs a Makefile's commands in parallel, which is useful on modern multicore CPUs. Can such parallelism be invoked from within a Makefile?
From the manual for Gnu make, my ...
0
votes
1
answer
199
views
tesseract - build and install (`configure`, `make`, `make install`...) tesseract version 3 (tesseract-ocr-3.XX.XX)
PROBLEM:
I am trying build and install (configure, make, make install...) tesseract version 3 (tesseract-ocr-3.02.02) on Ubuntu Server 20.04 LTS and the following error is occurring...
Build and ...
1
vote
2
answers
4k
views
python3.2 - ERROR:root:code for hash md5 was not found
We have a legacy application and it needs Python version 3.2 to work. For this reason we compile and install Python version 3.2.
We were able to successfully compile and install version 3.2 Python on ...
0
votes
1
answer
310
views
Make on Windows seems to fail creating or running temporary shells
I'm trying to build a project, bootloader for AVR devices provided by LUFA, that uses GNU Make (make), but I am on Windows. While Windows, in and of itself, isn't necessarily the problem, it's clearly ...
0
votes
1
answer
46
views
Creating Subfolders within Named Folders
Kevin Fegan posted the following code to make "x" amount of folders with leading zeros, which works great:
@echo off
for /L %%f in (9,1,120) do call :work 000%%f
goto :EOF
:work
set "dx=...
1
vote
0
answers
60
views
final link failed ssh
make task_1
gcc -std=c11 -Wall -Werror task_1.c -lsuperkarel -lcurses -o task_1
/usr/bin/ld: final link failed: Disk quota exceeded
collect2: error: ld returned 1 exit status
make: *** [Makefile:9: ...
0
votes
0
answers
59
views
I am creating a cygwin silent install, howeer, the "make" package will not install
I am creating a cygwin silent install, howeer, the "make" package will not install.
I only need the following:
"%CD%\setup-x86.exe" ^
--no-shortcuts ^
--no-desktop ^
--quiet-mode ...
0
votes
0
answers
57
views
Prevent Windows Explorer from "owning" a directory while viewing it?
I am running some GNU make makefiles via Cygwin, and one of the targets tries to rename a directory:
clear_dirs:
@echo "Creating clean local test directories..."
@if [ -d $(...
1
vote
0
answers
518
views
GnuMake SHELL under windows
I am trying to make a simple makefile (GNU Make 3.81) work under windows, using cygwin installed with the git-for-windows "distro".
Everything seems to work, but the SHELL. It always shows &...
2
votes
1
answer
2k
views
Escaping forward slash / in windows envrironment variable
In a makefile, I want to use an environment variable ${PROJECT_SOURCE} with value /c/foo.
But when I set my Windows 10 environment variable through control panel to /c/foo, the result is C:\foo when I ...
0
votes
0
answers
278
views
Reset Bash terminal output to console after directing output to file
I have a script with output I want to capture.
make some_args 2>../error-compile
I believe the error capture is working fine.
Problem is that it is an hours long compile with an install so I have ...
0
votes
0
answers
18
views
Getting warning about non-portability when trying to install GNU GO on Ubuntu
I'm trying to install GNU GO on Ubuntu OS, but it is not working.
https://www.gnu.org/software/gnugo/download.html
I've downloaded the tar.gz source code, then:
unzipped using the gzip followed by ...
0
votes
1
answer
877
views
issue with siteminder agent configuration with httpd compiled version on RHEL
I have built httpd using source code on RHEL 7.6. I have installed and configured siteminder on the server. I am getting following error when I start my httpd
httpd: Syntax error on line 3 of /etc/...
0
votes
1
answer
406
views
Error when trying to compile in Linux
I'm trying to compile tsschecker from GitHub and am having an issue. I went through and installed all the dependencies then managed to run the autogen.sh script without issue.
I'm now trying to run ...
0
votes
0
answers
405
views
How can I update an existing ruby installation to support additional OSs?
I have an existing ruby 2.5.1 installation that was created sometime back by compiling from source.
The installation is in afs and is accessed by several operating systems (linux-RH6 on x86 and aix ...
0
votes
0
answers
776
views
how to install python 3.6.9 on centos when it is on a workspace?
I am trying to install python 3.6.9 on centos. Here is what I do:
1. tar -xvf Python-3.6.9.tar
2. cd Python-3.6.9
3. ./configure --prefix=/usr/local/python3.6 --enable-optimizations
4. make
5. make ...
0
votes
0
answers
1k
views
'CMake test failed with errors' in CLion
Every time I try to build a project in CLion, regardless the toolchain, this error appears:
-- The C compiler identification is GNU 8.1.0
-- The CXX compiler identification is GNU 8.1.0
-- Check ...
2
votes
1
answer
329
views
/usr/bin/ld: cannot find -lcaffe
I installed Caffe-cpu on my Ubuntu 18.04 via the apt-get command, as it instructs on their official website:
sudo apt install caffe-cpu
But when trying to run a sample from a git repo, it needs the ...
0
votes
1
answer
94
views
How to pass a pipe command to terminal -e?
I want to create a shortcut which shows in a new terminal the output of my command and simultaneously writes it into a log file.
I use terminal -e (or urxvt -e) to run the follwing command:
terminal -...
0
votes
1
answer
271
views
errors when building gcc-9.1.0 under cygwin
I received this error:
>/usr/local/contrib/gcc-9.1.0/libbacktrace/pecoff.c: In function ‘coff_add’:
/usr/local/contrib/gcc-9.1.0/libbacktrace/pecoff.c:656:37: error: pointer of type ‘void *’ used ...
1
vote
1
answer
169
views
Clean software build directory after installing, on Linux
Some Linux software needs to download, build (compile and link), and install for use.
The typical procedure is
configure
make
(sudo) make install
For example, QEMU 4.0.0, which seems not available ...
4
votes
1
answer
2k
views
Cannot use `time` keyword in Makefile rule action
I have a simple Makefile:
run :
time echo foo
Here's the output when I use it:
$ make run
time echo foo
make: time: Command not found
make: *** [Makefile:2: run] Error 127
Why doesn't it work?...
0
votes
2
answers
152
views
Avoid recompiling with make after running configure
I have a program (ffmpeg) that I am trying to install. This is what I'm currently doing:
Run ./configure with the desired options.
Wait a minute or so.
Run make.
Wait 20-25 minutes.
Get an error ...
0
votes
0
answers
192
views
When I install Perl 5.30.0 from source, perl -v still displays 5.26.2 is being used
I'm using Linux, and wanted to install the latest version of Perl, as according to the perl -v command, I had version 5.26.2, and the latest (stable) release is 5.30.0. But when I compiled the source,...
14
votes
3
answers
6k
views
Compiling C files on Ubuntu and using the executable on Windows
For some odd reason, make kept giving me tabulation errors when compiling on Windows, so I tried it on Ubuntu and it worked just fine.
Now I would like to use the executable I got from compiling on ...
5
votes
1
answer
299
views
Why does make ignore escape sequence if the output is piped
In a Makefile, I want to print a byte represented as a hexadecimal number and pass it to STDIN of another program. For some reason, it doesn't work:
without-pipe:
@printf '\x66\x6f\x6f'
with-...
0
votes
2
answers
87
views
How do I find the installation director of 'make' in windows 10?
How do I find the installation director of 'make' in windows 10?
I have it on the command line, by typing make so I know it is definitely installed.
I can't find it installed in apps in windows 10 ...
0
votes
0
answers
928
views
Windows 10 make CreateProcess failed
I am trying to install a package from here https://github.com/epfml/sent2vec, which requires me to clone and run make. But I got into this error:
PS E:\SAFETY\SSE\sent2vec> make
c++ -pthread -std=...
3
votes
1
answer
401
views
Having trouble building gcc (libiberty obstack.c won't compile)
I'm running openSUSE 11.4, which is kinda old, so I'm trying to build some updated dependencies for another thing I want to build.
I've downloaded the source for gcc-6.4.0 (also tried the latest - ...
2
votes
1
answer
308
views
wrong dependency_libs in .la file after make install with DESTDIR flag
I am maintaining a locally-compiled version of gpg. The end result is supposed to be a standalone suite of packages living in /opt/local (with the standard tree under that base directory: usr/bin for ...
1
vote
0
answers
4k
views
windows cmd /c enters interactive mode
A friend of mine has a Windows 10 system that shows the following behavior:
When GNU make is used to run a command using "cmd /c" and the command string contains a wildcard character, then the ...
1
vote
1
answer
2k
views
Cmake on ARM (arm-none-eabi) - configuration
I use cmake to compile my project for arm cortex m3 (arm-none-eabi-).
I would like to add the following options:
1.) the linker should generate a .map file of the binary.
2.) make (Unix Makefiles) ...
1
vote
1
answer
3k
views
An issue with ncview (netCDF visual browser) on cygwin - windows 10
I have an issue with ncview on cygwin. Can anyone help?
I have installed cygwin on windows 10 and followed the instructions on Ncview under Windows.
my output from ./configure and make install are ...
0
votes
1
answer
75
views
Win 7 Professional
Machine crashed during power outage and failed to boot afterwards. After running EasyRE and Dell Restore and Recovery, system became bootable and appeared completely intact. Attempting to image disk ...
1
vote
0
answers
636
views
How do I get GCC and Make to exclusively use RAM only?
I'm compiling a C++ project using GCC and Make.
I use a ramdisk for this because it builds faster that way and to reduce the amount of writes to my SSD.
I've noticed that, despite moving the project ...