public inbox for [email protected]  
help / color / mirror / Atom feed
From: Daniel Farina <[email protected]>
To: [email protected] <[email protected]>
Subject: Postgres 9.6 pgperl vs Amazon Linux 2017.03
Date: Fri, 26 May 2017 21:41:19 +0000
Message-ID: <CAOPfGFghBmgNaOXMj7z8a1oEfCiKcmOuY-nhOR=ByTknogD9+Q@mail.gmail.com> (raw)
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-pkg-yum>

Hello everyone,

This story starts with my trying to install postgresql96-plperl on Amazon
Linux 2017.03. I am using the Amazon Linux repo, but as I'm sure you know,
Amazon Linux tend to upgrade packages somewhat more frequently, often for
the better, but it causes stuff like this semi-regularly. I eventually
found that the issues are not that deep and a re-compile worked well, but I
wanted to document this issue.

In any case, "yum install" it does not work, dying like so:

Resolving Dependencies
--> Running transaction check
---> Package postgresql96-plperl.x86_64 0:9.6.3-1PGDG.rhel6 will be
installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.10.1) for package:
postgresql96-plperl-9.6.3-1PGDG.rhel6.x86_64
--> Finished Dependency Resolution
Error: Package: postgresql96-plperl-9.6.3-1PGDG.rhel6.x86_64 (pgdg96)
           Requires: perl(:MODULE_COMPAT_5.10.1)

The perl version is:

rpm -qv perl-devel
perl-devel-5.16.3-286.38.amzn1.x86_64

I downloaded the pgrpms repo and built postgres packages on Amazon Linux
2017.03 and it basically worked without a hitch....except, to throw in a
macro to disable systemd support (somehow, auto-detection isn't doing the
right thing there).

Cheers,
Daniel


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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: Postgres 9.6 pgperl vs Amazon Linux 2017.03
  In-Reply-To: <CAOPfGFghBmgNaOXMj7z8a1oEfCiKcmOuY-nhOR=ByTknogD9+Q@mail.gmail.com>

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

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