From: Mirko Zeibig <mirko-postgresql@zeibig.net>
To: pgsql-sql@postgresql.org
Cc: Theo.Galanakis@lonelyplanet.com.au
Subject: Re: FW: Working with XML.
Date: Mon, 21 Feb 2005 21:36:17 +0100
Message-ID: <421A4641.7010504@zeibig.net> (raw)
In-Reply-To: <D1444817B78AB546BF2896C2B70E7F04371EF2@ganesh.au.lpint.net>
References: <D1444817B78AB546BF2896C2B70E7F04371EF2@ganesh.au.lpint.net>
Theo Galanakis wrote:
> Hi,
> I have copied all the files manually from http
> <http://developer.postgresql.org/docs/pgsql/contrib/;
> ://developer.postgresql.org/docs/pgsql/contrib/ for the xml2 contribution.
> However I have the following issue when I attempt to compile with gmake:
>
> gcc -I/usr/include/libxml2 -fpic -I. -I../../src/include -D_GNU_SOURCE -c
> -o xpath.o xpath.c
> xpath.c: In function `xpath_table':
> xpath.c:689: `work_mem' undeclared (first use in this function)
> xpath.c:689: (Each undeclared identifier is reported only once
> xpath.c:689: for each function it appears in.)
> gmake: *** [xpath.o] Error 1
>
> I have installed :
>
> libxml2-devel-2.5.10-1.rpm
>
> What am I doing wrong, or can someone point me to the direction of a binary
> for XML2 on RedHat ES3, Postgres 7.4.5.
Hello Theo,
this has nothing to do with libxml2. `work_mem` is a variable declared
in one of the PostgreSQL include files. The `-I../../src/include`
directive in the compile statement above should point to the include-dir
of your PostgreSQL installation.
Regards
Mirko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: mirko-postgresql@zeibig.net, Theo.Galanakis@lonelyplanet.com.au
Subject: Re: FW: Working with XML.
In-Reply-To: <421A4641.7010504@zeibig.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox