Error compiling tab-complete - Mailing list pgsql-general

From Roy P. Ammeraal
Subject Error compiling tab-complete
Date
Msg-id 200209141951.50449.roy@bargie.net
Whole thread Raw
Responses Re: Error compiling tab-complete  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
First I did a:
 ./configure --prefix=/home/postgres --with-perl --with-python --with-tcl
--with-odbcinst=/home/postgres/etc

Then I got:

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../src/interfaces/libpq -I../../../src/include   -c -o tab-complete.o
tab-complete.c
tab-complete.c: In function `psql_completion':
tab-complete.c:306: warning: implicit declaration of function
`rl_completion_matches'
tab-complete.c:306: `rl_compentry_func_t' undeclared (first use in this
function)
tab-complete.c:306: (Each undeclared identifier is reported only once
tab-complete.c:306: for each function it appears in.)
tab-complete.c:306: parse error before `)'
tab-complete.c:306: warning: assignment makes pointer from integer without a
cast
tab-complete.c:310: parse error before `)'
tab-complete.c:310: warning: assignment makes pointer from integer without a
cast
tab-complete.c:315: parse error before `)'
tab-complete.c:315: warning: assignment makes pointer from integer without a
cast
< this message keeps repeating...>
...
tab-complete.c:767: `rl_filename_completion_function' undeclared (first use in
this function)
tab-complete.c:767: warning: assignment makes pointer from integer without a
cast
tab-complete.c:782: parse error before `)'
tab-complete.c:782: warning: assignment makes pointer from integer without a
cast
tab-complete.c:796: parse error before `)'
tab-complete.c:796: warning: assignment makes pointer from integer without a
cast


I tried this on a Redhat 7.3 system running on an Athlon 1200 with 512Mb of
memory. Any ideas, hints, tips or tricks? Please cc my email address in your
response, which is greatly appreciated!

A happy postgresql user,

Roy

pgsql-general by date:

Previous
From: "Deepa"
Date:
Subject: database connectivty problem!
Next
From: Jochem van Dieten
Date:
Subject: Re: sum(if command