Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [make]

An utility that automates build processes, used mainly to build software on Unix-like systems.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
44 views

Make for Windows with Unix commands

I installed make for windows and it's available under the terminal / powershell. However, the makefile assumes a unix-system and uses grep/find/ls and so on. These are not available in the powershell ...
acocado's user avatar
0 votes
1 answer
202 views

"bwrap: execvp make: No such file or directory" when calling "opam install camlidl.1.12"

I tried to install the package camlidl in a new Ubuntu 22 virtual machine with the usual OCaml package install command: $ opam install camlidl.1.12 But I got the following error message, which I had ...
Miguel Angel Moreno's user avatar
0 votes
0 answers
50 views

How do I install libraries if I don't have the config file

How do I install the libraries if I don't have the config file, and in addition to not having the configure file, they come with an extension. I have followed the instructions, I have placed the ...
Emm ou's user avatar
  • 1
0 votes
1 answer
290 views

i2c driver linux, where is .ko file, recompile single driver and enable

I have SBC: mango pi mq-pro Processor: Allwinner D1 Distribution: Linux Ubuntu 5.17.0-1003-allwinner riscv64 Link at distro: https://wiki.sipeed.com/hardware/en/lichee/RV/ubuntu.html I need to enable ...
nx4n's user avatar
  • 109
2 votes
1 answer
3k views

Can't use Makefile on a mac. Whether tab or 4 spaces the error is: " *** missing separator. Stop."

I am using an M1 powered mac. I am trying to use makefile in a project and to my surprise, no matter what I do it ends being a missing separator error. my Makefile below won't run no matter what. I ...
black sensei's user avatar
-1 votes
1 answer
219 views

Why don’t make check the timestamp when the dependency file is not generated?

I create an ugly Makefile, it worked beyond my expectations. When main.o is not built successfully, the executable is built every time I make. In my opinion, after the main.o target command is ...
chen zhang's user avatar
0 votes
1 answer
1k 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)
nobs's user avatar
  • 143
0 votes
1 answer
2k 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 [ &...
DilLip_Chowdary's user avatar
1 vote
2 answers
216 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 ...
JKRT's user avatar
  • 111
1 vote
1 answer
633 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 ...
Robert Campbell's user avatar
3 votes
1 answer
830 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 ...
Custom's user avatar
  • 31
0 votes
2 answers
227 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. ...
hybrid461's user avatar
0 votes
1 answer
2k 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 ...
amg's user avatar
  • 3
1 vote
0 answers
60 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 ...
Zhouchang Yang's user avatar
0 votes
0 answers
869 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 ...
Sumeet Boga's user avatar
0 votes
1 answer
63 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 ...
Daniel Donnelly's user avatar
0 votes
1 answer
479 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 ...
Floating Point's user avatar
1 vote
1 answer
445 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 ...
Camille Goudeseune's user avatar
0 votes
1 answer
305 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 ...
Eduardo Lucio's user avatar
2 votes
2 answers
6k 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 ...
Eduardo Lucio's user avatar
0 votes
1 answer
723 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 ...
Cameron Tacklind's user avatar
0 votes
1 answer
56 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=...
Erick Storm's user avatar
1 vote
0 answers
72 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: ...
den taralevych's user avatar
0 votes
0 answers
110 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 ...
AlexB's user avatar
  • 1
0 votes
0 answers
67 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 $(...
Danijel's user avatar
  • 714
1 vote
0 answers
992 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 &...
gcb's user avatar
  • 4,961
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 ...
ramsey_lewis's user avatar
0 votes
0 answers
406 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 ...
John Wyatt's user avatar
0 votes
0 answers
35 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 ...
FPS's user avatar
  • 1
0 votes
1 answer
1k 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/...
Daniel's user avatar
  • 125
0 votes
1 answer
570 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 ...
Josh's user avatar
  • 51
0 votes
0 answers
407 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 ...
nPn's user avatar
  • 101
0 votes
0 answers
1k 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 ...
Feng Chen's user avatar
  • 113
0 votes
0 answers
2k 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 ...
xvlaze's user avatar
  • 189
2 votes
1 answer
349 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 ...
Tina J's user avatar
  • 529
0 votes
1 answer
118 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 -...
user2741831's user avatar
0 votes
1 answer
293 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 ...
jeferson lemos's user avatar
1 vote
1 answer
387 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 ...
I Wonder's user avatar
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?...
xdavidliu's user avatar
  • 1,220
1 vote
2 answers
403 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 ...
Solomon Ucko's user avatar
0 votes
0 answers
231 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,...
Blue-Maned Hawk's user avatar
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 ...
hkj447's user avatar
  • 261
5 votes
1 answer
408 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-...
Sergei Morozov's user avatar
0 votes
2 answers
302 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 ...
SomeT's user avatar
  • 177
0 votes
0 answers
2k 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=...
Tuan Minh Nguyen Hoang's user avatar
3 votes
1 answer
502 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 - ...
Kayson's user avatar
  • 199
2 votes
1 answer
394 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 ...
grobber's user avatar
  • 121
1 vote
0 answers
5k 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 ...
Andreas Maier's user avatar
1 vote
1 answer
3k 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) ...
user654789384's user avatar
1 vote
1 answer
4k 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 ...
Brendan Darrer's user avatar

1
2 3 4 5 6