Re: Unable to compile postgres 13.1 on Slackware current x64

Поиск
Список
Период
Сортировка
От Condor
Тема Re: Unable to compile postgres 13.1 on Slackware current x64
Дата
Msg-id 8ca8b0a2f715c8981513bf22ff22b50f@stz-bg.com
обсуждение исходный текст
Ответ на Re: Unable to compile postgres 13.1 on Slackware current x64  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-general
On 17-11-2020 11:00, Thomas Munro wrote:
> On Tue, Nov 17, 2020 at 8:02 PM Condor <condor@stz-bg.com> wrote:
>> I try to compile postgres again with (cd src/backend/commands; sed
>> 's/TRUE/true/' collationcmds.c > collationcmds.c; ) and it's compiled
>> but get new error on linking:
> 
> Doesn't that produce an empty file collationcmds.c? I think you want:
> 
> sed 's/TRUE/true/' collationcmds.c > collationcmds.c.tmp && mv
> collationcmds.c.tmp collationcmds.c

Yes,
you are right. Changing script to (cd src/backend/commands; sed 
's/TRUE/true/' collationcmds.c > collationcmds.c.tmp; mv 
collationcmds.c.tmp collationcmds.c )
and PostgreSQL is compiled without any errors and working like a charm.

Best Regards,
Hristo Simeonov



В списке pgsql-general по дате отправления:

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: Unable to compile postgres 13.1 on Slackware current x64
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: I have just downloaded Postgre SQL and "pgadmin 4" doesn't open.