Обсуждение: Installing plv89 extension to Postgres 13

Поиск
Список
Период
Сортировка

Installing plv89 extension to Postgres 13

От
Hasan Marzooq
Дата:
Hi.

I'm trying to install/create a plv8 extension in Postgres 13. Target machine OS/Architecture is:
--------
Linux version 4.14.252-195.483.amzn2.x86_64 (mockbuild@ip-10-0-32-100) (gcc version 7.3.1 20180712 (Red Hat 7.3.1-13) (GCC))
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
Amazon Linux release 2 (Karoo)
----------

I'm trying to follow plv8 build steps for Linux at: https://plv8.github.io

The problem I'm facing is in building libc++-dev and ibc++abi-dev - which is required to install/create plv8.

I want to know if there are any pre-compiled binaries and/or plv8 packages available that could be used to instal/create a plv8 extension in Postgres 13 on the aforementioned machine?

Thanks
Naqvi







Re: Installing plv89 extension to Postgres 13

От
Devrim Gündüz
Дата:
Hi,

On Mon, 2021-12-06 at 22:38 +0800, Hasan Marzooq wrote:
> The problem I'm facing is in building libc++-dev and ibc++abi-dev -
> which is required to install/create plv8.

I'm not that familiar with Debian, but I believe the first package is
gcc-c+ on RHEL family. I don't know the other one.

>
> I want to know if there are any pre-compiled binaries and/or plv8
> packages available that could be used to instal/create a plv8
> extension in Postgres 13 on the aforementioned machine?

No, and won't be. Building PL/v8 requires to download the whole
Internet, which is against packaging guidelines.

Regards,
--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

Вложения