From: | Devrim Gündüz <devrim(at)gunduz(dot)org> |
---|---|
To: | "Lubomirov, David" <david(dot)lubomirov(at)hpe(dot)com>, "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org> |
Subject: | Re: RPMs for RHEL 6.8 |
Date: | 2017-03-06 15:33:53 |
Message-ID: | 1488814433.552.3.camel@gunduz.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Hi David,
On Mon, 2017-03-06 at 14:32 +0000, Lubomirov, David wrote:
> On one secure server with no access to Repository I need to install packages
> that are needed to compile and install this python module "psycopg2".
> In order to build and install the above mentioned python module I need;
> pg_config program and libpq headers that comes with "postgresql-devels".
> The version that I'm trying to install of this module is 2.7, which is the
> last stable release, and it requires libpq that are version >= 9.1.0 .
> I try installing the below RPMs ( downloaded from https://yum.postgresql.org/
> 9.6/redhat/rhel-6.8-x86_64/ ), but even after that, the pg_config program is
> still not available:
>
> - postgresql96-devel-9.6.2-2PGDG.rhel6.x86_64.rpm<https://yum.postgr
> esql.org/9.6/redhat/rhel-6.8-x86_64/postgresql96-devel-9.6.2-
> 2PGDG.rhel6.x86_64.rpm>
>
> - postgresql96-libs-9.6.2-2PGDG.rhel6.x86_64.rpm<https://yum.postgre
> sql.org/9.6/redhat/rhel-6.8-x86_64/postgresql96-libs-9.6.2-
> 2PGDG.rhel6.x86_64.rpm>
>
> - postgresql96-9.6.2-2PGDG.rhel6.x86_64.rpm<https://yum.postgresql.o
> rg/9.6/redhat/rhel-6.8-x86_64/postgresql96-9.6.2-2PGDG.rhel6.x86_64.rpm>
>
> What else do I need to install ?
Nothing. It comes with postgresql96 package. It is under
/usr/pgsql-9.6/bin/pg_config .
You need to edit setup.py, and set pg_config to
pg_config=/usr/pgsql-9.6/bin/pg_config
psycopg2 2.7 RPMs will be available in an hour btw :)
Usual disclaimer: This is pgadmin mailing list, please either post to psycopg(at)postgresql(dot)org or pgsql-pkg-yum(at)postgresql(dot)org .
Regards,
--
Devrim Gündüz
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
From | Date | Subject | |
---|---|---|---|
Next Message | 2017-03-06 18:22:18 | Disable the "Save Password" checkbox in PGAdmin4 1.1 | |
Previous Message | Lubomirov, David | 2017-03-06 14:32:04 | RPMs for RHEL 6.8 |