Questions tagged [make]

make is an old Unix utility to build projects. The basic principle it uses is to track dependencies between targets (which are often files).

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

Imgcrypt is getting stuck on ctd-decoder

I have git cloned the containerd/imgcrypt git. I ran the 'make' command am getting the following error: make: *** [Makefile:37: bin/ctd-decoder] Error 2
-1 votes
0 answers
37 views

Compiling LibreSSL and OpenSSH in Docker OpenSSL version header not found

I have a basic Dockerfile: FROM amazon/aws-cli RUN yum update -y && yum install jq openssh-clients unzip python3 autoconf automake libtool m4 patch make git zlib-devel -y RUN git clone https:...
0 votes
0 answers
9 views

Installing ONIE on Netberg Rangeley P1330 CPU board

I'm trying to build the opencomputeproject/onie bin files for netberg aurora using the instructions from here. I am getting the following error, what is wrong? [INFO ] Retrieving needed toolchain ...
0 votes
1 answer
20 views

Makefile: Expansion of "$<" does not work in "optimized" makefile

I have a directory structure like this: ./ | |- values-1/ | |- thing0.yaml | |- values-2/ | |- thing1.yaml | |- dachart-1/ | |- thing0.yaml (this should be generated by make | ...
0 votes
0 answers
197 views

Rebuild installed nginx (openresty) with extra module

I have an Openresty installation with the following configure settings: $ openresty -V 2>&1 nginx version: openresty/1.17.8.1 built by gcc 9.3.0 (Ubuntu 9.3.0-10ubuntu2) built with OpenSSL 1.1....
0 votes
1 answer
355 views

Docker container CMAKE gives crypto/fips/fips.c:153: OpenSSL internal error: FATAL FIPS SELFTEST FAILURE - dracut-fips crypto.fips_enabled = 1

Getting crypto/fips/fips.c:153: OpenSSL internal error: FATAL FIPS SELFTEST FAILURE when dracut-fips package is installed and sysctl -a shows crypto.fips_enabled = 1 Restriction: Can not disable ...
  • 115
-2 votes
1 answer
245 views

CentOS 8 server: /bin/ld: cannot find -lstdc++

I get an error running make. I have never seen this error. There are no other errors except this one. I am seriously baffled. Help is appreciated.
1 vote
2 answers
175 views

How do I make my PHP Source installation use the libraries inside of /usr/local/programname/lib instead or /usr/local/lib?

How do I make my PHP Source installation use the libraries inside of /usr/local/programname/lib instead or /usr/local/lib? I have tried setting LD_LIBRARY_PATH to each of the program names like ...
user avatar
0 votes
1 answer
843 views

How to set Makefile variable with contents of file

I am trying to set the variable of a Makefile variable if that variable is not set before and a file exists. However, I am having issues overwriting that variable. Any ideas? GITHUB_TOKEN = "&...
1 vote
1 answer
4k views

How to install nginx-module-brotli?

I have a server with ubuntu 20.04 But I am unable to install nginx-module-brotli for my nginx server. Here are the commands I use to install Brotli for Nginx : $ sudo apt install git gcc cmake ...
0 votes
0 answers
149 views

Makefile CMD long path limit

When when I have long paths in my project (250+ characters), when I trigger my makefile it can't find the include files. Is there a way to fix this instead of renaming folders to decrease path length?...
1 vote
1 answer
3k views

OpenSSL error when compiling Apache HTTPD - undefined reference to `SSL_in_init'

We run Apache HTTPD as a production load balancer using mod_ssl with OpenSSL. I'm trying to recompile Apache HTTPD on the latest version (2.4.41) and am encountering the following error when running ...
1 vote
2 answers
105 views

RHEL 7 Server Network not working after Install Python3.6 from Source

I have a RHEL server which by default was running Python2.7 and Python3.4 I needed to use Python3.6 so I downloaded it and built it from source. However, now I seemed to have broken my network ...
  • 161
4 votes
2 answers
2k views

use makefile to copy files in docker multi-stage builds

I'm using multi-stage builds to separate the build environment from the final docker image: FROM ubuntu:bionic AS build RUN apt-get update && apt-get install -y \ build-essential \ [.....
  • 335
0 votes
1 answer
1k views

Compiling / installing GDAL 2.2.x with MBTILES driver on REDHAT 7

I am trying to get GDAL with MBTiles Driver working on a RHEL7 instance. I have downloaded the source code and am trying to compile it with MBTILES. This is the first time I'm compiling something ...
0 votes
1 answer
2k views

./configure: error: no ~/nginx-auth-ldap/config was found

Trying to build nginx per this guide: https://calvin.me/nginx-ldap-http-authentication/ I'm on Ubuntu 16.04 and used nginx 1.12.2 instead of what he has in that guide. I modified his build script to ...
0 votes
2 answers
62 views

How to distinguish rpm package files from files generated by make install

What I have: CentOS 7 based server Part of files (programs) set from sources (configure && make install) No kind of sources left (no spec files, nothing) What I need: remove these ...
  • 11
1 vote
1 answer
614 views

How to configure Heimdal Kerberos to use OpenLDAP?

From http://www.h5l.org/manual/HEAD/info/heimdal/Using-LDAP-to-store-the-database.html#Using-LDAP-to-store-the-database A current release of Heimdal, configured with --with-openldap=/usr/local The ...
0 votes
1 answer
153 views

Unable to install a new version of a port -- Elixir 1.5.1 -- in FreeBsd -- "1 out of 2 hunks failed--saving rejects to Makefile.rej"

I'm trying to install Elixir 1.5 and OTP 20. I did this: pkg install erlang-runtime20 portsnap fetch extract update and I've changed /usr/ports/lang/elixir/Makefile to point to the latest version ...
  • 89
0 votes
0 answers
24 views

Disribute PHP files after compiling from source

I have compiled and installed multiple version of PHP on my system. When I compile my PHP, there are a few files that are not copied to to their location. For example, when I compile my PHP v7.1(PHP-...
  • 167
1 vote
2 answers
2k views

Cannot install nginx from source

I'm trying to install nginx 1.13.1 from source on Ubuntu 16.04. My configure command is the following: ./configure --with-cc-opt='-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-...
  • 33
0 votes
1 answer
838 views

Compile PHP 7.1.5 with PCRE 8.40

I tried to compile a PHP 7.1.5 with PCRE 8.40 on a legacy Ubuntu 12.04.05 LTS: 1, I compiled PCRE 8.40 from source to /usr/local/pcre. 2, configure PHP: ./configure --prefix=/usr/local/php7 --with-...
0 votes
1 answer
952 views

PHP compile issues - stuck at 'Generating phar.phar'

I've encountered problems compiling PHP from source at one 'a bit custom' Centos 6/cPanel server.In general it worked in the past, right now it does not. There were many different PHPs compiled at ...
  • 101
1 vote
1 answer
593 views

Solaris: Make fails for Apache 2.4.23 mod_jk.so, for ColdFusion 10

So a bit of history, skip the following section if you want to get to the current problem. We're upgrading from Apache 2.2.20 to Apache 2.4.23 on a SPARC Solaris 10 environment. This server is meant ...
  • 11
0 votes
1 answer
170 views

What is the best way to build a port of a version that is only available in a newer version of FreeBSD?

I am currently supporting devices which are running FreeBSD 9.2, as well as 10. And I need to somehow install a newer version of archivers/libarchive than that which is available for these FreeBSD ...
  • 101
2 votes
3 answers
6k views

How to build and update iptables latest version for CentOS 7

Due to a bug (similar to this one) i'm facing with iptables in Centos 7, I'd like to update the version of iptables. # yum update iptables Loaded plugins: fastestmirror, langpacks Loading mirror ...
  • 110
0 votes
2 answers
364 views

Make fails attempting to install svn-1.0.2

Trying to figure out whats going on with this error so we can successfully install svn-1.0.2 I am using the command, echo -e "\n" |pecl install svn-1.0.2 root@us-east-1d-tengu-queuerunner-prod-141-8....
  • 577
1 vote
1 answer
971 views

Installing locally python3 on AIX

I'm trying to locally install python3 (3.5.2) interpreter on AIX 7.1 I used this to configure, which runs ok CC=gcc OPT="-O2" ./configure --enable-shared --prefix=$HOME/usr/local but I get error ...
  • 156
0 votes
1 answer
614 views

PostgreSQL configs are ignored

I have a custom postgresql build, that shows the following output on pg_config BINDIR = /var/buildout.webstacks.xwiki/bin DOCDIR = /var/buildout.webstacks.xwiki/share/doc/postgresql HTMLDIR = /var/...
  • 1,138
0 votes
3 answers
4k views

upgrading openssl in CentOS 7

First, I tried downloading the source tarball openssl-1.0.1s.tar.gz from openssl.org and doing a ./config && make install, and although it seems to have completed the process successfully, I ...
  • 113
0 votes
0 answers
890 views

Is compiling php 5.6 with these errors ok?

I am compiling php 5.6 with the following: sudo ./configure '--with-apxs2' '--disable-cgi' '--enable-sockets' '--enable-pcntl' '--with-readline' '--with-zlib' '--with-openssl' '--with-curl' '--...
  • 146
0 votes
1 answer
716 views

How to make executable find libraries after relocation?

I am attempting to build a RPM for GNU libiconv I have no problem compiling the source, but when I install to a temporary location the full temporary path of the shared library gets hard-coded into ...
  • 554
0 votes
1 answer
72 views

Compiling a specific version of a freeBSD utility

I want to compile and run a specific version of a FreeBSD utility from the source code. For example, I downloaded the repo for the following utility: https://svnweb.freebsd.org/base/stable/9/sbin/...
1 vote
1 answer
513 views

Compiling in linux to specific directory and then package the software

I need to compile a software from the sources. ./config && make && make install On that, it does install a bunch of stuff everywhere(Libraries, etc) But the thing is, that I also ...
  • 741
1 vote
0 answers
3k views

How do I re-compile python?

I am attempting to install pip on RHEL. When I run: [root@somewhere ~]# python get-pip.py Traceback (most recent call last): File "get-pip.py", line 20204, in <module> main() File "get-...
  • 1,062
0 votes
1 answer
646 views

Resolve packages not found and errors during configure,make,make install in a script

I need to have a script that will install a package from source in a Linux system and need to know how to take care of the errors that usually come up as a result of the first step ./configure maybe a ...
0 votes
1 answer
1k views

install-man5 Error 1 after running 'make install' after compiling NUT (Network UPS Tools)

In an attempt to solve my NUT energy-saving problem that I've asked about in a lengthy serverfault question, I read that in the latest NUT version, nutdriver_qx replaces blazer_ser and I think it's ...
-1 votes
1 answer
2k views

Pid and Lock files are not created in Nginx custom build Centos 7

I am trying to install nginx from source. After make install, I had a look at /var/run/ folder but I cant find the nginx.pid file and nginx.lock files there. This is my configuration: sudo ./...
  • 1,421
1 vote
4 answers
9k views

Errors when Compiling Nginx with Pagespeed on CentOS 7

I am trying to compile Nginx with Pagespeed from source and I am having a hard time trying to resolve the not found errors I am seeing when I add the configure settings. This is my configure settings: ...
  • 1,421
0 votes
0 answers
107 views

Buildingflavours when creating own nginx-core .deb file

I have to create a .deb file from nginx source which include some additional modules. I downloaded the src files and edited debian/rules. For the core flavour I added my modules and compiling works. ...
  • 797
0 votes
1 answer
36 views

Where can I find a previously installed application in linux? Preparing for an upgrade

I'm currently trying to update my duo_security application that I installed 4 years ago. I'm following the instructions, but I hit a roadblock when it says: Note: You'll need to use the same --prefix ...
2 votes
1 answer
3k views

Error compiling PHP 5.5.9 on CentOS 6.5 during make command

Here is the error message: cc: internal compiler error: Killed (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.6/README....
0 votes
1 answer
652 views

Build failing for mod_caucho, no member named 'remote_ip'?

I'm trying to get my module to build correctly but it looks like it is having an issue with Apache 2.4. It looks like this is a known issue and a patch was issued for mod_authnz_external.c. This ...
  • 577
45 votes
6 answers
10k views

Is it safe for a production server to have make installed?

During the setup of my virtual server instances I require some applications to be built using make. Are there any security risks associated with having make installed? Or should I clean it up before ...
  • 1,281
11 votes
2 answers
30k views

What is creating the generated/autoconf.h?

We're trying to build a piece of software that demands the kernel source, not just the headers. So we downloaded the kernel source via the centos src rpm. However the autoconf.h is missing. We tried ...
  • 213
0 votes
2 answers
1k views

Error during make PHP 5.3.28

I have tried to build PHP version 5.3.28 using the following commands: [root@server php-5.3.28]# ./configure --with-apxs2=/usr/bin/apxs --with-libdir=lib64 --cache-file=./config.cache --prefix=/usr/...
  • 228
1 vote
1 answer
131 views

Unable to compile Varnish 2.1 under SUSE 10.3

I just cloned the latest varnish 2.1 from git-repository. All the dependencies listed on the website have been installed. I run the following commands: ./autogen.sh -> works fine ./configure -> ...
  • 153
0 votes
1 answer
838 views

qt47-webkit-devel installation conflicts?

I'm receiving several conflicts while trying to install qt47-webkit-devel on a CentOS 6.4 server, the meat of the conflicts is here: --> Processing Conflict: 1:qt47-x11-4.7.2-1_18.el6.x86_64 ...
  • 577
2 votes
1 answer
1k views

Warning messages while building Apache server

I am building Apache server 2.4.6 from source and am not sure about a few warning messages I received during the rpm build process. The build completes OK and everything seems fine..BTW, this is on ...
  • 141
0 votes
1 answer
410 views

Debian upgrade Nginx from source

I've installed Nginx 1.2.1 from apt-get install in my Debian 7 instance (Google Compute Engine). In order to install Pagespeed mod for Nginx, I will need to compile Nginx from the source code to add ...