Bug #79135 [Fbk->Opn]: checking whether to build with LIBXML support... yes checking for libxml-2.0 >=

From: Date: Fri, 17 Jan 2020 10:02:45 +0000
Subject: Bug #79135 [Fbk->Opn]: checking whether to build with LIBXML support... yes checking for libxml-2.0 >=
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-224947@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79135&edit=1 ID: 79135 User updated by: 823688826 at qq dot com Reported by: 823688826 at qq dot com Summary: checking whether to build with LIBXML support... yes checking for libxml-2.0 >= -Status: Feedback +Status: Open Type: Bug Package: Compile Failure Operating System: centos PHP Version: 7.4.1 Block user comment: N Private report: N New Comment: Configuring extensions checking io.h usability... no checking io.h presence... no checking for io.h... no checking for strtoll... yes checking for atoll... yes checking whether to build with LIBXML support... yes checking for libxml-2.0 >= 2.7.6... no configure: error: Package requirements (libxml-2.0 >= 2.7.6) were not met: Package 'libxml-2.0', required by 'virtual:world', not found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBXML_CFLAGS and LIBXML_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. [root@c9dd73ba9bad php-7.4.1]# ./configure --prefix=/opt/php7.4/ --with-libxml-dir=/opt/libxml2 Previous Comments: ------------------------------------------------------------------------ [2020-01-17 09:34:28] nikic@php.net Can you please explain in more detail what the issue is? Note that the option is called --with-libxml, not --with-libxml2. ------------------------------------------------------------------------ [2020-01-17 04:14:37] 823688826 at qq dot com Description: ------------ ./configure --prefix=/opt/php7.4/ --with-libxml2=/opt/libxml2 Test script: --------------- ./configure --prefix=/opt/php7.4/ --with-libxml2=/opt/libxml2 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79135&edit=1

« previous php.bugs (#224947) next »