Обсуждение: compilation on solaris2.8

Поиск
Список
Период
Сортировка

compilation on solaris2.8

От
BRINER Cedric
Дата:
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

Re: compilation on solaris2.8

От
Tom Lane
Дата:
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