pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Condor <condor@stz-bg.com>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Unable to compile postgres 13.1 on Slackware current x64
Date: Tue, 17 Nov 2020 14:33:48 +0200
Message-ID: <8ca8b0a2f715c8981513bf22ff22b50f@stz-bg.com> (raw)
In-Reply-To: <CA+hUKGLYc5kQr04iBWkM=XvHLWjz7TzEUs3HuGtqViQEETDGVg@mail.gmail.com>
References: <7a6f3336165bfe3ca66abcda7966f9d0@stz-bg.com>
	<72da0c8a1303691faed52afc641713a65b5eb80f.camel@cybertec.at>
	<CA+hUKG+XnrPeVJaSE2cscA3ouvxeNzwTGU-cHpAKd-Jfzew8uA@mail.gmail.com>
	<772035.1605547803@sss.pgh.pa.us>
	<6f728bb717a30a78a16a10fe592fefa8921b8566.camel@cybertec.at>
	<774117.1605550263@sss.pgh.pa.us>
	<803454.1605557892@sss.pgh.pa.us>
	<16d6ff0bd0b36fd0493fa4d34698f2a0@stz-bg.com>
	<CA+hUKGLYc5kQr04iBWkM=XvHLWjz7TzEUs3HuGtqViQEETDGVg@mail.gmail.com>

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





view thread (14+ messages)  latest in thread

Message-ID: <8ca8b0a2f715c8981513bf22ff22b50f@stz-bg.com>
Permalink:  ../8ca8b0a2f715c8981513bf22ff22b50f@stz-bg.com/
Also on:    postgresql.org/message-id/8ca8b0a2f715c8981513bf22ff22b50f@stz-bg.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: condor@stz-bg.com, thomas.munro@gmail.com, tgl@sss.pgh.pa.us, laurenz.albe@cybertec.at
  Subject: Re: Unable to compile postgres 13.1 on Slackware current x64
  In-Reply-To: <8ca8b0a2f715c8981513bf22ff22b50f@stz-bg.com>
  References: <7a6f3336165bfe3ca66abcda7966f9d0@stz-bg.com> <72da0c8a1303691faed52afc641713a65b5eb80f.camel@cybertec.at> <CA+hUKG+XnrPeVJaSE2cscA3ouvxeNzwTGU-cHpAKd-Jfzew8uA@mail.gmail.com> <772035.1605547803@sss.pgh.pa.us> <6f728bb717a30a78a16a10fe592fefa8921b8566.camel@cybertec.at> <774117.1605550263@sss.pgh.pa.us> <803454.1605557892@sss.pgh.pa.us> <16d6ff0bd0b36fd0493fa4d34698f2a0@stz-bg.com> <CA+hUKGLYc5kQr04iBWkM=XvHLWjz7TzEUs3HuGtqViQEETDGVg@mail.gmail.com> <8ca8b0a2f715c8981513bf22ff22b50f@stz-bg.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox