Problems compiling contribs in Open Solaris

From: Emanuel Calvo Franco <postgres(dot)arg(at)gmail(dot)com>
To: postgresql Forums <pgsql-general(at)postgresql(dot)org>
Subject: Problems compiling contribs in Open Solaris
Date: 2009-07-29 14:21:06
Message-ID: f205bb120907290721s22715b22uc8d80d98dcface93@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

HI all,

I trying to compile several contribs in Osol. I had in result some
problems to take them work.

/opt/SUNWspro/bin/cc -Xa -xO3 -xarch=native -xspace -W0,-Lt
-W2,-Rcond_elim -Xa -xildoff -xc99=none -xCC -KPIC -I.
-I../../src/include -c -o xpath.o xpath.c
Putting child 0x080a3290 (xpath.o) PID 1718 on the chain.
Live child 0x080a3290 (xpath.o) PID 1718
"xpath.c", line 18: cannot find include file: <libxml/xpath.h>
"xpath.c", line 19: cannot find include file: <libxml/tree.h>
"xpath.c", line 20: cannot find include file: <libxml/xmlmemory.h>
"xpath.c", line 21: cannot find include file: <libxml/xmlerror.h>
"xpath.c", line 22: cannot find include file: <libxml/parserInternals.h>
"xpath.c", line 38: syntax error before or at: *
"xpath.c", line 38: syntax error before or at: nodeset
"xpath.c", line 38: warning: undefined or missing type for: nodeset
"xpath.c", line 39: parameter redeclared: xmlChar
"xpath.c", line 40: parameter redeclared: xmlChar
"xpath.c", line 40: warning: old-style declaration or incorrect type
for: pgxmlNodeSetToText
"xpath.c", line 42: syntax error before or at: res
"xpath.c", line 42: warning: undefined or missing type for: res
"xpath.c", line 43: parameter redeclared: xmlChar
"xpath.c", line 43: parameter redeclared: xmlChar
"xpath.c", line 45: warning: old-style declaration or incorrect type
for: xmlChar
"xpath.c", line 45: warning: identifier redeclared; ANSI C requires
"static": xmlChar
"xpath.c", line 45: syntax error before or at: *
"xpath.c", line 45: warning: old-style declaration or incorrect type
for: pgxml_texttoxmlchar
"xpath.c", line 47: syntax error before or at: pgxml_xpath
"xpath.c", line 47: syntax error before or at: xmlChar
"xpath.c", line 47: warning: undefined or missing type for: xmlChar
"xpath.c", line 47: warning: old-style declaration or incorrect type
for: pgxml_xpath
"xpath.c", line 157: undefined symbol: xmlLoadExtDtdDefaultValue
"xpath.c", line 175: undefined symbol: xmlDocPtr
"xpath.c", line 175: syntax error before or at: doctree
"xpath.c", line 176: warning: declaration can not follow a statement
"xpath.c", line 177: warning: declaration can not follow a statement
"xpath.c", line 181: undefined symbol: doctree
"xpath.c", line 190: cannot recover from previous errors
cc: acomp failed for xpath.c
Reaping losing child 0x080a3290 PID 1718
gmake: *** [xpath.o] Error 2
Removing child 0x080a3290 PID 1718 from chain.

The other problem was compiling uuid-opps and tablefunc contribs.

Someone had the same problems.

I'm using gmake and sunstudio 12 for compiling.

Thkx!

--
Emanuel Calvo Franco
www.emanuelcalvofranco.com.ar

Responses

Browse pgsql-general by date

  From Date Subject
Next Message nha 2009-07-29 14:26:54 Re: combining db's- importing primary keys
Previous Message Bob Gobeille 2009-07-29 14:19:07 Re: combining db's- importing primary keys