Compilation Issue

[email protected] (neill) Mon, 03 Nov 2003 04:16:15 +0000
Newsgroups php.xml.dev
Message-ID <[email protected]>
Hi, I'm not sure if this is the correct place to post this - if it isn't
please advise me where I should post this kind of thing in the future.

When I try to compile php5b2 I get the following error:

-o sapi/cli/php
ext/dom/document.lo(.text+0x2b98): In function `dom_load_html':
/home/neill/dl/www/php-5.0.0b2/ext/dom/document.c:1756: undefined reference 
to `htmlCreateMemoryParserCtxt'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

my configure line is: ./configure --with-mysql=/usr/bin/mysql
--with-apxs2=/var/www/bin/apxs --with-gd --enable-trans-sid
--with-jpeg-dir=/usr/lib --with-zlib-dir=/usr/lib
--with-xsl=/opt/gnome2/lib --with-libxml-dir=/opt/gnome2/lib --with-dom

I can compile succesfully if I comment out line 1756 of document.c, but of
course I would like to know what the problem is. I have the latest
versions of libxml2 and libxsl installed. Am I missing another library? I
would have thought confgure would pick this up though, or tell me if I had
the wrong version of libxml2 or libxsl installed.

Thanks for any help.


-- 



riot.