SLES 11 SP3: SDK Repo & pg_config for PostgreSQL 9.1

Hi all,

I have a SLES 11 SP3 and I downloaded the SDK from SuSE.

I need to install PostgreSQL 9.1 on this system and pyscopg2, a python connector for PostgreSQL, but this one has to use the pg_config tool (a small tool who returns the BINDIR etc…) to the setup.py

  1. Is there an online repository for the SDK ?
    Why, because the latest iso of the SDK does not match the version of the SLES 11 SP3 binaries. Example: python 2.6.8 and python 2.6.0 :confused:

  2. I have to install PostgreSQL 9.1 and pg_config. pg_config is distributed with the devel package of PostgreSQL, but this one is not packaged in the SDK.

Can you help me ?

Thank you so much.

On 19/08/2013 14:44, stw openerp wrote:
[color=blue]

I have a SLES 11 SP3 and I downloaded the SDK from SuSE.

I need to install PostgreSQL 9.1 on this system and pyscopg2, a python
connector for PostgreSQL, but this one has to use the pg_config tool (a
small tool who returns the BINDIR etc…) to the setup.py

  1. Is there an online repository for the SDK ?
    Why, because the latest iso of the SDK does not match the version
    of the SLES 11 SP3 binaries. Example: python 2.6.8 and python 2.6.0 :/[/color]

Yes. If you have registered your server against SUSE Customer Center you
should be able to subscribe to the SLE11 SP3 SDK repositories
SLE11-SDK-SP3-Pool and SLE11-SDK-SP3-Updates.
[color=blue]

  1. I have to install PostgreSQL 9.1 and pg_config. pg_config is
    distributed with the devel package of PostgreSQL, but this one is not
    packaged in the SDK.[/color]

SLES11 SP3 includes both PostgreSQL versions 8.3 and 9.1. Packages for
the former are named postgresql-* whilst the latter are postgresql91-*.
[color=blue]

Can you help me ?[/color]

For pyscopg2 we add the Open Build Service’s python repository and
install from there -
http://download.opensuse.org/repositories/devel:/languages:/python/SLE_11_SP3/

HTH.

Simon
SUSE Knowledge Partner


Do you work with SUSE technologies at a university, college or school?
If so, your campus could benefit from joining the Technology Transfer
Partner (TTP) program. See novell.com/ttp for more details.

Hi stw_openerp,

[QUOTE=stw_openerp;15272]Hi all,

I have a SLES 11 SP3 and I downloaded the SDK from SuSE.

I need to install PostgreSQL 9.1 on this system and pyscopg2, a python connector for PostgreSQL, but this one has to use the pg_config tool (a small tool who returns the BINDIR etc…) to the setup.py

  1. Is there an online repository for the SDK ?
    Why, because the latest iso of the SDK does not match the version of the SLES 11 SP3 binaries. Example: python 2.6.8 and python 2.6.0 :/[/QUOTE]

The online repositories get automatically enabled when you install the SDK. Did you install it as an add-on product, or did you simply enable the ISO as a repository?

H, even if it weren’t in the SP3 SDK, the earlier version should catch (I don’t have an SP3 system at hand ATM):

[QUOTE]# zypper info postgresql-devel
Refreshing service ‘SMT-http_nde06_hh_nde_ag’.
Loading repository data…
Reading installed packages…

Information for package postgresql-devel:

Repository: SLE11-SDK-SP1-Updates
Name: postgresql-devel
Version: 8.3.18-0.3.1
Arch: x86_64
Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Support Level: unknown
Installed: No
Status: not installed
Installed Size: 3.2 MiB
Summary: PostgreSQL development header files and libraries
Description:
PostgreSQL is an advanced object-relational database management system
that supports an extended subset of the SQL standard, including
transactions, foreign keys, subqueries, triggers, and user-defined
types and functions.

This package contains the header files and libraries needed to compile
C applications which will directly interact with a PostgreSQL database
management server and the ECPG Embedded C Postgres preprocessor. You
need to install this package if you want to develop applications in C
which will interact with a PostgreSQL server.[/QUOTE]

Regards,
Jens

Thank you to everybody.

By the way, I have found the mirrors in the NCC and install it into the package managers. After that, there was no problem to install the postgresql91-devel package.

Thank you for your feedback,

Stéphane