The following bug has been logged online:
Bug reference: 3414
Logged by: Geoff Taylor
Email address: geoff.taylor@qlogic.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@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