Bug #80667 [Com]: checking for libxml-2.0 >= 2.7.6... no
| From: | stuart dot salter at dieboldnixdorf dot com | Date: | Mon, 25 Jan 2021 12:56:25 +0000 |
| Subject: | Bug #80667 [Com]: checking for libxml-2.0 >= 2.7.6... no | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-231750@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80667&edit=1
ID: 80667
Comment by: stuart dot salter at dieboldnixdorf dot com
Reported by: stuart dot salter at dieboldnixdorf dot com
Summary: checking for libxml-2.0 >= 2.7.6... no
Status: Not a bug
Type: Bug
Package: *XML functions
Operating System: Solaris 10
PHP Version: 7.4.14
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Hi there,
thanks for the reply, well I'm trying to install PHP 7.4 and the original error is with that !
checking for libxml-2.0 >= 2.7.6... no
configure: error: in `/app/INSTALL_FILES/php-7.4.13':
configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
so I'm trying to use pkg-config, as it suggests but then getting the new error:
/app/INSTALL_FILES/pkg-config-0.29.2
# ./configure --with-internal-glib
but I get this error when I try âmakeâ command:
# CC=gcc
# export CC
# make
make all-recursive
Making all in glib
make all-recursive
Making all in .
Making all in m4macros
make all-am
Making all in glib
make all-recursive
Making all in libcharset
make all-am
Making all in .
CC libglib_2_0_la-gconvert.lo
gconvert.c:61:2: #error GNU libiconv not in use but included iconv.h is from libiconv
gconvert.c: In function `g_iconv':
Previous Comments:
------------------------------------------------------------------------
[2021-01-25 12:28:00] cmb@php.net
So you're having an issue configuring pkg-config? That doesn't
look like a PHP issue.
------------------------------------------------------------------------
[2021-01-25 11:26:00] stuart dot salter at dieboldnixdorf dot com
Description:
------------
trying to configure using the following command:
/app/INSTALL_FILES/php-7.4.13
./configure --with-apxs2=/usr/apache2/bin/apxs --with-gd --with-zlib --disable-ipv6
--with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-freetype-dir=/usr/local --with-pear
--with-openssl -with-openssl --with-mysql --enable-bcmath --enable-ctype --enable-sockets
--enable-mbstring --with-gettext --prefix=/usr/php
# pwd
but I get this error:
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: in `/app/INSTALL_FILES/php-7.4.13':
configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
this link suggests that I need pkg-config:
https://bugs.php.net/bug.php?id=79135
so Iâve downloaded and configured that package:
/app/INSTALL_FILES/pkg-config-0.29.2
# ./configure --with-internal-glib
but I get this error when I try âmakeâ command:
# CC=gcc
# export CC
# make
make all-recursive
Making all in glib
make all-recursive
Making all in .
Making all in m4macros
make all-am
Making all in glib
make all-recursive
Making all in libcharset
make all-am
Making all in .
CC libglib_2_0_la-gconvert.lo
gconvert.c:61:2: #error GNU libiconv not in use but included iconv.h is from libiconv
gconvert.c: In function `g_iconv':
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80667&edit=1