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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to