BUG #3414: client-only install fails due to parse.h file not found

From: "Geoff Taylor" <geoff(dot)taylor(at)qlogic(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #3414: client-only install fails due to parse.h file not found
Date: 2007-06-26 21:33:27
Message-ID: 200706262133.l5QLXRvR019830@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 3414
Logged by: Geoff Taylor
Email address: geoff(dot)taylor(at)qlogic(dot)com
PostgreSQL version: 8.1.9
Operating system: Redhat Linux
Description: client-only install fails due to parse.h file not found
Details:

I tried the client-only install for the 8.1.9 tarball.

I downloaded the tarball, unzipped, untarred.
Then I ran ./configure with no options.

On the first step:
gmake -C src/bin install

make couldn't find parse.h. (see log below)

Later I got it to compile OK by copying:

cp src/backend/parser/parse.h src/include/parser/

Log snippet for the compile failure:

[root(at)agate postgresql-8.1.9]# gmake -C src/bin install

<snip>
make[2]: Entering directory `/tmp/postgresql-8.1.9/src/backend/parser'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -W endif-labels -fno-strict-aliasing -I.
-I../../../src/include -D_GNU_SOURCE -c -o keywords. o keywords.c
keywords.c:21:26: parser/parse.h: No such file or directory
keywords.c:33: error: `ABORT_P' undeclared here (not in a function)
keywords.c:33: error: initializer element is not constant

Browse pgsql-bugs by date

  From Date Subject
Next Message Matt 2007-06-27 02:57:58 BUG #3415: plperl spi_exec_prepared variable undef value confusion
Previous Message Tom Lane 2007-06-26 19:21:19 Re: PL/pgSQL RAISE EXCEPTION ignores escape characters even with new E'' string syntax