Re: python bug

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Gerhard Haering <haering_postgresql(at)gmx(dot)de>
Cc: PostgreSQL-interfaces <pgsql-interfaces(at)postgresql(dot)org>, darcy(at)druid(dot)net
Subject: Re: python bug
Date: 2002-12-30 05:09:57
Message-ID: 200212300509.gBU59vl25014@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces


Fix applied. I think we will be moving python and tcl out of /interfaces
to gborg for 7.4.

---------------------------------------------------------------------------

Gerhard Haering wrote:
> * Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> [2002-12-14 20:50 -0500]:
> > I saw this in the python source setup.py:
> >
> > include_dirs=['/usr/include/pgsql']
> > library_dirs=['usr/lib/pgsql']
> > ^^^
> > optional_libs=['pq']
> > data_files = []
> >
> > Is the lack of a leading slash correct?
>
> No.
>
> It should really be
>
> library_dirs=['/usr/lib/pgsql']
>
> *But* is this really the default place where PostgreSQL installs its
> libraries? I thought this was rather /usr/local/lib?
>
> If anybody wants to improve the setup.py part of PyGreSQL, I'd recommend
> you take a look at the setup.py file for our altnernative PostgreSQL/Python
> adapter:
>
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pypgsql/pypgsql/setup.py?rev=HEAD&content-type=text/vnd.viewcvs-markup
>
> We recently put considerable effort in to make pyPgSQL build out of the box
> on many platforms (Debian, SuSE, Redhat Linux, FreeBSD, OpenUnix, Windows,
> MacOS X, Cygwin plus untested support for a few other platforms).
>
> And of course pyPgSQL is licensed under a liberal BSD-like license as well
> :-)
>
> Btw. another question. I noticed that a few interfaces (Perl comes to mind)
> have been moved out of the PostgreSQL tree to gborg. Maybe it'd be a good
> idea to do that for PyGreSQL as well?
>
> -- Gerhard
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Palle Girgensohn 2002-12-30 14:03:27 Building PL/Perl without libperl.so fails
Previous Message Bruce Momjian 2002-12-30 04:59:21 Re: Patch for DBD::Pg pg_relcheck problem