Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hU4RD-0005fv-UC for pgsql-admin@arkaria.postgresql.org; Fri, 24 May 2019 07:16:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hU4RC-00013x-EZ for pgsql-admin@arkaria.postgresql.org; Fri, 24 May 2019 07:16:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hU4RB-0000z6-W7 for pgsql-admin@lists.postgresql.org; Fri, 24 May 2019 07:16:22 +0000 Received: from knopi.disroot.org ([178.21.23.139]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hU4R8-0006zS-Cz for pgsql-admin@lists.postgresql.org; Fri, 24 May 2019 07:16:20 +0000 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id A29CA31E91; Fri, 24 May 2019 09:16:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3BTE9Exck0_M; Fri, 24 May 2019 09:16:14 +0200 (CEST) Subject: Re: pg_backrest build dependencies rpm's DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1558682174; bh=sGOchPVisdMBkfkVexibPJXg74zS3B3HP0FjodUHnLo=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=D8AihU/Ez1a/XgncLjX6GjPYXphQvcYzX8T5Ve1/VAhq7cv7SQCtNfZUF0SzoXEdT H7mDo1Dckxr9VBmTuwl5fwlAJj6FqEmkoTAvw01PR5vYE8sRnkDC7Mf5tE4zwAZWcQ rWGdflL3k5AMEC94jAWUphuA4A7MMigR2+o6OqRZTKs9uw2/b6jUjV2O7kvp3u27CZ K0jNtBqZjMC2iXh5T+0AERY6MyXJ7alJemSnMhRwdx8K8fjFKVS5mqOkWIPVJksF6h MBOzXnOqu9L6X62ZQeCEVfav4oVkAaJ+Iif4ubFJn/Ak/Zv+pAabojZLRu8TkUMt1U nr9wn7ARNrZ1A== To: Pavan Kumar References: <3fafbf1d-7fa4-09a9-cd69-8532df0d5a67@disroot.org> Cc: pgsql-admin@lists.postgresql.org From: Jakub Olczyk Openpgp: preference=signencrypt Autocrypt: addr=jwo@disroot.org; keydata= xsBNBFPd644BCACT+Fikmmlt4WqTJNIQUgEMW/iPlI71r31XSX+GsX8YHKFsKZrA/QINy0fE 1n/fdVLHt+GI21yv25+skUaCxlx1mKsr0Utusuhb+GlNxeveD9FmRRN/A3FT0PufK7Y3fFI8 BCIcfhkimV7f6W2GzDijv/mSOWyHhJH7Adun5DdXiiObQFSkgfGLaHEb5f62DTCLw6RUI6HN saCzeOhm7rCPC1fpX4Ydg8O4/Use4rboKDpsR7odR8SalifgysPHu3avwANvdb4UsxeI8D03 0TP3PgDBXovIEqIPqO87OydJuz69WeWOonJ10OzNsBPOtY5La1Zm6X0JXgdXz1cCGiZ7ABEB AAHNHkpha3ViIE9sY3p5ayA8andvQGRpc3Jvb3Qub3JnPsLAlwQTAQoAQQIbAwULCQgHAgYV CgkICwIEFgIDAQIeAQIXgAIZARYhBEBQIlDVAjQCDxPL/Xg9Ix6LH5X1BQJb8xlJBQkJ9mE7 AAoJEHg9Ix6LH5X1nXIIAI62elPjEwUmTriAi8GdtW/8IgESqfR7opt7wymItpFjpRIW+SNj +OaFus+fJDXsA5sOAo0h9UPMHskuIm6i8wgq7K+AL5LokIjDSElcXeErywlcQFMjSSApKnMY 1uoHxo1AVfqBc8jXR4z2V4P71IS+KChm8OIqT+bJMq5+yURjC1GZYWdeL8H38B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100101 Thunderbird/60.6.1 Mime-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kqYq6eiMr5KNsvO845v9wSWqjZ47zhkNC" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kqYq6eiMr5KNsvO845v9wSWqjZ47zhkNC Content-Type: multipart/mixed; boundary="Vj9JD9wb9cI2JLjy39v8VufTr4Cf6KupK"; protected-headers="v1" From: Jakub Olczyk To: Pavan Kumar Cc: pgsql-admin@lists.postgresql.org Message-ID: <5f1aeb58-2c06-e617-58db-bf429c3fd9f7@disroot.org> Subject: Re: pg_backrest build dependencies rpm's References: <3fafbf1d-7fa4-09a9-cd69-8532df0d5a67@disroot.org> In-Reply-To: --Vj9JD9wb9cI2JLjy39v8VufTr4Cf6KupK Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi Pavan, I think you forgot to add the list to your reply, so I am adding it right now. On 23/05/2019 17:46, Pavan Kumar wrote: > I installed pgdg repository rpm. >=20 > [root@katyayani ~]# rpm -Uvh pgdg-redhat-repo-latest.noarch.rpm > Preparing... ###########################################= [100%] > 1:pgdg-redhat-repo ###########################################= [100%] >=20 > when i query for rpm's in the repository, i don't see the rpm i am look= ing for=20 > [root@katyayani ~]# yum provides build > Loaded plugins: refresh-packagekit, security, ulninfo > Repository pgdg11 is listed more than once in the configuration > Repository pgdg96 is listed more than once in the configuration > Repository pgdg11-updates-testing is listed more than once in the confi= guration > Repository pgdg96-updates-testing is listed more than once in the confi= guration > Repository pgdg11-source is listed more than once in the configuration > Repository pgdg11-source-updates-testing is listed more than once in th= e configuration > Repository pgdg96-source is listed more than once in the configuration > Repository pgdg96-source-updates-testing is listed more than once in th= e configuration > pgdg94 = | 4.1 kB 00:00 > pgdg94/primary_db = | 238 kB 00:00 > pgdg95 = | 4.1 kB 00:00 > pgdg95/primary_db = | 242 kB 00:00 > Warning: 3.0.x versions of yum would erroneously match against filename= s. > You can use "*/build" and/or "*bin/build" to get that behaviour > No Matches found >=20 > Instead of configuring pgdg yum repository, is there any way to downloa= d rpm's from pgdg repository portal ? Well, I thought you might want to use the prepackaged version of pgbackrest from the repository that matches the version of PostgreSQL you have installed. So the command after installing the repository RPM would look like this: # yum install pgbackrest In that way you won't need to compile anything from scratch and you can count on the automated updates from the repository. If that approach isn't really working for you and you can only compile yourself the first step would be installing the @buildsys-build group which is roughly equivalent to build-essential from Debian world. As for other library packages I'd start with the ones that are listed as BuildRequires in the source RPM package from PGDG repository and later install anything that is still missing. So the command for installing packages required during build would be: # yum install @buildsys-build \ openssl-devel \ zlib-devel \ perl-ExtUtils-Embed Cheers, Jakub Olczyk --Vj9JD9wb9cI2JLjy39v8VufTr4Cf6KupK-- --kqYq6eiMr5KNsvO845v9wSWqjZ47zhkNC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJc55o9AAoJEHg9Ix6LH5X1HykIAIrJzVNVPgWofwZacSkm25Hm UZO0buAJpmE3H/+tfB75CX5SH71Q3DcFxEc7svcN2eVBynxKx+eq/Qrbf/7PxUrh IctzahiaYjBEziwVa8w00PhRwmtjT1s3mi/0arXXuBiwMOn/jbfIE0uocmA+n7i0 eWZpi4LurtbS8NG8R9BCJrT+H5l5C/X02ySApP4dS9oiAi17MdWiJfdEc0ptpBRU FdXieUMHXi2f5wR+L8565p6nG+x0YzR80FYTCqr7tpdutRWAGtUgx3g4KJR1wgJy 7bA+vtxt2/STrhTnQy98nM6pLsNf94swfG0a7LirgXyMjDfOvk6UklRIOR4bQ+U= =rU9R -----END PGP SIGNATURE----- --kqYq6eiMr5KNsvO845v9wSWqjZ47zhkNC--