Re: BUG #2688: Building from source with PL/Python fails ("distutils not found") - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: BUG #2688: Building from source with PL/Python fails ("distutils not found")
Date
Msg-id 200610121653.06167.peter_e@gmx.net
Whole thread Raw
In response to BUG #2688: Building from source with PL/Python fails ("distutils not found")  ("Anastasios Hatzis" <ah@hatzis.de>)
List pgsql-bugs
Anastasios Hatzis wrote:
> checking for python... /usr/local/bin/python
> checking for Python distutils module... no
> configure: error: distutils module not found

The actual check is

python -c 'import distutils'

Try and see what that does.

> But there is distutils in my Python installation:
> /usr/local/lib/python2.5/distutils/

That proves only that a directory by that name exists, but you haven't
shown any evidence that an importable Python module by that name
exists.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2689: pg_ctl status command causes invalid pointer error
Next
From: "Zubkovsky, Sergey"
Date:
Subject: IYYY: unexpected behaviour