Re: [HACKERS] pygres/python installation

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
Cc: "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>, Postgres Hackers List <hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] pygres/python installation
Date: 1999-06-20 06:19:43
Message-ID: 199906200619.HAA04971@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thomas Lockhart wrote:
>I'm trying to do some Linux rpms for the v6.5 release, and want to
>include more interfaces than RH has done in the past. The pygres
>installation instructions make no sense to me. There is a mention of a
>"make redhat", but no Makefile, and a mention of "building python",
>which is already on my system. Can anyone lead me through what
>*really* needs to be done? I'm guessing that README.linux is out of
>date, but don't know enough to be sure...

I believe it is.

Here are the instructions I use for building Pygresql for the Debian
distribution, which I put together after asking for help on Debian lists:

build-python:
cd src/interfaces/python && \
cp /usr/lib/python1.5/config/Makefile.pre.in `pwd`
cd src/interfaces/python && \
echo *shared* > Setup
cd src/interfaces/python && \
echo _pg pgmodule.c -I../../include -I../libpq \
-L../libpq -lpq -lcrypt \
>> Setup
cd src/interfaces/python && \
$(MAKE) -f Makefile.pre.in boot
cd src/interfaces/python && \
$(MAKE)
touch build-python

--
Vote against SPAM: http://www.politik-digital.de/spam/
========================================
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP key from public servers; key ID 32B8FAA1
========================================
"There is therefore now no condemnation to them which
are in Christ Jesus, who walk not after the flesh, but
after the Spirit." Romans 8:1

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 1999-06-20 09:21:44 Re: [HACKERS] BSD vs. GPL
Previous Message Bruce Momjian 1999-06-20 05:15:06 BSD vs. GPL