Bug #81045 [PATCH]: Install Curl with PHP 7.4 on AIX 7.1

From: Date: Mon, 17 May 2021 09:57:57 +0000
Subject: Bug #81045 [PATCH]: Install Curl with PHP 7.4 on AIX 7.1
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-233856@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81045&edit=1 ID: 81045 Patch added by: m.tarek.i.m@gmail.com Reported by: m dot tarek dot i dot m at gmail dot com Summary: Install Curl with PHP 7.4 on AIX 7.1 Status: Open Type: Bug Package: Compile Failure Operating System: AIX 7.1 PHP Version: 7.4Git-2021-05-17 (Git) Block user comment: N Private report: N New Comment: The following patch has been added/updated: Patch Name: Curl Revision: 1621245477 URL: https://bugs.php.net/patch-display.php?bug=81045&patch=Curl&revision=1621245477 Previous Comments: ------------------------------------------------------------------------ [2021-05-17 09:56:19] m dot tarek dot i dot m at gmail dot com Description: ------------ PHP 7.4 is installed without curl so we got php-curl source code and install it Test script: --------------- ====== Steps: ====== cd /app/PHP7-Apacahe/ext/curl /opt/freeware/bin/phpize --clean /opt/freeware/bin/phpize ./configure ===== error ===== checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /opt/freeware/bin//sed checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for cc... no 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... no checking build system type... powerpc-ibm-aix7.1.5.0 checking host system type... powerpc-ibm-aix7.1.5.0 checking target system type... powerpc-ibm-aix7.1.5.0 checking for PHP prefix... /opt/freeware checking for PHP includes... -I/opt/freeware/include/php -I/opt/freeware/include/php/main -I/opt/freeware/include/php/TSRM -I/opt/freeware/include/php/Zend -I/opt/freeware/include/php/ext -I/opt/freeware/include/php/ext/date/lib checking for PHP extension directory... /opt/freeware/lib/php/modules checking for PHP installed headers prefix... /opt/freeware/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... no checking for nawk... nawk checking if nawk is broken... no checking for cURL support... yes, shared checking for libcurl >= 7.15.5... yes checking for SSL support in libcurl... yes checking for libcurl linked against old openssl... checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes no checking for curl_easy_perform in -lcurl... no configure: error: There is something wrong. Please check config.log for more information. Expected result: ---------------- Curl must be installed but it does not happen Actual result: -------------- checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /opt/freeware/bin//sed checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for cc... no 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... no checking build system type... powerpc-ibm-aix7.1.5.0 checking host system type... powerpc-ibm-aix7.1.5.0 checking target system type... powerpc-ibm-aix7.1.5.0 checking for PHP prefix... /opt/freeware checking for PHP includes... -I/opt/freeware/include/php -I/opt/freeware/include/php/main -I/opt/freeware/include/php/TSRM -I/opt/freeware/include/php/Zend -I/opt/freeware/include/php/ext -I/opt/freeware/include/php/ext/date/lib checking for PHP extension directory... /opt/freeware/lib/php/modules checking for PHP installed headers prefix... /opt/freeware/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... no checking for nawk... nawk checking if nawk is broken... no checking for cURL support... yes, shared checking for libcurl >= 7.15.5... yes checking for SSL support in libcurl... yes checking for libcurl linked against old openssl... checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes no checking for curl_easy_perform in -lcurl... no configure: error: There is something wrong. Please check config.log for more information. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=81045&edit=1

« previous php.bugs (#233856) next »