Re: xml2 install problem

From: "Nikolay Samokhvalov" <samokhvalov(at)gmail(dot)com>
To: "Paul Silveira" <plabrh1(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: xml2 install problem
Date: 2006-12-23 01:34:54
Message-ID: e431ff4c0612221734p1c34db1bi915ae78d7d725a2a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)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(at)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-12-23 03:31:28 Re: Problem with index in OR'd expression
Previous Message elein 2006-12-23 01:21:13 Re: Functions on tables