Re: xml2 install problem

From: Paul Silveira <plabrh1(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: xml2 install problem
Date: 2006-12-20 22:07:12
Message-ID: 7998857.post@talk.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


ok. tried to install the correct libs and then do it but still same errors.
Here is where I am now...

# installed both rmp's that were necessary...
rpm -i
ftp://rpmfind.net/linux/redhat/enterprise/4/en/os/i386/SRPMS/libxml2-2.6.16-6.src.rpm
rpm -i
ftp://rpmfind.net/linux/redhat/enterprise/4/en/os/x86_64/SRPMS/libxslt-1.1.11-1.src.rpm

# tried to gmake again. Here is the output...

[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

The advice was to include these libraries. Is there anything else that
needs to be configured once that's done to make it work?

Thanks in avance,

Paul

Paul Silveira 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#a7998857
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2006-12-20 22:32:22 Re: xml2 install problem
Previous Message Richard Huxton 2006-12-20 20:46:46 Re: Starting Postgresql