Проблема при обновлении с Apache 2.2 до 2.4.38 - PullRequest
0 голосов
/ 25 января 2019

Я пытаюсь обновить Apache 2.2 до 2.4.38 с подходом компиляции и сборки (без использования apt-get )

Я запустил команду ниже и получил ошибку, как показано ниже:

:~/upgrade/apache/httpd-2.4.38$ ./configure --with-included-apr
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
configure:
configure: Configuring Apache Portable Runtime library...
configure:
configuring package in srclib/apr now
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
Configuring APR library
Platform: x86_64-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.6.5
checking for chosen layout... apr
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/emgda/upgrade/apache/httpd-2.4.38/srclib/apr':
configure: error: C compiler cannot create executables
See `config.log' for more details
configure failed for srclib/apr

Я гарантировал, что каталоги apr и apr-util находятся в /home/emgda/upgrade/apache/httpd-2.4.38/srclib/

Любая помощь будет очень признательна.

...