Re: Broken php_domxml.c on make in v4.2.2 (Im guessing)
| From: | Christian Stocker | Date: | Tue, 23 Jul 2002 12:13:09 +0000 |
| Subject: | Re: Broken php_domxml.c on make in v4.2.2 (Im guessing) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-86123@lists.php.net to get a copy of this message | ||
On Tue, 23 Jul 2002, Dan Hardiker wrote:
>
> > On Tue, 23 Jul 2002, Dan Hardiker wrote:
> >
> >> Hi,
> >>
> >> That worked for one machine, but this machine is still giving me jip.
> >> Configure line exactly the same, error exactly the same - but pkg_info
> >> different (uninstall / installed versions of libxml).
> >>
> >> [11:07:39][root@insomniac]:/usr/local/php-4.2.2$ pkg_info | grep xml
> >> libxml2-2.4.23 Xml parser library for GNOME
> >> [11:07:39][root@insomniac]:/usr/local/php-4.2.2$
> >>
> >> Please note that on the machine that worked, I have lib2-2.4.21
> >> installed - would this make much difference?
> >
> > If you have the same error-message, you maybe have the old library lying
> > around somewhere. It works fine with 2.4.23 for me. Check if it really
> > gets the correct header-files (in php 4.2.3, we will have a ./configure,
> > which checks for the correct version..)
> >
> > chregu
>
> [11:41:22][root@insomniac]:/usr/local/lib$ ls -la | grep libxml2
> -rw-r--r-- 1 root wheel 767658 Jul 23 10:54 libxml2.a
> -rwxr-xr-x 1 root wheel 645 Jul 19 2001 libxml2.la
> lrwxr-xr-x 1 root wheel 12 Jul 23 10:54 libxml2.so -> libxml2.so.5
> -rwxr-xr-x 1 root wheel 704631 Jul 23 10:54 libxml2.so.5
> [11:41:22][root@insomniac]:/usr/local/lib$
>
> The libxml2.la file is from libxml 2.4.11 and is now dormant (I
> believe)... but the file sizes seem to be about right - and seen as I
> updated libxml to 2.4.23 today it all seems present and correct.
>
> As regards to it getting the correct header files, all I could find from
> the configure output was:
>
> ===
> checking for DOM support... yes
> checking for libxml version... >= 2.4.2
> ===
if you're not sure, you should ./configure with
---with-dom=/path/to/your/libxml/root/installation
which is normaly either /usr/ or /usr/local/
you can also change the line
#if LIBXML_VERSION >= 20402
in configure to
#if LIBXML_VERSION >= 20414
and then it should really check for the right version and abort, if it
didn't found the right one...
HTH
chregu