Questions tagged [compilation]
The compilation tag has no usage guidance.
47
questions
0
votes
0
answers
31
views
Re-compressing XZ kernel module?
I have a kernel module produced by kernel option CONFIG_MODULE_COMPRESS_XZ. When I manually decompress the file with unxz and re-compress with xz, the new .ko.xz file differs from the original .ko.xz ...
0
votes
1
answer
201
views
Can not compile php-curl ext with custom curl
I have libcurl installed here:
/usr/local/curl-7.88.1/
I want to compile php-curl extension:
# cd /usr/src/php-8.1.12/ext/curl/
# /usr/local/php81/bin/phpize
Configuring for:
PHP Api Version: ...
1
vote
0
answers
146
views
Set number of threads when auto compiling kernel
I use Ubuntu as main operating system.
I have found that when a new kernel is included in a system upgrade, during the upgrade, certain kernel-related items are compiled (kernel modules?).
During this ...
0
votes
0
answers
40
views
NGINX Community compilation for reverse proxy to use ngx_http_substitutions_filter_module
I have compiled from the src nginx to use the ngx_http_substitutions_filter_module.
I have used this build configuration ./configure --prefix=/var/www/html (and so on...).
Compilation is fine and it ...
0
votes
0
answers
470
views
ld is unresponsive to both LD_LIBRARY_PATH and LIBRARY_PATH
I'm working on a shared CentOS server where I don't have root.
cat /etc/centos-release
CentOS Linux release 7.8.2003 (Core)
I recently updated my GCC/G++ version to 9.4.0, but now all of my C++ ...
0
votes
0
answers
193
views
APP_PROTECT failed to get compilation status
I have installed Nginx Plus and App Protect (provided by Nginx Plus and F5). I followed the config guide (https://docs.nginx.com/nginx-app-protect/configuration/). The issue is whenever I add the ...
0
votes
0
answers
292
views
Alternative location to store tmp files on linux
So I have a python script that I compile with pyinstaller to a single file. at the time of running, by default, the script will unbundle the modules in /tmp/ also you can change the default TMPDIR at ...
1
vote
1
answer
3k
views
Getting libssl abd libcrypto conflict warning while compiling php on RHEL 7.8
I m getting following warning messages while compiling php on RHEL7.8
I am able to successfully compile and install php but I am not sure what will be the side effect of these warnings.
Is there any ...
0
votes
2
answers
346
views
Does Ansible offer a way to build/compile on the control node, and then deploy to managed nodes?
Is there any way to have Ansible run a build script locally on the control node, and then deploy the resulting artifact to various managed nodes?
Please let me know if there's something I've missed, ...
0
votes
0
answers
611
views
Compile ModSecurity 3.3 with YAJL
anyone could help? I'm stucked on this.
I already compiled ModSecurity 3.3 on this machine (followed these instructions). Now I'm trying to compile with YAJL (Yet Another JSON Library) to be able to ...
0
votes
1
answer
346
views
Compile error on nginx-auth-ldap with nginx
I try to compile the ldap module with nginx on Centos7. However I am greeted with tons of compile errors.
The first few I got here:
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -...
0
votes
1
answer
298
views
Compiling and running untrusted code on a server
In teaching CS, students submit their code to our server and we compile and run with unit tests. Similar to Codeforces, Codewars, and HackerRank.
How should we be configuring servers for this? Launch ...
2
votes
2
answers
768
views
Installing a new software (httpd) in an old Linux (Centos 5)? [closed]
I need to upgrade Apache httpd on a legacy Centos 5 32-bit machine that is running on production. Since all the official repo versions are outdated, I am trying to compile it in a docker container; ...
9
votes
4
answers
13k
views
Nginx module not binary compatible after compilation on Centos 7
I need to use the Nginx module ngx_http_auth_pam_module on a Centos 7 server. As a package is only available through the getpagespeed repository, which isn't gratis, I want to compile it myself.
...
2
votes
1
answer
876
views
How to Install a binary package on a shared hosting (for example AqBanking) or managed Debian server [closed]
I want to use HBCI home banking AqBanking software in a web app on a managed server (HostEurope) which is quite restricted and does not allow package installation.
It runs on Debian 8.
1
vote
0
answers
583
views
Linker error in SUSE Linux Enterprise Server 12 SP3
Our machine was in SUSE Linux Enterprise Server 11 SP4 until when we recently moved to SUSE Linux Enterprise Server 12 SP3.
Our C++ tools were compiling without any problem on SuSe 11. But when we ...
3
votes
1
answer
11k
views
PHP's MemcacheD extension DLL for Windows
On my PHP 5.6 site I have been using the Memcache extension to interface with the memcached daemon. As the extension has a matching DLL, it meant I could deploy it on my Windows dev machine as well ...
0
votes
1
answer
3k
views
Removing nginx compilation
I have compiled nginx(1.13.6) on my ubuntu server by cloning and installing nginx from git. I want to recompile it with additional modules. When I try to remove nginx using:
sudo service nginx stop
...
0
votes
1
answer
93
views
Different results for json_encode in Wordpress with php compiled with same configuration and libmbfl version
I have an older Debian server and a local install of Wordpress; I'm trying to track down why calling:
echo json_encode('😀');
on the Debian server results in "\ud83dde00" but on my local install, ...
1
vote
1
answer
558
views
Failed building puma 3.11.0 on Ubuntu 17.10
Tried to install puma with the following command
sudo gem install puma -v '3.11.0'
Got the below message:
Building native extensions. This could take a while...
ERROR: Error installing puma:
...
1
vote
0
answers
503
views
Compilation of Python 3.6.5 on Debian 9 hangs on test_asyncio
Compilation steps:
apt-get install -y make build-essential libssl-dev zlib1g-dev
apt-get install -y libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm
apt-get install -y libncurses5-dev ...
0
votes
1
answer
106
views
Replace Existing XMLTooling Library w/ Compiled Version
To remediate an Shibboleth SSO vulnerability (https://shibboleth.net/community/advisories/secadv_20180227.txt) I'm attempting to replace the existing libxmltooling7 library with a newer version (from ...
1
vote
1
answer
2k
views
Error installing PHP7.1 with apache2 on debian 9
Hello I installed the apache with debian's 9 installation. Then installed php7.0 with apt-get but I need to install php7.1, at first I do
$ su
$ apt-get purge php7.0
so I downloaded from http://...
0
votes
1
answer
168
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
29
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-...
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 ...
2
votes
1
answer
4k
views
Compiling PHP 5.3.29 with OpenSSL fails
we are in need of a PHP5.3 installation on our Ubuntu 16.04 server for a legacy 3rd party application we are about to replace, but we still need around for some time.
Therefore I compiled PHP5.3.29 ...
1
vote
1
answer
608
views
NGINX error during compilation sources
I need help cause i get error when compiling nginx v1.9.12
Compilation code
./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/...
3
votes
1
answer
1k
views
Building old Perl from source - How to add math library?
When I make Perl 5.10.1 I get some errors, I found some related threads that stated:
The error messages are from the linker, not from the compiler. You should get away by placing a -lm at the end ...
0
votes
0
answers
37
views
Compile PHP with the setting and extensions of the system one
My client has a server on Ubuntu with PHP 5.4. Currenctly I want to add PHP 5.6 + PHP-FPM to give the possibility to use a newer version of PHP. The question is :
Is there a simple / quick way to get ...
0
votes
1
answer
6k
views
Cannot open config file when installing nagios
When trying to setup nagios, I'm running into some errors.
Error: Cannot open config file ‘/usr/local/nagios/etc/hosts.cfg ;new file added ‘ for reading: No such file or directory
Error processing ...
0
votes
1
answer
689
views
Best way to compile tar archives of source code on target servers with Ansible
I am using Ansible for config management and I'd like to adopt it even further to deploy custom code, which is compiled at some servers directly. There are no packages since the code is only internal ...
2
votes
1
answer
7k
views
/usr/bin/ld: cannot find -lmysqlclient Error but I have installed libmysqlclient-dev
I'm trying to compile this source code I have from a developers website that made his personal small MMO public, when trying to compile I get:
gcc -O -g -m32 -rdynamic -L/usr/lib/mysql -o server .obj/...
3
votes
1
answer
233
views
Compile software from source : how do I collect a dependency list?
I'd like to compile Nginx 1.9.8 from source and install it on a Ubuntu 14.04 server. However, and this goes for any software, how do I figure out which dependencies I need to install on my local ...
0
votes
1
answer
871
views
Building Driver for Intel X710-da2 on FreeBSD [closed]
I am trying to build the network driver for Intel X710-da2, which can be downloaded here on FreeBSD 9.3.
I followed the Intel README but nevertheless I retrieve the following compile error after ...
0
votes
2
answers
5k
views
Compile node-5.1.0 in CentOS 6.7 lacks of g++ 4.8+
I'm trying to compile node-5.1.0 in CentOS 6.7 but is asking for g++ 4.8 or above.
[root@ws node-v5.1.0]# ./configure
WARNING: C++ compiler too old, need g++ 4.8 or clang++ 3.4 (CXX=g++)
...
First ...
0
votes
0
answers
1k
views
How to compile php and curl-extension with custom version libcurl?
I want compile php-5.6.15 with custom version of libcurl. Why? There was a bug with curl which makes some https requests failed. My distro's repositories contains just version with bug. So I guess I ...
1
vote
0
answers
715
views
Create custom package from nginx source - renaming nginx to custom-nginx
My dist is Ubuntu 14.04
use case
I am attempting to create my own packaged nginx called 'custom-nginx'. It needs to install itself into alternative directories as so it does not interfere with the ...
3
votes
3
answers
2k
views
Building curl, httpd and others with custom openssl build, while avoiding default system openssl
I've been trying to upgrade some programs on an old Linux box (Debian 7.5 wheezy). I'd like to keep default system libs untouched and to add some custom builds alongside them. It works fine for most ...
0
votes
0
answers
209
views
build memcached source on centos6.4 64bit fails
I'd like to build memcached from source on centos 6.4 x86_64 but only get following error.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
...
1
vote
0
answers
674
views
Cannot recompile PHP on Mac OS X and enable PHP calendar
I compiled PHP 5.6.11. PHP-FPM to be more precise. It works find but I need to enable calendar. So I tried to to do:
./configure --enable-fpm --with-pdo-mysql --with-mcrypt --with-zlib
--with-...
1
vote
1
answer
625
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
3
answers
3k
views
SPARC T4, Solaris 11, no access to internet, how to install system headers (or a working compiler)
I need to compile a C program on SPARC T4-1 (Solaris 11) machine that has been deployed to customer network, and it no longer has access to the Internet.
Originally during the setup, compilation ...
0
votes
1
answer
40
views
How Can I Determine Which ./configure Options are Currently "Activated"?
I ran ./configure on a project a long time ago after tweaking multiple options, but now I want to add an option to the rather long list of current options. I do not remember what options I used, so I ...
3
votes
1
answer
3k
views
Build kernel headers to compile R1Soft hcp module
I'm running a Xen based VM with CentOS 5, and my hosting provider pushes kernel version 2.6.37.6 from the host machine (so no pv-grub).
[root@dev ~]# uname -r
2.6.37.6
I'm trying to install the ...
0
votes
1
answer
325
views
How do I modify the include path during a source install?
I'm trying a source install (configure, make) on FreeBSD but I get this error:
error: foo.h: No such file or directory
although the file does exist at /usr/local/include/foo.h so I guess the ...
0
votes
3
answers
12k
views
I keep getting OpenSSL Header Version not found error when compiling OpenSSH Debian Squeeze
I built Openssl1.0.0d ./config shared no-threads zlib
It installed fine to the default /usr/local/ssl
I went and downloaded OpenSSH 5.8p2 and ran ./configure
but now it keeps giving me a Openssl ...