Search Postgresql Archives

Re: xml2 install problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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@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.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux