Thanks, Shawn. I git-cloned all links. I now have directories: /root/haproxy-2.8 /root/haproxy-scripts /root/openssl
I don't have a separate docker server available. Must do this in my production
site (although it can tolerate short outages :)
I started the script new-haproxy (Ubuntu 22.04.3 LTS):
root@mail:~/haproxy-scripts# ./new-haproxy haproxy-2.8
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'psutil'
E 2023-11-07T11:49:19: GETTING CPU COUNT FAILED.
I 2023-11-07T11:49:19: - Beginning pull/build of haproxy
I 2023-11-07T11:49:19: Haproxy repo maintenance
Fetching haproxy from git
Fetching origin
Already up to date.
I 2023-11-07T11:49:20: Building haproxy
I 2023-11-07T11:49:20: Using threads with make
CC src/ev_poll.o
CC src/ev_epoll.o
CC src/cpuset.o
CC src/ssl_sock.o
CC src/ssl_ckch.o
CC src/ssl_sample.o
CC src/ssl_crtlist.o
CC src/cfgparse-ssl.o
CC src/ssl_utils.o
CC src/jwt.o
CC src/ssl_ocsp.o
CC src/quic_conn.o
CC src/mux_quic.o
CC src/h3.o
......
CC src/quic_cc.o
CC src/quic_cc_nocc.o
CC src/namespace.o
CC src/linuxcap.o
CC src/mux_h2.o
CC src/mux_fcgi.o
CC src/mux_h1.o
CC src/tcpcheck.o
CC src/stream.o
CC src/stats.o
CC src/http_ana.o
In file included from include/haproxy/pattern-t.h:28,
from include/haproxy/acl-t.h:25,
from include/haproxy/acl.h:25,
from src/ssl_sample.c:22:
include/haproxy/regex-t.h:40:10: fatal error: pcre2.h: No such file or directory
40 | #include <pcre2.h>
| ^~~~~~~~~
compilation terminated.
make: *** [Makefile:1009: src/ssl_sample.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from src/ssl_utils.c:18:
include/haproxy/openssl-compat.h:10:10: fatal error: openssl/bn.h: No such file
or directory
10 | #include <openssl/bn.h>
| ^~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1009: src/ssl_utils.o] Error 1
In file included from src/cfgparse-ssl.c:38:
include/haproxy/openssl-compat.h:10:10: fatal error: openssl/bn.h: No such file
or directory
10 | #include <openssl/bn.h>
| ^~~~~~~~~~~~~~
compilation terminated.
....
compilation terminated.
make: *** [Makefile:1009: src/quic_cc_cubic.o] Error 1
In file included from include/haproxy/proxy-t.h:35,
from include/haproxy/obj_type.h:32,
from include/haproxy/connection.h:34,
from src/h3.c:24:
include/haproxy/compression-t.h:32:10: fatal error: zlib.h: No such file or
directory
32 | #include <zlib.h>
| ^~~~~~~~
In file included from include/haproxy/quic_conn.h:37,
from src/quic_tp.c:7:
include/haproxy/openssl-compat.h:10:10: fatal error: openssl/bn.h: No such file
or directory
10 | #include <openssl/bn.h>
| ^~~~~~~~~~~~~~
compilation terminated.
compilation terminated.
(trimmed down the output a bit)
What is missing? zlib?
--
Christoph
> Am 06.11.2023 um 00:38 schrieb Shawn Heisey <[email protected]>:
>
> https://git.haproxy.org/git/haproxy-2.8.git
> <https://git.haproxy.org/git/haproxy-2.8.git>
smime.p7s
Description: S/MIME cryptographic signature

