Hi,

Still having major issues ... same error, same place, different .configure
file (I edited it to read "#if LIBXML_VERSION >= 20414" instead),
different configure line... same result.

New Configure line (altered the --with-dom option):
./configure  --with-mysql=/usr/local/ --with-pgsql --with-gd=/usr/local/
--with-openssl --with-curl --enable-ftp --with-dom=/usr/local/
--enable-trans-sid --enable-sockets --enable-wddx --with-zlib
--with-mcrypt=/usr/local/ --with-mhash=/usr/locl/ --with-freetype
--with-t1lib --with-ttf --with-freetype-dir=/usr/local/ --with-apxs

Configures fine, makes all the way up until the domxml extension and then
dies miserably.

BTW - Im running FreeBSD 4.6-STABLE if that makes a difference ... but the
whole scenario works fine on another machine.

I have the same packages installed in the same locations on a different
machine, can I just copy the php4 apxs module across? (getting to a last
resort)

Alternative suggestions would be most welcome. Thanks,

- Dan

>> > 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


-- 
Dan Hardiker [[EMAIL PROTECTED]]
ADAM Software & Systems Engineer
First Creative Ltd



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

Reply via email to