compilation on solaris2.8

Started by BRINER Cedricabout 22 years ago2 messagesgeneral
Jump to latest
#1BRINER Cedric
work@infomaniak.ch

Hi,

I dunno to who reports this, but to compile the postgres7.4.2, I've
added the following lines :
--extern char *rl_filename_completion_function (const char *, int);
which came from the readlines.h
in :
--./bin/psql/tab-complete.c
to compile it on solaris2.8

I know that this quite dirty and that It should better to include de
readlines correctly

Regards

C�dric BRINER

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: BRINER Cedric (#1)
Re: compilation on solaris2.8

BRINER Cedric <work@infomaniak.ch> writes:

I dunno to who reports this, but to compile the postgres7.4.2, I've
added the following lines :
--extern char *rl_filename_completion_function (const char *, int);
which came from the readlines.h
in :
--./bin/psql/tab-complete.c
to compile it on solaris2.8

tab-complete.c includes input.h which includes readline.h already.
You have not explained why that's broken on your setup, and I'm
disinclined to mess with it without a great deal more information ...

regards, tom lane