another way is:
export CPPFLAGS=$(xml2-config --cflags); ./configure --with-libxml
I think that such thing can be used in configure script itself,
overwise a lot of people will try, fail and do not use SQL/XML at all.
On 12/22/06, Pavel Stehule <pavel.stehule@hotmail.com> wrote:
> Hello,
>
> I try to compile postgres with SQL/XML, but I finished on
>
> checking libxml/parser.h usability... no
> checking libxml/parser.h presence... no
> checking for libxml/parser.h... no
> configure: error: header file <libxml/parser.h> is required for XML support
>
> I have Fedora Core 6, and libxml2-devel I have installed. I checked parser.h
> and this file is in /usr/include/libxml2/libxml/ directory
>
> I am sorry, but configure file is spenish vilage for me, and I can't correct
> it.
>
> Regards
> Pavel Stehule
>
> _________________________________________________________________
> Chcete sdilet sve obrazky a hudbu s prateli? http://messenger.msn.cz/
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org
>
--
Best regards,
Nikolay