| Cost | $0.211 |
| Total elapsed time | 1m26s |
| LLM inference time | 1m1s |
| Command execution time | 24s |
| Commands executed | 17 |
All details >
| Attempt ID | mlaw9i67o9ko8 | Attempt group | run-16-09-22-05 |
| Revision | fb5c74bd2fee | AWS Instance | m8i.2xlarge |
| Start time | 2025-09-16T22:04:34.937Z | End time | 2025-09-16T22:06:00.917Z |
| Task | curl | Environment | ubuntu-22.04-amd64-offline |
| Model | | OpenRouter slug | anthropic/claude-sonnet-4 |
| Temperature | 1 | Explicit prompt caching | true |
| User msg after tool call | false | Max tool calls | 70 |
| Total timeout seconds | 900 | Single command timeout | 600 |
| Cost | $0.211 | Duration | 1m26s |
| LLM inference time | 1m1s | Command execution time | 24s |
| Final context tokens | 17,259 | Total output tokens | 2,318 |
| Output reasoning tokens | 0 | Messages | 37 |
| Assistant messages | 18 | User messages | 1 |
| System messages | 1 | Commands executed | 17 |
curl 8.16.0 is a command-line HTTP client.
Project link: curl.se
Task:
Compile and install curl to a specific location.
Difficulties:
Standard build, nothing special.
Environment:
Ubuntu 22.04 on amd64, without internet access.
You are a package-building specialist operating a Ubuntu 22.04 bash shell via one tool: run_terminal_cmd.
The current working directory of every run_terminal_cmd is /home/peter.
Execution rules:
- Always pass non-interactive flags for any command that could prompt (e.g., -y, --yes, DEBIAN_FRONTEND=noninteractive).
- Don't include any newlines in the command.
- The environment is offline, assume you have all the necessary tools already installed.
If you encounter any errors or issues while doing the user's request, you must fix them and continue the task.
At the end verify you did the user request correctly.
You are given a curl v8.16.0 source code at /home/peter/curl.tar.gz. Please compile curl and install it to /home/peter/result. Create a symlink from /home/peter/result/curl to the actual binary. Make it build even if some third party dependencies are not available.
I'll help you compile curl from source and install it to the specified directory. Let me start by extracting the source code and then configure, compile, and install it.
[empty output]
compile-bench> ls -la /home/peter/ total 4108
drwxr-x--- 1 peter peter 4096 Sep 16 22:04 .
drwxr-xr-x 1 root root 4096 Sep 15 11:21 ..
-rw-r--r-- 1 peter peter 220 Jan 6 2022 .bash_logout
-rw-r--r-- 1 peter peter 3771 Jan 6 2022 .bashrc
-rw-r--r-- 1 peter peter 807 Jan 6 2022 .profile
drwxr-xr-x 14 peter peter 4096 Sep 10 05:43 curl-8.16.0
-rw-r--r-- 1 peter peter 4176617 Sep 16 22:04 curl.tar.gz
↓ 9 lines
total 4108 drwxr-x--- 1 peter peter 4096 Sep 16 22:04 . drwxr-xr-x 1 root root 4096 Sep 15 11:21 .. -rw-r--r-- 1 peter peter 220 Jan 6 2022 .bash_logout -rw-r--r-- 1 peter peter 3771 Jan 6 2022 .bashrc -rw-r--r-- 1 peter peter 807 Jan 6 2022 .profile drwxr-xr-x 14 peter peter 4096 Sep 10 05:43 curl-8.16.0 -rw-r--r-- 1 peter peter 4176617 Sep 16 22:04 curl.tar.gz
Great! The source code has been extracted to /home/peter/curl-8.16.0. Now let me navigate to the source directory and configure the build to be resilient to missing dependencies.
compile-bench> cd /home/peter/curl-8.16.0 && ls -la total 2312
drwxr-xr-x 14 peter peter 4096 Sep 10 05:43 .
drwxr-x--- 1 peter peter 4096 Sep 16 22:04 ..
-rw-r--r-- 1 peter peter 284 Sep 10 05:43 .editorconfig
-rw-r--r-- 1 peter peter 438 Sep 10 05:43 CHANGES.md
drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 CMake
-rw-r--r-- 1 peter peter 92961 Sep 10 05:43 CMakeLists.txt
-rw-r--r-- 1 peter peter 1088 Sep 10 05:43 COPYING
-rw-r--r-- 1 peter peter 1712 Sep 10 05:43 Dockerfile
-rw-r--r-- 1 peter peter 6930 Sep 10 05:43 Makefile.am
-rw-r--r-- 1 peter peter 39602 Sep 10 05:43 Makefile.in
-rw-r--r-- 1 peter peter 1664 Sep 10 05:43 README
-rw-r--r-- 1 peter peter 28109 Sep 10 05:43 RELEASE-NOTES
-rw-r--r-- 1 peter peter 44196 Sep 10 05:43 acinclude.m4
-rw-r--r-- 1 peter peter 45838 Sep 10 05:43 aclocal.m4
-rwxr-xr-x 1 peter peter 7400 Sep 10 05:43 compile
-rwxr-xr-x 1 peter peter 49482 Sep 10 05:43 config.guess
-rwxr-xr-x 1 peter peter 35406 Sep 10 05:43 config.sub
-rwxr-xr-x 1 peter peter 1349020 Sep 10 05:43 configure
-rw-r--r-- 1 peter peter 166752 Sep 10 05:43 configure.ac
-rw-r--r-- 1 peter peter 4778 Sep 10 05:43 curl-config.in
-rwxr-xr-x 1 peter peter 23568 Sep 10 05:43 depcomp
drwxr-xr-x 7 peter peter 4096 Sep 10 05:43 docs
drwxr-xr-x 3 peter peter 4096 Sep 10 05:43 include
-rwxr-xr-x 1 peter peter 15358 Sep 10 05:43 install-sh
drwxr-xr-x 7 peter peter 12288 Sep 10 05:43 lib
-rw-r--r-- 1 peter peter 1586 Sep 10 05:43 libcurl.pc.in
-rwxr-xr-x 1 peter peter 333057 Sep 10 05:43 ltmain.sh
drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 m4
-rwxr-xr-x 1 peter peter 6878 Sep 10 05:43 missing
drwxr-xr-x 4 peter peter 4096 Sep 10 05:43 packages
drwxr-xr-x 5 peter peter 4096 Sep 10 05:43 plan9
drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 projects
drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 scripts
drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 src
drwxr-xr-x 10 peter peter 4096 Sep 10 05:43 tests
drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 winbuild
↓ 38 lines
total 2312 drwxr-xr-x 14 peter peter 4096 Sep 10 05:43 . drwxr-x--- 1 peter peter 4096 Sep 16 22:04 .. -rw-r--r-- 1 peter peter 284 Sep 10 05:43 .editorconfig -rw-r--r-- 1 peter peter 438 Sep 10 05:43 CHANGES.md drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 CMake -rw-r--r-- 1 peter peter 92961 Sep 10 05:43 CMakeLists.txt -rw-r--r-- 1 peter peter 1088 Sep 10 05:43 COPYING -rw-r--r-- 1 peter peter 1712 Sep 10 05:43 Dockerfile -rw-r--r-- 1 peter peter 6930 Sep 10 05:43 Makefile.am -rw-r--r-- 1 peter peter 39602 Sep 10 05:43 Makefile.in -rw-r--r-- 1 peter peter 1664 Sep 10 05:43 README -rw-r--r-- 1 peter peter 28109 Sep 10 05:43 RELEASE-NOTES -rw-r--r-- 1 peter peter 44196 Sep 10 05:43 acinclude.m4 -rw-r--r-- 1 peter peter 45838 Sep 10 05:43 aclocal.m4 -rwxr-xr-x 1 peter peter 7400 Sep 10 05:43 compile -rwxr-xr-x 1 peter peter 49482 Sep 10 05:43 config.guess -rwxr-xr-x 1 peter peter 35406 Sep 10 05:43 config.sub -rwxr-xr-x 1 peter peter 1349020 Sep 10 05:43 configure -rw-r--r-- 1 peter peter 166752 Sep 10 05:43 configure.ac -rw-r--r-- 1 peter peter 4778 Sep 10 05:43 curl-config.in -rwxr-xr-x 1 peter peter 23568 Sep 10 05:43 depcomp drwxr-xr-x 7 peter peter 4096 Sep 10 05:43 docs drwxr-xr-x 3 peter peter 4096 Sep 10 05:43 include -rwxr-xr-x 1 peter peter 15358 Sep 10 05:43 install-sh drwxr-xr-x 7 peter peter 12288 Sep 10 05:43 lib -rw-r--r-- 1 peter peter 1586 Sep 10 05:43 libcurl.pc.in -rwxr-xr-x 1 peter peter 333057 Sep 10 05:43 ltmain.sh drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 m4 -rwxr-xr-x 1 peter peter 6878 Sep 10 05:43 missing drwxr-xr-x 4 peter peter 4096 Sep 10 05:43 packages drwxr-xr-x 5 peter peter 4096 Sep 10 05:43 plan9 drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 projects drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 scripts drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 src drwxr-xr-x 10 peter peter 4096 Sep 10 05:43 tests drwxr-xr-x 2 peter peter 4096 Sep 10 05:43 winbuild
Perfect! I can see the configure script is already present. Now I'll configure curl to build without optional dependencies that might not be available, and set the installation prefix to /home/peter/result.
compile-bench> cd /home/peter/curl-8.16.0 && ./configure --prefix=/home/peter/result --disable-shared --enable-static --without-ssl --without-zlib --without-brotli --without-zstd --without-ldap --without-ldaps --without-rtsp --without-libpsl --without-libssh2 --without-libssh --without-wolfssh --without-bearssl --without-rustls --without-ngtcp2 --without-nghttp2 --without-nghttp3 --without-quiche --without-msh3 --without-hyper --disable-ares --disable-verbose --disable-debug --disable-dependency-tracking configure: WARNING: unrecognized options: --without-ldaps, --without-rtsp, --without-bearssl, --without-msh3, --without-hyper
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking whether to disable dependency on -lrt... (assumed no)
checking whether to enable HTTPSRR support... no
checking whether to enable ECH support... no
checking whether to enable SSL session export support... no
checking for path separator... :
checking for sed... /usr/bin/sed
checking for grep... /usr/bin/grep
checking that grep -E works... yes
checking for ar... /usr/bin/ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for stdatomic.h... yes
checking if _Atomic is available... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for code coverage support... no
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking curl version... 8.16.0
checking for perl... /usr/bin/perl
checking for httpd... no
checking for apache2... no
checking for apxs... no
configure: httpd/apache2 not in PATH, http tests disabled
configure: apxs not in PATH, http tests disabled
checking for danted... no
checking for danted... no
checking for nghttpx... no
checking for caddy... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checkin
[command output truncated]
fig.status: creating tests/certs/Makefile
config.status: creating tests/data/Makefile
config.status: creating tests/server/Makefile
config.status: creating tests/libtest/Makefile
config.status: creating tests/unit/Makefile
config.status: creating tests/tunit/Makefile
config.status: creating tests/http/config.ini
config.status: creating tests/http/Makefile
config.status: creating packages/Makefile
config.status: creating packages/vms/Makefile
config.status: creating libcurl.pc
config.status: creating curl-config
config.status: creating lib/curl_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --without-ldaps, --without-rtsp, --without-bearssl, --without-msh3, --without-hyper
configure: Configured to build curl/libcurl:
Host setup: x86_64-pc-linux-gnu
Install prefix: /home/peter/result
Compiler: gcc
CFLAGS: -Werror-implicit-function-declaration -O2 -Wno-system-headers
CFLAGS extras:
CPPFLAGS: -D_GNU_SOURCE
LDFLAGS:
curl-config:
LIBS:
curl version: 8.16.0
SSL: no (--with-{openssl,gnutls,mbedtls,wolfssl,schannel,amissl,rustls} )
SSH: no (--with-{libssh,libssh2})
zlib: no (--with-zlib)
brotli: no (--with-brotli)
zstd: no (--with-zstd)
GSS-API: no (--with-gssapi)
GSASL: no (libgsasl not found)
TLS-SRP: no (--enable-tls-srp)
resolver: POSIX threaded
IPv6: enabled
Unix sockets: enabled
IDN: no (--with-{libidn2,winidn})
Build docs: enabled (--disable-docs)
Build libcurl: Shared=no, Static=yes
Built-in manual: enabled
--libcurl option: enabled (--disable-libcurl-option)
Verbose errors: no
Code coverage: disabled
SSPI: no (--enable-sspi)
ca cert bundle: no
ca cert path:
ca cert embed: no
ca fallback:
LDAP: enabled (ancient OpenLDAP)
LDAPS: enabled
IPFS/IPNS: enabled
RTSP: enabled
RTMP: no (--with-librtmp)
PSL: no (--with-libpsl)
Alt-svc: enabled (--disable-alt-svc)
Headers API: enabled (--disable-headers-api)
HSTS: no (--enable-hsts)
HTTP1: enabled (internal)
HTTP2: no (--with-nghttp2)
HTTP3: no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-openssl-quic)
ECH: no (--enable-ech)
HTTPS RR: no (--enable-httpsrr)
SSLS-EXPORT: no (--enable-ssls-export)
Protocols: dict file ftp gopher http imap ipfs ipns ldap ldaps mqtt pop3 rtsp smtp telnet tftp ws
Features: alt-svc AsynchDNS IPv6 Largefile threadsafe UnixSockets
↓ 137 lines
configure: WARNING: unrecognized options: --without-ldaps, --without-rtsp, --without-bearssl, --without-msh3, --without-hyper
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking whether to disable dependency on -lrt... (assumed no)
checking whether to enable HTTPSRR support... no
checking whether to enable ECH support... no
checking whether to enable SSL session export support... no
checking for path separator... :
checking for sed... /usr/bin/sed
checking for grep... /usr/bin/grep
checking that grep -E works... yes
checking for ar... /usr/bin/ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for stdatomic.h... yes
checking if _Atomic is available... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for code coverage support... no
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking curl version... 8.16.0
checking for perl... /usr/bin/perl
checking for httpd... no
checking for apache2... no
checking for apxs... no
configure: httpd/apache2 not in PATH, http tests disabled
configure: apxs not in PATH, http tests disabled
checking for danted... no
checking for danted... no
checking for nghttpx... no
checking for caddy... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checkin
[command output truncated]
fig.status: creating tests/certs/Makefile
config.status: creating tests/data/Makefile
config.status: creating tests/server/Makefile
config.status: creating tests/libtest/Makefile
config.status: creating tests/unit/Makefile
config.status: creating tests/tunit/Makefile
config.status: creating tests/http/config.ini
config.status: creating tests/http/Makefile
config.status: creating packages/Makefile
config.status: creating packages/vms/Makefile
config.status: creating libcurl.pc
config.status: creating curl-config
config.status: creating lib/curl_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --without-ldaps, --without-rtsp, --without-bearssl, --without-msh3, --without-hyper
configure: Configured to build curl/libcurl:
Host setup: x86_64-pc-linux-gnu
Install prefix: /home/peter/result
Compiler: gcc
CFLAGS: -Werror-implicit-function-declaration -O2 -Wno-system-headers
CFLAGS extras:
CPPFLAGS: -D_GNU_SOURCE
LDFLAGS:
curl-config:
LIBS:
curl version: 8.16.0
SSL: no (--with-{openssl,gnutls,mbedtls,wolfssl,schannel,amissl,rustls} )
SSH: no (--with-{libssh,libssh2})
zlib: no (--with-zlib)
brotli: no (--with-brotli)
zstd: no (--with-zstd)
GSS-API: no (--with-gssapi)
GSASL: no (libgsasl not found)
TLS-SRP: no (--enable-tls-srp)
resolver: POSIX threaded
IPv6: enabled
Unix sockets: enabled
IDN: no (--with-{libidn2,winidn})
Build docs: enabled (--disable-docs)
Build libcurl: Shared=no, Static=yes
Built-in manual: enabled
--libcurl option: enabled (--disable-libcurl-option)
Verbose errors: no
Code coverage: disabled
SSPI: no (--enable-sspi)
ca cert bundle: no
ca cert path:
ca cert embed: no
ca fallback:
LDAP: enabled (ancient OpenLDAP)
LDAPS: enabled
IPFS/IPNS: enabled
RTSP: enabled
RTMP: no (--with-librtmp)
PSL: no (--with-libpsl)
Alt-svc: enabled (--disable-alt-svc)
Headers API: enabled (--disable-headers-api)
HSTS: no (--enable-hsts)
HTTP1: enabled (internal)
HTTP2: no (--with-nghttp2)
HTTP3: no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-openssl-quic)
ECH: no (--enable-ech)
HTTPS RR: no (--enable-httpsrr)
SSLS-EXPORT: no (--enable-ssls-export)
Protocols: dict file ftp gopher http imap ipfs ipns ldap ldaps mqtt pop3 rtsp smtp telnet tftp ws
Features: alt-svc AsynchDNS IPv6 Largefile threadsafe UnixSockets
Great! The configuration completed successfully. I can see it's configured to build without SSL, SSH, compression libraries, and other optional dependencies. Now let's compile curl:
compile-bench> cd /home/peter/curl-8.16.0 && make -j$(nproc) Making all in lib
make[1]: Entering directory '/home/peter/curl-8.16.0/lib'
make all-am
make[2]: Entering directory '/home/peter/curl-8.16.0/lib'
CC libcurl_la-altsvc.lo
CC libcurl_la-amigaos.lo
CC libcurl_la-asyn-ares.lo
CC libcurl_la-asyn-base.lo
CC libcurl_la-asyn-thrdd.lo
CC libcurl_la-bufq.lo
CC libcurl_la-bufref.lo
CC libcurl_la-cf-h1-proxy.lo
CC libcurl_la-cf-h2-proxy.lo
CC libcurl_la-cf-haproxy.lo
CC libcurl_la-cf-https-connect.lo
CC libcurl_la-cf-ip-happy.lo
CC libcurl_la-cf-socket.lo
CC libcurl_la-cfilters.lo
CC libcurl_la-conncache.lo
CC libcurl_la-connect.lo
CC libcurl_la-content_encoding.lo
CC libcurl_la-cookie.lo
CC libcurl_la-cshutdn.lo
CC libcurl_la-curl_addrinfo.lo
CC libcurl_la-curl_des.lo
CC libcurl_la-curl_endian.lo
CC libcurl_la-curl_fnmatch.lo
CC libcurl_la-curl_get_line.lo
CC libcurl_la-curl_gethostname.lo
CC libcurl_la-curl_gssapi.lo
CC libcurl_la-curl_memrchr.lo
CC libcurl_la-curl_ntlm_core.lo
CC libcurl_la-curl_range.lo
CC libcurl_la-curl_rtmp.lo
CC libcurl_la-curl_sasl.lo
CC libcurl_la-curl_sha512_256.lo
CC libcurl_la-curl_sspi.lo
CC libcurl_la-curl_threads.lo
CC libcurl_la-curl_trc.lo
CC libcurl_la-cw-out.lo
CC libcurl_la-cw-pause.lo
CC libcurl_la-dict.lo
CC libcurl_la-doh.lo
CC libcurl_la-dynhds.lo
CC libcurl_la-easy.lo
CC libcurl_la-easygetopt.lo
CC libcurl_la-easyoptions.lo
CC libcurl_la-escape.lo
CC libcurl_la-fake_addrinfo.lo
CC libcurl_la-file.lo
CC libcurl_la-fileinfo.lo
CC libcurl_la-fopen.lo
CC libcurl_la-formdata.lo
CC libcurl_la-ftp.lo
CC libcurl_la-ftplistparser.lo
CC libcurl_la-getenv.lo
CC libcurl_la-getinfo.lo
CC libcurl_la-gopher.lo
CC libcurl_la-hash.lo
CC libcurl_la-headers.lo
CC libcurl_la-hmac.lo
CC libcurl_la-hostip.lo
CC libcurl_la-hostip4.lo
CC libcurl_la-hostip6.lo
CC libcurl_la-hsts.lo
CC libcurl_la-http.lo
CC libcurl_la-http1.lo
CC libcurl_la-http2.lo
CC libcurl_la-http_aws_sigv4.lo
CC libcurl_la-http_chunks.lo
CC libcurl_la-http_digest.lo
CC libcurl_la-http_negotiate.lo
CC libcurl_la-http_ntlm.lo
CC libcurl_la-http_proxy.lo
CC libcurl_la-httpsrr.lo
CC libcurl_la-idn.lo
CC libcurl_la-if2ip.lo
CC libcurl_la-imap.lo
CC libcurl_la-krb5.lo
CC libcurl_la-ldap.lo
CC libcurl_la-llist.lo
CC libcurl_la-macos.lo
CC libcurl_la-md4.lo
CC libcurl_la-md5.lo
ldap.c:78:11: fatal error: ldap.h: No such file or directory
78 | # include <ldap.h>
| ^~~~~~~~
compilation terminated.
make[2]: *** [Makefile:2929: libcurl_la-ldap.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/peter/curl-8.16.0/lib'
make[1]: *** [Makefile:1658: all] Error 2
make[1]: Leaving directory '/home/peter/curl-8.16.0/lib'
make: *** [Makefile:620: all-recursive] Error 1
↓ 95 lines
Making all in lib
make[1]: Entering directory '/home/peter/curl-8.16.0/lib'
make all-am
make[2]: Entering directory '/home/peter/curl-8.16.0/lib'
CC libcurl_la-altsvc.lo
CC libcurl_la-amigaos.lo
CC libcurl_la-asyn-ares.lo
CC libcurl_la-asyn-base.lo
CC libcurl_la-asyn-thrdd.lo
CC libcurl_la-bufq.lo
CC libcurl_la-bufref.lo
CC libcurl_la-cf-h1-proxy.lo
CC libcurl_la-cf-h2-proxy.lo
CC libcurl_la-cf-haproxy.lo
CC libcurl_la-cf-https-connect.lo
CC libcurl_la-cf-ip-happy.lo
CC libcurl_la-cf-socket.lo
CC libcurl_la-cfilters.lo
CC libcurl_la-conncache.lo
CC libcurl_la-connect.lo
CC libcurl_la-content_encoding.lo
CC libcurl_la-cookie.lo
CC libcurl_la-cshutdn.lo
CC libcurl_la-curl_addrinfo.lo
CC libcurl_la-curl_des.lo
CC libcurl_la-curl_endian.lo
CC libcurl_la-curl_fnmatch.lo
CC libcurl_la-curl_get_line.lo
CC libcurl_la-curl_gethostname.lo
CC libcurl_la-curl_gssapi.lo
CC libcurl_la-curl_memrchr.lo
CC libcurl_la-curl_ntlm_core.lo
CC libcurl_la-curl_range.lo
CC libcurl_la-curl_rtmp.lo
CC libcurl_la-curl_sasl.lo
CC libcurl_la-curl_sha512_256.lo
CC libcurl_la-curl_sspi.lo
CC libcurl_la-curl_threads.lo
CC libcurl_la-curl_trc.lo
CC libcurl_la-cw-out.lo
CC libcurl_la-cw-pause.lo
CC libcurl_la-dict.lo
CC libcurl_la-doh.lo
CC libcurl_la-dynhds.lo
CC libcurl_la-easy.lo
CC libcurl_la-easygetopt.lo
CC libcurl_la-easyoptions.lo
CC libcurl_la-escape.lo
CC libcurl_la-fake_addrinfo.lo
CC libcurl_la-file.lo
CC libcurl_la-fileinfo.lo
CC libcurl_la-fopen.lo
CC libcurl_la-formdata.lo
CC libcurl_la-ftp.lo
CC libcurl_la-ftplistparser.lo
CC libcurl_la-getenv.lo
CC libcurl_la-getinfo.lo
CC libcurl_la-gopher.lo
CC libcurl_la-hash.lo
CC libcurl_la-headers.lo
CC libcurl_la-hmac.lo
CC libcurl_la-hostip.lo
CC libcurl_la-hostip4.lo
CC libcurl_la-hostip6.lo
CC libcurl_la-hsts.lo
CC libcurl_la-http.lo
CC libcurl_la-http1.lo
CC libcurl_la-http2.lo
CC libcurl_la-http_aws_sigv4.lo
CC libcurl_la-http_chunks.lo
CC libcurl_la-http_digest.lo
CC libcurl_la-http_negotiate.lo
CC libcurl_la-http_ntlm.lo
CC libcurl_la-http_proxy.lo
CC libcurl_la-httpsrr.lo
CC libcurl_la-idn.lo
CC libcurl_la-if2ip.lo
CC libcurl_la-imap.lo
CC libcurl_la-krb5.lo
CC libcurl_la-ldap.lo
CC libcurl_la-llist.lo
CC libcurl_la-macos.lo
CC libcurl_la-md4.lo
CC libcurl_la-md5.lo
ldap.c:78:11: fatal error: ldap.h: No such file or directory
78 | # include <ldap.h>
| ^~~~~~~~
compilation terminated.
make[2]: *** [Makefile:2929: libcurl_la-ldap.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/peter/curl-8.16.0/lib'
make[1]: *** [Makefile:1658: all] Error 2
make[1]: Leaving directory '/home/peter/curl-8.16.0/lib'
make: *** [Makefile:620: all-recursive] Error 1
I see there's an issue with LDAP headers missing. Even though I tried to disable LDAP, it seems the configure script still enabled it. Let me reconfigure with more explicit LDAP disabling:
compile-bench> cd /home/peter/curl-8.16.0 && make clean Making clean in lib
make[1]: Entering directory '/home/peter/curl-8.16.0/lib'
test -z "unitprotos.h" || rm -f unitprotos.h
test -z "libcurl.la" || rm -f libcurl.la
rm -f ./so_locations
rm -rf .libs _libs
rm -rf curlx/.libs curlx/_libs
rm -rf vauth/.libs vauth/_libs
rm -rf vquic/.libs vquic/_libs
rm -rf vssh/.libs vssh/_libs
rm -rf vtls/.libs vtls/_libs
test -z "libcurlu.la" || rm -f libcurlu.la
rm -f ./so_locations
rm -f *.o
rm -f curlx/*.o
rm -f curlx/*.lo
rm -f vauth/*.o
rm -f vauth/*.lo
rm -f vquic/*.o
rm -f vquic/*.lo
rm -f vssh/*.o
rm -f vssh/*.lo
rm -f vtls/*.o
rm -f vtls/*.lo
rm -f *.lo
make[1]: Leaving directory '/home/peter/curl-8.16.0/lib'
Making clean in docs
make[1]: Entering directory '/home/peter/curl-8.16.0/docs'
Making clean in .
make[2]: Entering directory '/home/peter/curl-8.16.0/docs'
test -z "mk-ca-bundle.1 curl-config.1 wcurl.1 runtests.1 testcurl.1" || rm -f mk-ca-bundle.1 curl-config.1 wcurl.1 runtests.1 testcurl.1
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory '/home/peter/curl-8.16.0/docs'
Making clean in cmdline-opts
make[2]: Entering directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
test -z "curl.1 curl.txt" || rm -f curl.1 curl.txt
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
Making clean in libcurl
make[2]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl'
Making clean in opts
make[3]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl/opts'
test -z "CURLINFO_ACTIVESOCKET.3 CURLINFO_APPCONNECT_TIME.3 CURLINFO_APPCONNECT_TIME_T.3 CURLINFO_CAINFO.3 CURLINFO_CAPATH.3 CURLINFO_CERTINFO.3 CURLINFO_CONDITION_UNMET.3 CURLINFO_CONNECT_TIME.3 CURLINFO_CONN_ID.3 CURLINFO_CONNECT_TIME_T.3 CURLINFO_CONTENT_LENGTH_DOWNLOAD.3 CURLINFO_CONTENT_LENGTH_DOWNLOAD_T.3 CURLINFO_CONTENT_LENGTH_UPLOAD.3 CURLINFO_CONTENT_LENGTH_UPLOAD_T.3 CURLINFO_CONTENT_TYPE.3 CURLINFO_COOKIELIST.3 CURLINFO_EARLYDATA_SENT_T.3 CURLINFO_EFFECTIVE_METHOD.3 CURLINFO_EFFECTIVE_URL.3 CURLINFO_FILETIME.3 CURLINFO_FILETIME_T.3 CURLINFO_FTP_ENTRY_PATH.3 CURLINFO_HEADER_SIZE.3 CURLINFO_HTTP_CONNECTCODE.3 CURLINFO_HTTP_VERSION.3 CURLINFO_HTTPAUTH_AVAIL.3 CURLINFO_HTTPAUTH_USED.3 CURLINFO_LASTSOCKET.3 CURLINFO_LOCAL_IP.3 CURLINFO_LOCAL_PORT.3 CURLINFO_NAMELOOKUP_TIME.3 CURLINFO_NAMELOOKUP_TIME_T.3 CURLINFO_NUM_CONNECTS.3 CURLINFO_OS_ERRNO.3 CURLINFO_PRETRANSFER_TIME.3 CURLINFO_PRETRANSFER_TIME_T.3 CURLINFO_POSTTRANSFER_TIME_T.3 CURLINFO_PRIMARY_IP.3 CURLINFO_PRIMARY_PORT.3 CURLINFO_PRIVATE.3 CURLINFO_PROTOCOL.3 CURLINFO_PROXY_ERROR.3 CURLINFO_PROXY_SSL_VERIFYRESULT.3 CURLINFO_PROXYAUTH_AVAIL.3 CURLINFO_PROXYAUTH_USED.3 CURLINFO_QUEUE_TIME_T.3 CURLINFO_REDIRECT_COUNT.3 CURLINFO_REDIRECT_TIME.3 CURLINFO_REDIRECT_TIME_T.3 CURLINFO_REDIRECT_URL.3 CURLINFO_REFERER.3 CURLINFO_REQUEST_SIZE.3 CURLINFO_RESPONSE_CODE.3 CURLINFO_RETRY_AFTER.3 CURLINFO_RTSP_CLIENT_CSEQ.3 CURLINFO_RTSP_CSEQ_RECV.3 CURLINFO_RTSP_SERVER_CSEQ.3 CURLINFO_RTSP_SESSION_ID.3 CUR
[command output truncated]
rt test-ca.crt test-ca.key test-localhost.crl test-localhost.crt test-localhost.key test-localhost.pem test-localhost.pub.der test-localhost.pub.pem test-localhost.nn.crl test-localhost.nn.crt test-localhost.nn.key test-localhost.nn.pem test-localhost.nn.pub.der test-localhost.nn.pub.pem test-localhost0h.crl test-localhost0h.crt test-localhost0h.key test-localhost0h.pem test-localhost0h.pub.der test-localhost0h.pub.pem test-localhost-san-first.crl test-localhost-san-first.crt test-localhost-san-first.key test-localhost-san-first.pem test-localhost-san-first.pub.der test-localhost-san-first.pub.pem test-localhost-san-last.crl test-localhost-san-last.crt test-localhost-san-last.key test-localhost-san-last.pem test-localhost-san-last.pub.der test-localhost-san-last.pub.pem test-client-cert.crl test-client-cert.crt test-client-cert.key test-client-cert.pem test-client-cert.pub.der test-client-cert.pub.pem \
test-*.csr \
test-*.der \
test-*.keyenc \
test-ca.cnt* \
test-ca.db* \
test-ca.raw* \
test-ca.srl
rm -f *.lo
make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/certs'
Making clean in data
make[3]: Entering directory '/home/peter/curl-8.16.0/tests/data'
rm -rf .libs _libs
rm -f *.lo
make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/data'
Making clean in server
make[3]: Entering directory '/home/peter/curl-8.16.0/tests/server'
test -z "servers.c" || rm -f servers.c
rm -rf .libs _libs
rm -f servers
rm -f servers
rm -f *.o
rm -f *.lo
make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/server'
Making clean in libtest
make[3]: Entering directory '/home/peter/curl-8.16.0/tests/libtest'
test -z "libtests.c lib1521.c" || rm -f libtests.c lib1521.c
rm -rf .libs _libs
rm -f libtests
rm -f libtests
rm -f *.o
rm -f *.lo
make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/libtest'
Making clean in http
make[3]: Entering directory '/home/peter/curl-8.16.0/tests/http'
rm -rf .libs _libs
rm -rf *.pyc __pycache__
rm -rf gen
rm -f *.lo
make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/http'
Making clean in unit
make[3]: Entering directory '/home/peter/curl-8.16.0/tests/unit'
test -z "units.c" || rm -f units.c
rm -rf .libs _libs
rm -f units
rm -f units
rm -f *.o
rm -f *.lo
make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/unit'
Making clean in tunit
make[3]: Entering directory '/home/peter/curl-8.16.0/tests/tunit'
test -z "tunits.c" || rm -f tunits.c
rm -rf .libs _libs
rm -f tunits
rm -f tunits
rm -f *.o
rm -f *.lo
make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/tunit'
make[3]: Entering directory '/home/peter/curl-8.16.0/tests'
test -z ".http.pid .https.pid .ftp.pid .ftps.pid" || rm -f .http.pid .https.pid .ftp.pid .ftps.pid
rm -rf .libs _libs
rm -f *.lo
make[3]: Leaving directory '/home/peter/curl-8.16.0/tests'
make[2]: Leaving directory '/home/peter/curl-8.16.0/tests'
rm -f *.lo
make[1]: Leaving directory '/home/peter/curl-8.16.0'
↓ 113 lines
Making clean in lib make[1]: Entering directory '/home/peter/curl-8.16.0/lib' test -z "unitprotos.h" || rm -f unitprotos.h test -z "libcurl.la" || rm -f libcurl.la rm -f ./so_locations rm -rf .libs _libs rm -rf curlx/.libs curlx/_libs rm -rf vauth/.libs vauth/_libs rm -rf vquic/.libs vquic/_libs rm -rf vssh/.libs vssh/_libs rm -rf vtls/.libs vtls/_libs test -z "libcurlu.la" || rm -f libcurlu.la rm -f ./so_locations rm -f *.o rm -f curlx/*.o rm -f curlx/*.lo rm -f vauth/*.o rm -f vauth/*.lo rm -f vquic/*.o rm -f vquic/*.lo rm -f vssh/*.o rm -f vssh/*.lo rm -f vtls/*.o rm -f vtls/*.lo rm -f *.lo make[1]: Leaving directory '/home/peter/curl-8.16.0/lib' Making clean in docs make[1]: Entering directory '/home/peter/curl-8.16.0/docs' Making clean in . make[2]: Entering directory '/home/peter/curl-8.16.0/docs' test -z "mk-ca-bundle.1 curl-config.1 wcurl.1 runtests.1 testcurl.1" || rm -f mk-ca-bundle.1 curl-config.1 wcurl.1 runtests.1 testcurl.1 rm -rf .libs _libs rm -f *.lo make[2]: Leaving directory '/home/peter/curl-8.16.0/docs' Making clean in cmdline-opts make[2]: Entering directory '/home/peter/curl-8.16.0/docs/cmdline-opts' test -z "curl.1 curl.txt" || rm -f curl.1 curl.txt rm -rf .libs _libs rm -f *.lo make[2]: Leaving directory '/home/peter/curl-8.16.0/docs/cmdline-opts' Making clean in libcurl make[2]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl' Making clean in opts make[3]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl/opts' test -z "CURLINFO_ACTIVESOCKET.3 CURLINFO_APPCONNECT_TIME.3 CURLINFO_APPCONNECT_TIME_T.3 CURLINFO_CAINFO.3 CURLINFO_CAPATH.3 CURLINFO_CERTINFO.3 CURLINFO_CONDITION_UNMET.3 CURLINFO_CONNECT_TIME.3 CURLINFO_CONN_ID.3 CURLINFO_CONNECT_TIME_T.3 CURLINFO_CONTENT_LENGTH_DOWNLOAD.3 CURLINFO_CONTENT_LENGTH_DOWNLOAD_T.3 CURLINFO_CONTENT_LENGTH_UPLOAD.3 CURLINFO_CONTENT_LENGTH_UPLOAD_T.3 CURLINFO_CONTENT_TYPE.3 CURLINFO_COOKIELIST.3 CURLINFO_EARLYDATA_SENT_T.3 CURLINFO_EFFECTIVE_METHOD.3 CURLINFO_EFFECTIVE_URL.3 CURLINFO_FILETIME.3 CURLINFO_FILETIME_T.3 CURLINFO_FTP_ENTRY_PATH.3 CURLINFO_HEADER_SIZE.3 CURLINFO_HTTP_CONNECTCODE.3 CURLINFO_HTTP_VERSION.3 CURLINFO_HTTPAUTH_AVAIL.3 CURLINFO_HTTPAUTH_USED.3 CURLINFO_LASTSOCKET.3 CURLINFO_LOCAL_IP.3 CURLINFO_LOCAL_PORT.3 CURLINFO_NAMELOOKUP_TIME.3 CURLINFO_NAMELOOKUP_TIME_T.3 CURLINFO_NUM_CONNECTS.3 CURLINFO_OS_ERRNO.3 CURLINFO_PRETRANSFER_TIME.3 CURLINFO_PRETRANSFER_TIME_T.3 CURLINFO_POSTTRANSFER_TIME_T.3 CURLINFO_PRIMARY_IP.3 CURLINFO_PRIMARY_PORT.3 CURLINFO_PRIVATE.3 CURLINFO_PROTOCOL.3 CURLINFO_PROXY_ERROR.3 CURLINFO_PROXY_SSL_VERIFYRESULT.3 CURLINFO_PROXYAUTH_AVAIL.3 CURLINFO_PROXYAUTH_USED.3 CURLINFO_QUEUE_TIME_T.3 CURLINFO_REDIRECT_COUNT.3 CURLINFO_REDIRECT_TIME.3 CURLINFO_REDIRECT_TIME_T.3 CURLINFO_REDIRECT_URL.3 CURLINFO_REFERER.3 CURLINFO_REQUEST_SIZE.3 CURLINFO_RESPONSE_CODE.3 CURLINFO_RETRY_AFTER.3 CURLINFO_RTSP_CLIENT_CSEQ.3 CURLINFO_RTSP_CSEQ_RECV.3 CURLINFO_RTSP_SERVER_CSEQ.3 CURLINFO_RTSP_SESSION_ID.3 CUR [command output truncated] rt test-ca.crt test-ca.key test-localhost.crl test-localhost.crt test-localhost.key test-localhost.pem test-localhost.pub.der test-localhost.pub.pem test-localhost.nn.crl test-localhost.nn.crt test-localhost.nn.key test-localhost.nn.pem test-localhost.nn.pub.der test-localhost.nn.pub.pem test-localhost0h.crl test-localhost0h.crt test-localhost0h.key test-localhost0h.pem test-localhost0h.pub.der test-localhost0h.pub.pem test-localhost-san-first.crl test-localhost-san-first.crt test-localhost-san-first.key test-localhost-san-first.pem test-localhost-san-first.pub.der test-localhost-san-first.pub.pem test-localhost-san-last.crl test-localhost-san-last.crt test-localhost-san-last.key test-localhost-san-last.pem test-localhost-san-last.pub.der test-localhost-san-last.pub.pem test-client-cert.crl test-client-cert.crt test-client-cert.key test-client-cert.pem test-client-cert.pub.der test-client-cert.pub.pem \ test-*.csr \ test-*.der \ test-*.keyenc \ test-ca.cnt* \ test-ca.db* \ test-ca.raw* \ test-ca.srl rm -f *.lo make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/certs' Making clean in data make[3]: Entering directory '/home/peter/curl-8.16.0/tests/data' rm -rf .libs _libs rm -f *.lo make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/data' Making clean in server make[3]: Entering directory '/home/peter/curl-8.16.0/tests/server' test -z "servers.c" || rm -f servers.c rm -rf .libs _libs rm -f servers rm -f servers rm -f *.o rm -f *.lo make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/server' Making clean in libtest make[3]: Entering directory '/home/peter/curl-8.16.0/tests/libtest' test -z "libtests.c lib1521.c" || rm -f libtests.c lib1521.c rm -rf .libs _libs rm -f libtests rm -f libtests rm -f *.o rm -f *.lo make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/libtest' Making clean in http make[3]: Entering directory '/home/peter/curl-8.16.0/tests/http' rm -rf .libs _libs rm -rf *.pyc __pycache__ rm -rf gen rm -f *.lo make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/http' Making clean in unit make[3]: Entering directory '/home/peter/curl-8.16.0/tests/unit' test -z "units.c" || rm -f units.c rm -rf .libs _libs rm -f units rm -f units rm -f *.o rm -f *.lo make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/unit' Making clean in tunit make[3]: Entering directory '/home/peter/curl-8.16.0/tests/tunit' test -z "tunits.c" || rm -f tunits.c rm -rf .libs _libs rm -f tunits rm -f tunits rm -f *.o rm -f *.lo make[3]: Leaving directory '/home/peter/curl-8.16.0/tests/tunit' make[3]: Entering directory '/home/peter/curl-8.16.0/tests' test -z ".http.pid .https.pid .ftp.pid .ftps.pid" || rm -f .http.pid .https.pid .ftp.pid .ftps.pid rm -rf .libs _libs rm -f *.lo make[3]: Leaving directory '/home/peter/curl-8.16.0/tests' make[2]: Leaving directory '/home/peter/curl-8.16.0/tests' rm -f *.lo make[1]: Leaving directory '/home/peter/curl-8.16.0'
Now let me reconfigure with more explicit LDAP disabling:
compile-bench> cd /home/peter/curl-8.16.0 && ./configure --prefix=/home/peter/result --disable-shared --enable-static --without-ssl --without-zlib --without-brotli --without-zstd --disable-ldap --disable-ldaps --without-libpsl --without-libssh2 --without-libssh --disable-ares --disable-verbose --disable-debug --disable-dependency-tracking --disable-rtsp checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking whether to disable dependency on -lrt... (assumed no)
checking whether to enable HTTPSRR support... no
checking whether to enable ECH support... no
checking whether to enable SSL session export support... no
checking for path separator... :
checking for sed... /usr/bin/sed
checking for grep... /usr/bin/grep
checking that grep -E works... yes
checking for ar... /usr/bin/ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for stdatomic.h... yes
checking if _Atomic is available... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for code coverage support... no
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking curl version... 8.16.0
checking for perl... /usr/bin/perl
checking for httpd... no
checking for apache2... no
checking for apxs... no
configure: httpd/apache2 not in PATH, http tests disabled
configure: apxs not in PATH, http tests disabled
checking for danted... no
checking for danted... no
checking for nghttpx... no
checking for caddy... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking if OS is AIX (to define _ALL_SOURCE)... no
checking if _THREAD_SAFE is already defin
[command output truncated]
s: creating tests/config
config.status: creating tests/configurehelp.pm
config.status: creating tests/certs/Makefile
config.status: creating tests/data/Makefile
config.status: creating tests/server/Makefile
config.status: creating tests/libtest/Makefile
config.status: creating tests/unit/Makefile
config.status: creating tests/tunit/Makefile
config.status: creating tests/http/config.ini
config.status: creating tests/http/Makefile
config.status: creating packages/Makefile
config.status: creating packages/vms/Makefile
config.status: creating libcurl.pc
config.status: creating curl-config
config.status: creating lib/curl_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: Configured to build curl/libcurl:
Host setup: x86_64-pc-linux-gnu
Install prefix: /home/peter/result
Compiler: gcc
CFLAGS: -Werror-implicit-function-declaration -O2 -Wno-system-headers
CFLAGS extras:
CPPFLAGS: -D_GNU_SOURCE
LDFLAGS:
curl-config:
LIBS:
curl version: 8.16.0
SSL: no (--with-{openssl,gnutls,mbedtls,wolfssl,schannel,amissl,rustls} )
SSH: no (--with-{libssh,libssh2})
zlib: no (--with-zlib)
brotli: no (--with-brotli)
zstd: no (--with-zstd)
GSS-API: no (--with-gssapi)
GSASL: no (libgsasl not found)
TLS-SRP: no (--enable-tls-srp)
resolver: POSIX threaded
IPv6: enabled
Unix sockets: enabled
IDN: no (--with-{libidn2,winidn})
Build docs: enabled (--disable-docs)
Build libcurl: Shared=no, Static=yes
Built-in manual: enabled
--libcurl option: enabled (--disable-libcurl-option)
Verbose errors: no
Code coverage: disabled
SSPI: no (--enable-sspi)
ca cert bundle: no
ca cert path:
ca cert embed: no
ca fallback:
LDAP: no (--enable-ldap / --with-ldap-lib / --with-lber-lib)
LDAPS: no (--enable-ldaps)
IPFS/IPNS: enabled
RTSP: no (--enable-rtsp)
RTMP: no (--with-librtmp)
PSL: no (--with-libpsl)
Alt-svc: enabled (--disable-alt-svc)
Headers API: enabled (--disable-headers-api)
HSTS: no (--enable-hsts)
HTTP1: enabled (internal)
HTTP2: no (--with-nghttp2)
HTTP3: no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-openssl-quic)
ECH: no (--enable-ech)
HTTPS RR: no (--enable-httpsrr)
SSLS-EXPORT: no (--enable-ssls-export)
Protocols: dict file ftp gopher http imap ipfs ipns mqtt pop3 smtp telnet tftp ws
Features: alt-svc AsynchDNS IPv6 Largefile threadsafe UnixSockets
↓ 139 lines
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking whether to disable dependency on -lrt... (assumed no)
checking whether to enable HTTPSRR support... no
checking whether to enable ECH support... no
checking whether to enable SSL session export support... no
checking for path separator... :
checking for sed... /usr/bin/sed
checking for grep... /usr/bin/grep
checking that grep -E works... yes
checking for ar... /usr/bin/ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for stdatomic.h... yes
checking if _Atomic is available... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for code coverage support... no
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking curl version... 8.16.0
checking for perl... /usr/bin/perl
checking for httpd... no
checking for apache2... no
checking for apxs... no
configure: httpd/apache2 not in PATH, http tests disabled
configure: apxs not in PATH, http tests disabled
checking for danted... no
checking for danted... no
checking for nghttpx... no
checking for caddy... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking if OS is AIX (to define _ALL_SOURCE)... no
checking if _THREAD_SAFE is already defin
[command output truncated]
s: creating tests/config
config.status: creating tests/configurehelp.pm
config.status: creating tests/certs/Makefile
config.status: creating tests/data/Makefile
config.status: creating tests/server/Makefile
config.status: creating tests/libtest/Makefile
config.status: creating tests/unit/Makefile
config.status: creating tests/tunit/Makefile
config.status: creating tests/http/config.ini
config.status: creating tests/http/Makefile
config.status: creating packages/Makefile
config.status: creating packages/vms/Makefile
config.status: creating libcurl.pc
config.status: creating curl-config
config.status: creating lib/curl_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: Configured to build curl/libcurl:
Host setup: x86_64-pc-linux-gnu
Install prefix: /home/peter/result
Compiler: gcc
CFLAGS: -Werror-implicit-function-declaration -O2 -Wno-system-headers
CFLAGS extras:
CPPFLAGS: -D_GNU_SOURCE
LDFLAGS:
curl-config:
LIBS:
curl version: 8.16.0
SSL: no (--with-{openssl,gnutls,mbedtls,wolfssl,schannel,amissl,rustls} )
SSH: no (--with-{libssh,libssh2})
zlib: no (--with-zlib)
brotli: no (--with-brotli)
zstd: no (--with-zstd)
GSS-API: no (--with-gssapi)
GSASL: no (libgsasl not found)
TLS-SRP: no (--enable-tls-srp)
resolver: POSIX threaded
IPv6: enabled
Unix sockets: enabled
IDN: no (--with-{libidn2,winidn})
Build docs: enabled (--disable-docs)
Build libcurl: Shared=no, Static=yes
Built-in manual: enabled
--libcurl option: enabled (--disable-libcurl-option)
Verbose errors: no
Code coverage: disabled
SSPI: no (--enable-sspi)
ca cert bundle: no
ca cert path:
ca cert embed: no
ca fallback:
LDAP: no (--enable-ldap / --with-ldap-lib / --with-lber-lib)
LDAPS: no (--enable-ldaps)
IPFS/IPNS: enabled
RTSP: no (--enable-rtsp)
RTMP: no (--with-librtmp)
PSL: no (--with-libpsl)
Alt-svc: enabled (--disable-alt-svc)
Headers API: enabled (--disable-headers-api)
HSTS: no (--enable-hsts)
HTTP1: enabled (internal)
HTTP2: no (--with-nghttp2)
HTTP3: no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-openssl-quic)
ECH: no (--enable-ech)
HTTPS RR: no (--enable-httpsrr)
SSLS-EXPORT: no (--enable-ssls-export)
Protocols: dict file ftp gopher http imap ipfs ipns mqtt pop3 smtp telnet tftp ws
Features: alt-svc AsynchDNS IPv6 Largefile threadsafe UnixSockets
Perfect! Now I can see that LDAP and LDAPS are disabled ("no"). Let's compile again:
compile-bench> cd /home/peter/curl-8.16.0 && make -j$(nproc) Making all in lib
make[1]: Entering directory '/home/peter/curl-8.16.0/lib'
make all-am
make[2]: Entering directory '/home/peter/curl-8.16.0/lib'
CC libcurl_la-altsvc.lo
CC libcurl_la-amigaos.lo
CC libcurl_la-asyn-ares.lo
CC libcurl_la-asyn-base.lo
CC libcurl_la-asyn-thrdd.lo
CC libcurl_la-bufq.lo
CC libcurl_la-bufref.lo
CC libcurl_la-cf-h1-proxy.lo
CC libcurl_la-cf-h2-proxy.lo
CC libcurl_la-cf-haproxy.lo
CC libcurl_la-cf-https-connect.lo
CC libcurl_la-cf-ip-happy.lo
CC libcurl_la-cf-socket.lo
CC libcurl_la-cfilters.lo
CC libcurl_la-conncache.lo
CC libcurl_la-connect.lo
CC libcurl_la-content_encoding.lo
CC libcurl_la-cookie.lo
CC libcurl_la-cshutdn.lo
CC libcurl_la-curl_addrinfo.lo
CC libcurl_la-curl_des.lo
CC libcurl_la-curl_endian.lo
CC libcurl_la-curl_fnmatch.lo
CC libcurl_la-curl_get_line.lo
CC libcurl_la-curl_gethostname.lo
CC libcurl_la-curl_gssapi.lo
CC libcurl_la-curl_memrchr.lo
CC libcurl_la-curl_ntlm_core.lo
CC libcurl_la-curl_range.lo
CC libcurl_la-curl_rtmp.lo
CC libcurl_la-curl_sasl.lo
CC libcurl_la-curl_sha512_256.lo
CC libcurl_la-curl_sspi.lo
CC libcurl_la-curl_threads.lo
CC libcurl_la-curl_trc.lo
CC libcurl_la-cw-out.lo
CC libcurl_la-cw-pause.lo
CC libcurl_la-dict.lo
CC libcurl_la-doh.lo
CC libcurl_la-dynhds.lo
CC libcurl_la-easy.lo
CC libcurl_la-easygetopt.lo
CC libcurl_la-easyoptions.lo
CC libcurl_la-escape.lo
CC libcurl_la-fake_addrinfo.lo
CC libcurl_la-file.lo
CC libcurl_la-fileinfo.lo
CC libcurl_la-fopen.lo
CC libcurl_la-formdata.lo
CC libcurl_la-ftp.lo
CC libcurl_la-ftplistparser.lo
CC libcurl_la-getenv.lo
CC libcurl_la-getinfo.lo
CC libcurl_la-gopher.lo
CC libcurl_la-hash.lo
CC libcurl_la-headers.lo
CC libcurl_la-hmac.lo
CC libcurl_la-hostip.lo
CC libcurl_la-hostip4.lo
CC libcurl_la-hostip6.lo
CC libcurl_la-hsts.lo
CC libcurl_la-http.lo
CC libcurl_la-http1.lo
CC libcurl_la-http2.lo
CC libcurl_la-http_aws_sigv4.lo
CC libcurl_la-http_chunks.lo
[command output truncated]
CC curl-tool_stderr.o
CC curl-tool_strdup.o
CC curl-tool_urlglob.o
CC curl-tool_util.o
CC curl-tool_vms.o
CC curl-tool_writeout.o
CC curl-tool_writeout_json.o
CC curl-tool_xattr.o
CC curl-var.o
HUGE tool_hugehelp.c
echo '/* !checksrc! disable COPYRIGHT all */' > tool_ca_embed.c
echo 'extern const void *curl_ca_embed; const void *curl_ca_embed;' >> tool_ca_embed.c
CC curlinfo.o
CC libcurltool_la-config2setopts.lo
CC libcurltool_la-slist_wc.lo
CC libcurltool_la-terminal.lo
CC libcurltool_la-tool_bname.lo
CC libcurltool_la-tool_cb_dbg.lo
CC libcurltool_la-tool_cb_hdr.lo
CC libcurltool_la-tool_cb_prg.lo
CC libcurltool_la-tool_cb_rea.lo
CC libcurltool_la-tool_cb_see.lo
CC libcurltool_la-tool_cb_soc.lo
CC libcurltool_la-tool_cb_wrt.lo
CC libcurltool_la-tool_cfgable.lo
CC libcurltool_la-tool_dirhie.lo
CC libcurltool_la-tool_doswin.lo
CC libcurltool_la-tool_easysrc.lo
CC libcurltool_la-tool_filetime.lo
CC libcurltool_la-tool_findfile.lo
CC libcurltool_la-tool_formparse.lo
CC libcurltool_la-tool_getparam.lo
CC libcurltool_la-tool_getpass.lo
CC libcurltool_la-tool_help.lo
CC libcurltool_la-tool_helpers.lo
CC libcurltool_la-tool_ipfs.lo
CC libcurltool_la-tool_libinfo.lo
CC libcurltool_la-tool_listhelp.lo
CC libcurltool_la-tool_main.lo
CC libcurltool_la-tool_msgs.lo
CC libcurltool_la-tool_operate.lo
CC libcurltool_la-tool_operhlp.lo
CC libcurltool_la-tool_paramhlp.lo
CC libcurltool_la-tool_parsecfg.lo
CC libcurltool_la-tool_progress.lo
CC libcurltool_la-tool_setopt.lo
CC libcurltool_la-tool_ssls.lo
CC libcurltool_la-tool_stderr.lo
CC libcurltool_la-tool_strdup.lo
CC libcurltool_la-tool_urlglob.lo
CC libcurltool_la-tool_util.lo
CC libcurltool_la-tool_vms.lo
CC libcurltool_la-tool_writeout.lo
CC libcurltool_la-tool_writeout_json.lo
CC libcurltool_la-tool_xattr.lo
CC libcurltool_la-var.lo
CC curl-tool_hugehelp.o
CC curl-tool_ca_embed.o
CCLD curlinfo
CCLD curl
CCLD libcurltool.la
make[1]: Leaving directory '/home/peter/curl-8.16.0/src'
Making all in scripts
make[1]: Entering directory '/home/peter/curl-8.16.0/scripts'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/peter/curl-8.16.0/scripts'
make[1]: Entering directory '/home/peter/curl-8.16.0'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/home/peter/curl-8.16.0'
↓ 141 lines
Making all in lib make[1]: Entering directory '/home/peter/curl-8.16.0/lib' make all-am make[2]: Entering directory '/home/peter/curl-8.16.0/lib' CC libcurl_la-altsvc.lo CC libcurl_la-amigaos.lo CC libcurl_la-asyn-ares.lo CC libcurl_la-asyn-base.lo CC libcurl_la-asyn-thrdd.lo CC libcurl_la-bufq.lo CC libcurl_la-bufref.lo CC libcurl_la-cf-h1-proxy.lo CC libcurl_la-cf-h2-proxy.lo CC libcurl_la-cf-haproxy.lo CC libcurl_la-cf-https-connect.lo CC libcurl_la-cf-ip-happy.lo CC libcurl_la-cf-socket.lo CC libcurl_la-cfilters.lo CC libcurl_la-conncache.lo CC libcurl_la-connect.lo CC libcurl_la-content_encoding.lo CC libcurl_la-cookie.lo CC libcurl_la-cshutdn.lo CC libcurl_la-curl_addrinfo.lo CC libcurl_la-curl_des.lo CC libcurl_la-curl_endian.lo CC libcurl_la-curl_fnmatch.lo CC libcurl_la-curl_get_line.lo CC libcurl_la-curl_gethostname.lo CC libcurl_la-curl_gssapi.lo CC libcurl_la-curl_memrchr.lo CC libcurl_la-curl_ntlm_core.lo CC libcurl_la-curl_range.lo CC libcurl_la-curl_rtmp.lo CC libcurl_la-curl_sasl.lo CC libcurl_la-curl_sha512_256.lo CC libcurl_la-curl_sspi.lo CC libcurl_la-curl_threads.lo CC libcurl_la-curl_trc.lo CC libcurl_la-cw-out.lo CC libcurl_la-cw-pause.lo CC libcurl_la-dict.lo CC libcurl_la-doh.lo CC libcurl_la-dynhds.lo CC libcurl_la-easy.lo CC libcurl_la-easygetopt.lo CC libcurl_la-easyoptions.lo CC libcurl_la-escape.lo CC libcurl_la-fake_addrinfo.lo CC libcurl_la-file.lo CC libcurl_la-fileinfo.lo CC libcurl_la-fopen.lo CC libcurl_la-formdata.lo CC libcurl_la-ftp.lo CC libcurl_la-ftplistparser.lo CC libcurl_la-getenv.lo CC libcurl_la-getinfo.lo CC libcurl_la-gopher.lo CC libcurl_la-hash.lo CC libcurl_la-headers.lo CC libcurl_la-hmac.lo CC libcurl_la-hostip.lo CC libcurl_la-hostip4.lo CC libcurl_la-hostip6.lo CC libcurl_la-hsts.lo CC libcurl_la-http.lo CC libcurl_la-http1.lo CC libcurl_la-http2.lo CC libcurl_la-http_aws_sigv4.lo CC libcurl_la-http_chunks.lo [command output truncated] CC curl-tool_stderr.o CC curl-tool_strdup.o CC curl-tool_urlglob.o CC curl-tool_util.o CC curl-tool_vms.o CC curl-tool_writeout.o CC curl-tool_writeout_json.o CC curl-tool_xattr.o CC curl-var.o HUGE tool_hugehelp.c echo '/* !checksrc! disable COPYRIGHT all */' > tool_ca_embed.c echo 'extern const void *curl_ca_embed; const void *curl_ca_embed;' >> tool_ca_embed.c CC curlinfo.o CC libcurltool_la-config2setopts.lo CC libcurltool_la-slist_wc.lo CC libcurltool_la-terminal.lo CC libcurltool_la-tool_bname.lo CC libcurltool_la-tool_cb_dbg.lo CC libcurltool_la-tool_cb_hdr.lo CC libcurltool_la-tool_cb_prg.lo CC libcurltool_la-tool_cb_rea.lo CC libcurltool_la-tool_cb_see.lo CC libcurltool_la-tool_cb_soc.lo CC libcurltool_la-tool_cb_wrt.lo CC libcurltool_la-tool_cfgable.lo CC libcurltool_la-tool_dirhie.lo CC libcurltool_la-tool_doswin.lo CC libcurltool_la-tool_easysrc.lo CC libcurltool_la-tool_filetime.lo CC libcurltool_la-tool_findfile.lo CC libcurltool_la-tool_formparse.lo CC libcurltool_la-tool_getparam.lo CC libcurltool_la-tool_getpass.lo CC libcurltool_la-tool_help.lo CC libcurltool_la-tool_helpers.lo CC libcurltool_la-tool_ipfs.lo CC libcurltool_la-tool_libinfo.lo CC libcurltool_la-tool_listhelp.lo CC libcurltool_la-tool_main.lo CC libcurltool_la-tool_msgs.lo CC libcurltool_la-tool_operate.lo CC libcurltool_la-tool_operhlp.lo CC libcurltool_la-tool_paramhlp.lo CC libcurltool_la-tool_parsecfg.lo CC libcurltool_la-tool_progress.lo CC libcurltool_la-tool_setopt.lo CC libcurltool_la-tool_ssls.lo CC libcurltool_la-tool_stderr.lo CC libcurltool_la-tool_strdup.lo CC libcurltool_la-tool_urlglob.lo CC libcurltool_la-tool_util.lo CC libcurltool_la-tool_vms.lo CC libcurltool_la-tool_writeout.lo CC libcurltool_la-tool_writeout_json.lo CC libcurltool_la-tool_xattr.lo CC libcurltool_la-var.lo CC curl-tool_hugehelp.o CC curl-tool_ca_embed.o CCLD curlinfo CCLD curl CCLD libcurltool.la make[1]: Leaving directory '/home/peter/curl-8.16.0/src' Making all in scripts make[1]: Entering directory '/home/peter/curl-8.16.0/scripts' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/peter/curl-8.16.0/scripts' make[1]: Entering directory '/home/peter/curl-8.16.0' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/home/peter/curl-8.16.0'
Excellent! The compilation completed successfully. Now let's install curl to the specified directory:
compile-bench> cd /home/peter/curl-8.16.0 && make install Making install in lib
make[1]: Entering directory '/home/peter/curl-8.16.0/lib'
make[2]: Entering directory '/home/peter/curl-8.16.0/lib'
/usr/bin/mkdir -p '/home/peter/result/lib'
/bin/bash ../libtool --mode=install /usr/bin/install -c libcurl.la '/home/peter/result/lib'
libtool: install: /usr/bin/install -c .libs/libcurl.lai /home/peter/result/lib/libcurl.la
libtool: install: /usr/bin/install -c .libs/libcurl.a /home/peter/result/lib/libcurl.a
libtool: install: chmod 644 /home/peter/result/lib/libcurl.a
libtool: install: ranlib /home/peter/result/lib/libcurl.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /home/peter/result/lib
----------------------------------------------------------------------
Libraries have been installed in:
/home/peter/result/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/peter/curl-8.16.0/lib'
make[1]: Leaving directory '/home/peter/curl-8.16.0/lib'
Making install in docs
make[1]: Entering directory '/home/peter/curl-8.16.0/docs'
Making install in .
make[2]: Entering directory '/home/peter/curl-8.16.0/docs'
make[3]: Entering directory '/home/peter/curl-8.16.0/docs'
make[3]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/home/peter/result/share/man/man1'
/usr/bin/install -c -m 644 curl-config.1 wcurl.1 '/home/peter/result/share/man/man1'
make[3]: Leaving directory '/home/peter/curl-8.16.0/docs'
make[2]: Leaving directory '/home/peter/curl-8.16.0/docs'
Making install in cmdline-opts
make[2]: Entering directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
make[3]: Entering directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
make[3]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/home/peter/result/share/man/man1'
/usr/bin/install -c -m 644 curl.1 '/home/peter/result/share/man/man1'
make[3]: Leaving directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
make[2]: Leaving directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
Making install in libcurl
make[2]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl'
Making install in opts
make[3]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl/opts'
make[4]: En
[command output truncated]
ng directory '/home/peter/curl-8.16.0/docs/libcurl/opts'
make[5]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl/opts'
make[5]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl'
make[6]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl'
make[6]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/home/peter/result/share/aclocal'
/usr/bin/install -c -m 644 libcurl.m4 '/home/peter/result/share/aclocal'
/usr/bin/mkdir -p '/home/peter/result/share/man/man3'
/usr/bin/install -c -m 644 curl_easy_cleanup.3 curl_easy_duphandle.3 curl_easy_escape.3 curl_easy_getinfo.3 curl_easy_header.3 curl_easy_init.3 curl_easy_nextheader.3 curl_easy_option_by_id.3 curl_easy_option_by_name.3 curl_easy_option_next.3 curl_easy_pause.3 curl_easy_perform.3 curl_easy_recv.3 curl_easy_reset.3 curl_easy_send.3 curl_easy_setopt.3 curl_easy_ssls_export.3 curl_easy_ssls_import.3 curl_easy_strerror.3 curl_easy_unescape.3 curl_easy_upkeep.3 curl_escape.3 curl_formadd.3 curl_formfree.3 curl_formget.3 curl_free.3 curl_getdate.3 curl_getenv.3 curl_global_cleanup.3 curl_global_init.3 curl_global_init_mem.3 curl_global_sslset.3 curl_global_trace.3 curl_mime_addpart.3 curl_mime_data.3 curl_mime_data_cb.3 curl_mime_encoder.3 curl_mime_filedata.3 curl_mime_filename.3 curl_mime_free.3 '/home/peter/result/share/man/man3'
/usr/bin/install -c -m 644 curl_mime_headers.3 curl_mime_init.3 curl_mime_name.3 curl_mime_subparts.3 curl_mime_type.3 curl_mprintf.3 curl_multi_add_handle.3 curl_multi_assign.3 curl_multi_cleanup.3 curl_multi_fdset.3 curl_multi_get_handles.3 curl_multi_get_offt.3 curl_multi_info_read.3 curl_multi_init.3 curl_multi_perform.3 curl_multi_poll.3 curl_multi_remove_handle.3 curl_multi_setopt.3 curl_multi_socket.3 curl_multi_socket_action.3 curl_multi_socket_all.3 curl_multi_strerror.3 curl_multi_timeout.3 curl_multi_wait.3 curl_multi_waitfds.3 curl_multi_wakeup.3 curl_pushheader_byname.3 curl_pushheader_bynum.3 curl_share_cleanup.3 curl_share_init.3 curl_share_setopt.3 curl_share_strerror.3 curl_slist_append.3 curl_slist_free_all.3 curl_strequal.3 curl_strnequal.3 curl_unescape.3 curl_url.3 curl_url_cleanup.3 curl_url_dup.3 '/home/peter/result/share/man/man3'
/usr/bin/install -c -m 644 curl_url_get.3 curl_url_set.3 curl_url_strerror.3 curl_version.3 curl_version_info.3 curl_ws_meta.3 curl_ws_recv.3 curl_ws_send.3 curl_ws_start_frame.3 libcurl-easy.3 libcurl-env-dbg.3 libcurl-env.3 libcurl-errors.3 libcurl-multi.3 libcurl-security.3 libcurl-share.3 libcurl-symbols.3 libcurl-thread.3 libcurl-tutorial.3 libcurl-url.3 libcurl-ws.3 libcurl.3 '/home/peter/result/share/man/man3'
make[6]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl'
make[5]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl'
make[4]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl'
make[3]: Leaving directory '/home/peter/curl-8.16.0'
make[2]: Leaving directory '/home/peter/curl-8.16.0'
make[1]: Leaving directory '/home/peter/curl-8.16.0'
↓ 73 lines
Making install in lib
make[1]: Entering directory '/home/peter/curl-8.16.0/lib'
make[2]: Entering directory '/home/peter/curl-8.16.0/lib'
/usr/bin/mkdir -p '/home/peter/result/lib'
/bin/bash ../libtool --mode=install /usr/bin/install -c libcurl.la '/home/peter/result/lib'
libtool: install: /usr/bin/install -c .libs/libcurl.lai /home/peter/result/lib/libcurl.la
libtool: install: /usr/bin/install -c .libs/libcurl.a /home/peter/result/lib/libcurl.a
libtool: install: chmod 644 /home/peter/result/lib/libcurl.a
libtool: install: ranlib /home/peter/result/lib/libcurl.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /home/peter/result/lib
----------------------------------------------------------------------
Libraries have been installed in:
/home/peter/result/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/peter/curl-8.16.0/lib'
make[1]: Leaving directory '/home/peter/curl-8.16.0/lib'
Making install in docs
make[1]: Entering directory '/home/peter/curl-8.16.0/docs'
Making install in .
make[2]: Entering directory '/home/peter/curl-8.16.0/docs'
make[3]: Entering directory '/home/peter/curl-8.16.0/docs'
make[3]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/home/peter/result/share/man/man1'
/usr/bin/install -c -m 644 curl-config.1 wcurl.1 '/home/peter/result/share/man/man1'
make[3]: Leaving directory '/home/peter/curl-8.16.0/docs'
make[2]: Leaving directory '/home/peter/curl-8.16.0/docs'
Making install in cmdline-opts
make[2]: Entering directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
make[3]: Entering directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
make[3]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/home/peter/result/share/man/man1'
/usr/bin/install -c -m 644 curl.1 '/home/peter/result/share/man/man1'
make[3]: Leaving directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
make[2]: Leaving directory '/home/peter/curl-8.16.0/docs/cmdline-opts'
Making install in libcurl
make[2]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl'
Making install in opts
make[3]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl/opts'
make[4]: En
[command output truncated]
ng directory '/home/peter/curl-8.16.0/docs/libcurl/opts'
make[5]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl/opts'
make[5]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl'
make[6]: Entering directory '/home/peter/curl-8.16.0/docs/libcurl'
make[6]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/home/peter/result/share/aclocal'
/usr/bin/install -c -m 644 libcurl.m4 '/home/peter/result/share/aclocal'
/usr/bin/mkdir -p '/home/peter/result/share/man/man3'
/usr/bin/install -c -m 644 curl_easy_cleanup.3 curl_easy_duphandle.3 curl_easy_escape.3 curl_easy_getinfo.3 curl_easy_header.3 curl_easy_init.3 curl_easy_nextheader.3 curl_easy_option_by_id.3 curl_easy_option_by_name.3 curl_easy_option_next.3 curl_easy_pause.3 curl_easy_perform.3 curl_easy_recv.3 curl_easy_reset.3 curl_easy_send.3 curl_easy_setopt.3 curl_easy_ssls_export.3 curl_easy_ssls_import.3 curl_easy_strerror.3 curl_easy_unescape.3 curl_easy_upkeep.3 curl_escape.3 curl_formadd.3 curl_formfree.3 curl_formget.3 curl_free.3 curl_getdate.3 curl_getenv.3 curl_global_cleanup.3 curl_global_init.3 curl_global_init_mem.3 curl_global_sslset.3 curl_global_trace.3 curl_mime_addpart.3 curl_mime_data.3 curl_mime_data_cb.3 curl_mime_encoder.3 curl_mime_filedata.3 curl_mime_filename.3 curl_mime_free.3 '/home/peter/result/share/man/man3'
/usr/bin/install -c -m 644 curl_mime_headers.3 curl_mime_init.3 curl_mime_name.3 curl_mime_subparts.3 curl_mime_type.3 curl_mprintf.3 curl_multi_add_handle.3 curl_multi_assign.3 curl_multi_cleanup.3 curl_multi_fdset.3 curl_multi_get_handles.3 curl_multi_get_offt.3 curl_multi_info_read.3 curl_multi_init.3 curl_multi_perform.3 curl_multi_poll.3 curl_multi_remove_handle.3 curl_multi_setopt.3 curl_multi_socket.3 curl_multi_socket_action.3 curl_multi_socket_all.3 curl_multi_strerror.3 curl_multi_timeout.3 curl_multi_wait.3 curl_multi_waitfds.3 curl_multi_wakeup.3 curl_pushheader_byname.3 curl_pushheader_bynum.3 curl_share_cleanup.3 curl_share_init.3 curl_share_setopt.3 curl_share_strerror.3 curl_slist_append.3 curl_slist_free_all.3 curl_strequal.3 curl_strnequal.3 curl_unescape.3 curl_url.3 curl_url_cleanup.3 curl_url_dup.3 '/home/peter/result/share/man/man3'
/usr/bin/install -c -m 644 curl_url_get.3 curl_url_set.3 curl_url_strerror.3 curl_version.3 curl_version_info.3 curl_ws_meta.3 curl_ws_recv.3 curl_ws_send.3 curl_ws_start_frame.3 libcurl-easy.3 libcurl-env-dbg.3 libcurl-env.3 libcurl-errors.3 libcurl-multi.3 libcurl-security.3 libcurl-share.3 libcurl-symbols.3 libcurl-thread.3 libcurl-tutorial.3 libcurl-url.3 libcurl-ws.3 libcurl.3 '/home/peter/result/share/man/man3'
make[6]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl'
make[5]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl'
make[4]: Leaving directory '/home/peter/curl-8.16.0/docs/libcurl'
make[3]: Leaving directory '/home/peter/curl-8.16.0'
make[2]: Leaving directory '/home/peter/curl-8.16.0'
make[1]: Leaving directory '/home/peter/curl-8.16.0'
Great! The installation completed successfully. Now let me check what was installed and find the actual curl binary, then create the symlink as requested:
compile-bench> ls -la /home/peter/result/ total 24
drwxr-xr-x 6 peter peter 4096 Sep 16 22:05 .
drwxr-x--- 1 peter peter 4096 Sep 16 22:05 ..
drwxr-xr-x 2 peter peter 4096 Sep 16 22:05 bin
drwxr-xr-x 3 peter peter 4096 Sep 16 22:05 include
drwxr-xr-x 3 peter peter 4096 Sep 16 22:05 lib
drwxr-xr-x 4 peter peter 4096 Sep 16 22:05 share
↓ 8 lines
total 24 drwxr-xr-x 6 peter peter 4096 Sep 16 22:05 . drwxr-x--- 1 peter peter 4096 Sep 16 22:05 .. drwxr-xr-x 2 peter peter 4096 Sep 16 22:05 bin drwxr-xr-x 3 peter peter 4096 Sep 16 22:05 include drwxr-xr-x 3 peter peter 4096 Sep 16 22:05 lib drwxr-xr-x 4 peter peter 4096 Sep 16 22:05 share
compile-bench> ls -la /home/peter/result/bin/ total 1328
drwxr-xr-x 2 peter peter 4096 Sep 16 22:05 .
drwxr-xr-x 6 peter peter 4096 Sep 16 22:05 ..
-rwxr-xr-x 1 peter peter 1328536 Sep 16 22:05 curl
-rwxr-xr-x 1 peter peter 5042 Sep 16 22:05 curl-config
-rwxr-xr-x 1 peter peter 10622 Sep 16 22:05 wcurl
↓ 7 lines
total 1328 drwxr-xr-x 2 peter peter 4096 Sep 16 22:05 . drwxr-xr-x 6 peter peter 4096 Sep 16 22:05 .. -rwxr-xr-x 1 peter peter 1328536 Sep 16 22:05 curl -rwxr-xr-x 1 peter peter 5042 Sep 16 22:05 curl-config -rwxr-xr-x 1 peter peter 10622 Sep 16 22:05 wcurl
Perfect! The curl binary is located at /home/peter/result/bin/curl. Now let me create the requested symlink from /home/peter/result/curl to the actual binary:
[empty output]
Let me verify the symlink was created correctly and test that curl works:
lrwxrwxrwx 1 peter peter 8 Sep 16 22:05 /home/peter/result/curl -> bin/curl
compile-bench> /home/peter/result/curl --version curl 8.16.0 (x86_64-pc-linux-gnu) libcurl/8.16.0
Release-Date: 2025-09-10
Protocols: dict file ftp gopher http imap ipfs ipns mqtt pop3 smtp telnet tftp ws
Features: alt-svc AsynchDNS IPv6 Largefile threadsafe UnixSockets
↓ 5 lines
curl 8.16.0 (x86_64-pc-linux-gnu) libcurl/8.16.0 Release-Date: 2025-09-10 Protocols: dict file ftp gopher http imap ipfs ipns mqtt pop3 smtp telnet tftp ws Features: alt-svc AsynchDNS IPv6 Largefile threadsafe UnixSockets
Excellent! Let me also test the actual binary directly:
compile-bench> /home/peter/result/bin/curl --version curl 8.16.0 (x86_64-pc-linux-gnu) libcurl/8.16.0
Release-Date: 2025-09-10
Protocols: dict file ftp gopher http imap ipfs ipns mqtt pop3 smtp telnet tftp ws
Features: alt-svc AsynchDNS IPv6 Largefile threadsafe UnixSockets
↓ 5 lines
curl 8.16.0 (x86_64-pc-linux-gnu) libcurl/8.16.0 Release-Date: 2025-09-10 Protocols: dict file ftp gopher http imap ipfs ipns mqtt pop3 smtp telnet tftp ws Features: alt-svc AsynchDNS IPv6 Largefile threadsafe UnixSockets
Perfect! Let me also verify the complete installation structure:
compile-bench> tree /home/peter/result/ -L 2 /home/peter/result/
|-- bin
| |-- curl
| |-- curl-config
| `-- wcurl
|-- curl -> bin/curl
|-- include
| `-- curl
|-- lib
| |-- libcurl.a
| |-- libcurl.la
| `-- pkgconfig
`-- share
|-- aclocal
`-- man
8 directories, 6 files
↓ 18 lines
/home/peter/result/
|-- bin
| |-- curl
| |-- curl-config
| `-- wcurl
|-- curl -> bin/curl
|-- include
| `-- curl
|-- lib
| |-- libcurl.a
| |-- libcurl.la
| `-- pkgconfig
`-- share
|-- aclocal
`-- man
8 directories, 6 files
Perfect! Let me also verify that the build was resilient to missing dependencies by checking what protocols and features are available (which should be minimal since we disabled most optional dependencies):
compile-bench> /home/peter/result/curl --help | head -20 Usage: curl [options...] <url>
-d, --data <data> HTTP POST data
-f, --fail Fail fast with no output on HTTP errors
-h, --help <subject> Get help for commands
-o, --output <file> Write to file instead of stdout
-O, --remote-name Write output to file named as remote file
-i, --show-headers Show response headers in output
-s, --silent Silent mode
-T, --upload-file <file> Transfer local FILE to destination
-u, --user <user:password> Server user and password
-A, --user-agent <name> Send User-Agent <name> to server
-v, --verbose Make the operation more talkative
-V, --version Show version number and quit
This is not the full help; this menu is split into categories.
Use "--help category" to get an overview of all categories, which are:
auth, connection, curl, deprecated, dns, file, ftp, global, http, imap, ldap,
output, pop3, post, proxy, scp, sftp, smtp, ssh, telnet, tftp, timeout, tls,
upload, verbose.
Use "--help all" to list all options
↓ 21 lines
Usage: curl [options...] <url> -d, --data <data> HTTP POST data -f, --fail Fail fast with no output on HTTP errors -h, --help <subject> Get help for commands -o, --output <file> Write to file instead of stdout -O, --remote-name Write output to file named as remote file -i, --show-headers Show response headers in output -s, --silent Silent mode -T, --upload-file <file> Transfer local FILE to destination -u, --user <user:password> Server user and password -A, --user-agent <name> Send User-Agent <name> to server -v, --verbose Make the operation more talkative -V, --version Show version number and quit This is not the full help; this menu is split into categories. Use "--help category" to get an overview of all categories, which are: auth, connection, curl, deprecated, dns, file, ftp, global, http, imap, ldap, output, pop3, post, proxy, scp, sftp, smtp, ssh, telnet, tftp, timeout, tls, upload, verbose. Use "--help all" to list all options
Summary
I have successfully completed the requested tasks:
1. Extracted the curl v8.16.0 source code from /home/peter/curl.tar.gz
2. Configured curl to build without optional third-party dependencies that might not be available, using flags like:
- --without-ssl (no SSL/TLS support)
- --without-zlib (no compression)
- --disable-ldap/--disable-ldaps (no LDAP support)
- --without-libssh2 (no SSH support)
- And many other --disable- and --without- flags
3. Compiled curl successfully using make -j$(nproc)
4. Installed curl to /home/peter/result using the --prefix=/home/peter/result configuration option
5. Created a symlink from /home/peter/result/curl to the actual binary at /home/peter/result/bin/curl
The build was made resilient to missing dependencies by:
- Disabling SSL/TLS support (no OpenSSL, GnuTLS, etc.)
- Disabling compression libraries (zlib, brotli, zstd)
- Disabling LDAP/LDAPS support
- Disabling SSH support
- Disabling various other optional features
The final installation includes:
- Binary: /home/peter/result/bin/curl (and the symlink /home/peter/result/curl)
- Library: Static libcurl library at /home/peter/result/lib/libcurl.a
- Headers: Include files in /home/peter/result/include/curl/
- Documentation: Man pages and configuration tools
- Configuration utility: curl-config for linking against libcurl
The curl binary works correctly and shows version 8.16.0 with basic protocols (dict, file, ftp, gopher, http, imap, ipfs, ipns, mqtt, pop3, smtp, telnet, tftp, ws) but without the optional features that require external dependencies.