Search Postgresql Archives

Re: Unable to compile postgres 13.1 on Slackware current x64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17-11-2020 11:00, Thomas Munro wrote:
On Tue, Nov 17, 2020 at 8:02 PM Condor <condor@xxxxxxxxxx> 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





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux