Re: xml2 install problem - Mailing list pgsql-general

From Nikolay Samokhvalov
Subject Re: xml2 install problem
Date
Msg-id e431ff4c0612221734p1c34db1bi915ae78d7d725a2a@mail.gmail.com
Whole thread Raw
In response to xml2 install problem  (Paul Silveira <plabrh1@gmail.com>)
List pgsql-general
If you do not need XSTL support (this contrib consists of two parts,
one for XPath and another for XSLT), you can remove any mentioning of
*xslt* from Makefile and xml2.sql.in file and then try gmake again.

On 12/20/06, Paul Silveira <plabrh1@gmail.com> wrote:
>
> Hello,
>
> I just installed Postgres 8.2 and was trying to add the xml2 contrib module.
> I went to the folder that contained the contribs and attempted to run gmake.
>
> I got this error...
>
> [root@d0002gdb01 xml2]# gmake
> gcc -I/usr/include/libxml2 -fpic -I. -I../../src/include -D_GNU_SOURCE   -c
> -o xslt_proc.o xslt_proc.c
> xslt_proc.c:18:26: libxslt/xslt.h: No such file or directory
> xslt_proc.c:19:35: libxslt/xsltInternals.h: No such file or directory
> xslt_proc.c:20:31: libxslt/transform.h: No such file or directory
> xslt_proc.c:21:31: libxslt/xsltutils.h: No such file or directory
> xslt_proc.c: In function `xslt_process':
> xslt_proc.c:48: error: `xsltStylesheetPtr' undeclared (first use in this
> function)
> xslt_proc.c:48: error: (Each undeclared identifier is reported only once
> xslt_proc.c:48: error: for each function it appears in.)
> xslt_proc.c:48: error: syntax error before "stylesheet"
> xslt_proc.c:102: error: `stylesheet' undeclared (first use in this function)
> xslt_proc.c:117: warning: assignment makes pointer from integer without a
> cast
> gmake: *** [xslt_proc.o] Error 1
>
>
> It's yelling about the xslt.h and other files that it can't find.  I did a
> locate for xslt.h and it only found two web pages in the
> /usr/share/doc/libxslt-1.1.11 folder.
>
> Anyone know what is going on?
>
> Thanks in advance,
>
> Paul
>
> --
> View this message in context: http://www.nabble.com/xml2-install-problem-tf2849013.html#a7956796
> Sent from the PostgreSQL - general mailing list archive at Nabble.com.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>


--
Best regards,
Nikolay

pgsql-general by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: psql "SCHEMA" switch
Next
From: elein
Date:
Subject: Re: Functions on tables