Subject: Re: pkgsrc NetBSD 2.0_RC1/x86_64 bulk build results 2004-11-12
To: D'Arcy J.M. Cain <>
From: Thomas Klausner <>
List: pkgsrc-bulk
Date: 11/19/2004 22:00:58
On Thu, Nov 18, 2004 at 06:59:56AM -0500, D'Arcy J.M. Cain wrote:
> On Wed, 17 Nov 2004 16:54:15 +0100
> Thomas Klausner <> wrote:
> > > databases/py-postgresql    1
> > 
> > configure: error: Python not found
> > 
> > Missing dependency?
> > 
> I don't see how.  Doesn't the following line create (through a couple of
> nested includes) a build time dependency?
> .include "../../lang/python/"

Oops, sorry, I pasted the wrong error.
The "Python not found" one is from postgresql74-plpython.

The error for py-postgresql is more or less postgresql not

pg_config: not found
pg_config: not found
pg_config: not found
running build
running build_py
creating build
creating build/lib.netbsd-2.0_RC1-amd64-2.3
copying -> build/lib.netbsd-2.0_RC1-amd64-2.3
copying -> build/lib.netbsd-2.0_RC1-amd64-2.3
running build_ext
building '_pg' extension
creating build/temp.netbsd-2.0_RC1-amd64-2.3
gcc -fno-strict-aliasing -DNDEBUG -O2 -I/usr/include -O2 -I/usr/pkg/include/python2.3 -I/usr/pkg/include/postgresql -I/usr/include -I/usr/pkg/include/python2.3 -I/usr/pkg/include/postgresql -I/usr/include -fPIC -I -I -I/usr/pkg/include/python2.3 -c pgmodule.c -o build/temp.netbsd-2.0_RC1-amd64-2.3/pgmodule.o
pgmodule.c:30:22: postgres.h: No such file or directory
pgmodule.c:33:29: catalog/pg_type.h: No such file or directory

I guess only the postgresql-libs dependency is pulled in,
but the pg_config executable is in postgresql-client.
Should it perhaps be moved to -libs instead?