Re: Unable to compile postgres 13.1 on Slackware current x64

From: Condor <condor(at)stz-bg(dot)com>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Unable to compile postgres 13.1 on Slackware current x64
Date: 2020-11-17 12:33:48
Message-ID: 8ca8b0a2f715c8981513bf22ff22b50f@stz-bg.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 17-11-2020 11:00, Thomas Munro wrote:
> On Tue, Nov 17, 2020 at 8:02 PM Condor <condor(at)stz-bg(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2020-11-17 15:22:07 Re: I have just downloaded Postgre SQL and "pgadmin 4" doesn't open.
Previous Message Thomas Munro 2020-11-17 09:00:01 Re: Unable to compile postgres 13.1 on Slackware current x64