Re: BUG #2688: Building from source with PL/Python fails ("distutils not found")

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-bugs(at)postgresql(dot)org
Cc: "Anastasios Hatzis" <ah(at)hatzis(dot)de>
Subject: Re: BUG #2688: Building from source with PL/Python fails ("distutils not found")
Date: 2006-10-12 14:53:05
Message-ID: 200610121653.06167.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Zubkovsky, Sergey 2006-10-12 16:11:06 IYYY: unexpected behaviour
Previous Message Anastasios Hatzis 2006-10-12 09:33:23 BUG #2688: Building from source with PL/Python fails ("distutils not found")