Невозможно установить libcurl в Ubuntu 16.04.4 LTS
Я пытаюсь установить libcurl из исходного кода на сервере Ubuntu, версия ОС 16.04.4 LTS.
Я использую GCC 8.1. Вот сценарий конфигурации, который я использовал: curl версия: 7.61.1 1234 Префикс установки: /mnt/share/codes/IFS/buildcurl/curl-7.61.1
Compiler: gcc-8
SSL support: no (--with-{ssl,gnutls,nss,polarssl,mbedtls,cyassl,axtls,winssl,darwinssl} )
SSH support: no (--with-libssh2)
zlib support: enabled
brotli support: no (--with-brotli)
GSS-API support: no (--with-gssapi)
TLS-SRP support: no (--enable-tls-srp)
resolver: POSIX threaded
IPv6 support: enabled
Unix sockets support: enabled
IDN support: no (--with-{libidn2,winidn})
Build libcurl: Shared=yes, Static=no
Built-in manual: enabled --libcurl option: enabled (--disable-libcurl-option)
Verbose errors: enabled (--disable-verbose)
SSPI support: no (--enable-sspi)
ca cert bundle: no
ca cert path:
ca fallback:
LDAP support: no (--enable-ldap / --with-ldap-lib / --with-lber-lib)
LDAPS support: no (--enable-ldaps)
RTSP support: enabled
RTMP support: no (--with-librtmp)
metalink support: no (--with-libmetalink)
PSL support: no (libpsl not found)
HTTP2 support: disabled (--with-nghttp2)
Protocols: DICT FILE FTP GOPHER HTTP IMAP POP3 RTSP SMTP TELNET TFTP
призвание make
работает без происшествий, и make test
Точно так же хорошо. Тем не менее, когда я пытаюсь make install
Я получаю следующую ошибку:
/usr/bin/install: 'system.h' and '/mnt/share/codes/IFS/buildcurl/curl-7.61.1/include/cu rl/system.h' are the same file
Makefile:459: recipe for target 'install-pkgincludeHEADERS' failed
make[6]: *** [install-pkgincludeHEADERS] Error 1
make[6]: Leaving directory '/mnt/share/codes/IFS/buildcurl/curl-7.61.1/include/curl'
Makefile:579: recipe for target 'install-am' failed
make[5]: *** [install-am] Error 2
make[5]: Leaving directory '/mnt/share/codes/IFS/buildcurl/curl-7.61.1/include/curl'
Makefile:456: recipe for target 'install-recursive' failed
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory '/mnt/share/codes/IFS/buildcurl/curl-7.61.1/include'
Makefile:1450: recipe for target 'install-data-hook' failed
make[3]: *** [install-data-hook] Error 2
make[3]: Leaving directory '/mnt/share/codes/IFS/buildcurl/curl-7.61.1'
Makefile:1280: recipe for target 'install-data-am' failed
make[2]: *** [install-data-am] Error 2
make[2]: Leaving directory '/mnt/share/codes/IFS/buildcurl/curl-7.61.1'
Makefile:1234: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/mnt/share/codes/IFS/buildcurl/curl-7.61.1'
Makefile:927: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
make[3]: Leaving directory '/mnt/share/codes/IFS/buildcurl/curl-7.61.1'
Makefile:1280: recipe for target 'install-data-am' failed
make[2]: *** [install-data-am] Error 2
Излишне говорить, что я в замешательстве. Ошибка 1 не очень полезна из-за make, поскольку означает, что цель должна быть переделана - но она терпит неудачу, и цель не должна быть переделана AFAIK. Я ожидаю, что позже ошибки будут артефактами.
Как мне отладить это? Любые намеки приветствуются.