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).
88
questions
0
votes
2
answers
226
views
Is it possible to hide a binary file from the system
A VPS on Centos 7 came with a very old version of openssl. I built and installed a newer version of openssl. (details below) This newer openssl was only installed in order to upgrade to a much newer ...
0
votes
1
answer
232
views
AWS: Migrate go1.x runtime to al2 in order to deploy Lambda functions
I'm trying to migrate to the AL2 runtime from go1.x to deploy my Lambda functions but I'm having troubles with how to do so. I use the Serverless Framework for deployment in conjunction with make. ...
0
votes
0
answers
57
views
Install old OpenSSL 0.9.8 on MacOS 13.2, make error
for compatibility purpose of some functionalities and old softwares I need to install OpenSSL0.9.8 on a modern MacOS machine.
I downloaded the source archive from: https://www.openssl.org/source/old/0....
0
votes
0
answers
33
views
Alternative task runner to Make that lets you include arbitrary (bash) shell commands?
I am trying to add a step to a make command in a Makefile, specifically alias abc='xyz' and was shocked to find that it doesn't quite work like that. This is in a go project (learning go).
Is there ...
0
votes
1
answer
43
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
1
answer
745
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 ...
-2
votes
1
answer
605
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
362
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 ...
0
votes
1
answer
1k
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
6k
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
235
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?...
2
votes
1
answer
4k
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
117
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 ...
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 \
[.....
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
70
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 ...
1
vote
1
answer
766
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
170
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 ...
0
votes
0
answers
30
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-...
1
vote
2
answers
3k
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-...
0
votes
1
answer
919
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
1k
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 ...
1
vote
1
answer
682
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 ...
0
votes
1
answer
202
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 ...
2
votes
3
answers
7k
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 ...
0
votes
2
answers
405
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....
1
vote
1
answer
1k
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 ...
0
votes
1
answer
709
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/...
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 ...
0
votes
0
answers
901
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' '--...
0
votes
1
answer
843
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 ...
0
votes
1
answer
74
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
636
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 ...
2
votes
0
answers
4k
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-...
0
votes
1
answer
704
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
2k
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
vote
4
answers
10k
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:
...
0
votes
0
answers
111
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.
...
0
votes
1
answer
39
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
675
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 ...
46
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 ...
11
votes
2
answers
33k
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
...
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/...
1
vote
1
answer
133
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 -> ...
0
votes
1
answer
840
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 ...
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 ...
0
votes
1
answer
472
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 ...