Bug #80667 [NEW]: checking for libxml-2.0 >= 2.7.6... no
| From: | stuart dot salter at dieboldnixdorf dot com | Date: | Mon, 25 Jan 2021 11:26:00 +0000 |
| Subject: | Bug #80667 [NEW]: checking for libxml-2.0 >= 2.7.6... no | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-231745@lists.php.net to get a copy of this message | ||
From: stuart dot salter at dieboldnixdorf dot com
Operating system: Solaris 10
PHP version: 7.4.14
Package: *XML functions
Bug Type: Bug
Bug description:checking for libxml-2.0 >= 2.7.6... no
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 bug report at https://bugs.php.net/bug.php?id=80667&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80667&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80667&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80667&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80667&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80667&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80667&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80667&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80667&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80667&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80667&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80667&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80667&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80667&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80667&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80667&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80667&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80667&r=mysqlcfg