Re: Unable to compile postgres 13.1 on Slackware current x64
Condor <condor@stz-bg.com>
From: Condor <condor@stz-bg.com>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Laurenz Albe <laurenz.albe@cybertec.at>,
"pgsql-generallists.postgresql.org" <pgsql-general@lists.postgresql.org>
Date: 2020-11-17T12:33:48Z
Lists: 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
Commits
-
Use "true" not "TRUE" in one ICU function call.
- ad84ecc98d7e 14.0 landed
- 89aa30a17968 11.11 landed
- 53c7b4f6221b 13.2 landed
- 029fa664ecb8 12.6 landed
-
Change TRUE/FALSE to true/false
- 2eb4a831e5fb 11.0 cited