Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kf0BN-0007of-KG for pgsql-general@arkaria.postgresql.org; Tue, 17 Nov 2020 12:34:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kf0BM-0002PB-EX for pgsql-general@arkaria.postgresql.org; Tue, 17 Nov 2020 12:34:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kf0BL-0002P4-S0 for pgsql-general@lists.postgresql.org; Tue, 17 Nov 2020 12:33:59 +0000 Received: from stz-bg.com ([46.40.123.212] helo=mail.stzbg.com) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kf0BE-0005X2-E4 for pgsql-general@lists.postgresql.org; Tue, 17 Nov 2020 12:33:58 +0000 Received: from www.stz-bg.com (stz-bg.com [IPv6:2a02:6800:0:99::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: condor@stz-bg.com) by mail.stzbg.com (Postfix) with ESMTPSA id CA0C92E0B4D; Tue, 17 Nov 2020 14:33:48 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stz-bg.com; s=mail; t=1605616428; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=A5LC8yeg5aFOwnRtdllO3y7fWuFoZ8Ojoo1qaqy6UC4=; b=hNdC/+vYxPE1EWX2mhLw07UYj3Q5DxfADEWqqhmJk/bM3bqLRR5Udil4jMioVOrLxGyneL XkrQINcjO1B3KO7XdFENmDwNYcaEf2H4ShY0LXSqwz6Sn6rXecyO59ZX8dTBrcaH6k65lJ mJqQgWJ8YKIJkNNZBIark4InWMZlhSE= MIME-Version: 1.0 Date: Tue, 17 Nov 2020 14:33:48 +0200 From: Condor To: Thomas Munro Cc: Tom Lane , Laurenz Albe , "pgsql-generallists.postgresql.org" Subject: Re: Unable to compile postgres 13.1 on Slackware current x64 In-Reply-To: References: <7a6f3336165bfe3ca66abcda7966f9d0@stz-bg.com> <72da0c8a1303691faed52afc641713a65b5eb80f.camel@cybertec.at> <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> User-Agent: Roundcube Webmail/1.4.9 Message-ID: <8ca8b0a2f715c8981513bf22ff22b50f@stz-bg.com> X-Sender: condor@stz-bg.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 17-11-2020 11:00, Thomas Munro wrote: > On Tue, Nov 17, 2020 at 8:02 PM Condor 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