Re: configure PostgreSQL with the python: distutils module not found

From: Andre Mikulec <andre_mikulec(at)hotmail(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, "Adrian Klaver" <adrian(dot)klaver(at)aklaver(dot)com>
Subject: Re: configure PostgreSQL with the python: distutils module not found
Date: 2016-10-21 05:39:29
Message-ID: CY1PR03MB2187B3665D1CA68EF1C1D7149CD40@CY1PR03MB2187.namprd03.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Adrian,

I am sorry. I am not trying to use the Language Packs, to build my own custom version of a Language. I mispoke myself.

Thanks,

Andre Mikulec
Andre_Mikulec(at)Hotmail(dot)com

________________________________
From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Sent: Thursday, October 20, 2016 9:58 AM
To: Andre Mikulec; pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] configure PostgreSQL with the python: distutils module not found

On 10/20/2016 06:44 AM, Andre Mikulec wrote:
>
> Hi,
>

For this and your subsequent posts.

Did you install Postgres from the EDB installer?

If so then:

http://forums.enterprisedb.com/posts/list/4312.page#15381

http://get.enterprisedb.com/docs/README-edb-languagepack-9.6.txt
get.enterprisedb.com<http://get.enterprisedb.com/docs/README-edb-languagepack-9.6.txt>
get.enterprisedb.com
Language Pack Installers ===== Language pack installers contain supported languages that may be used with our PostgreSQL database installers.

If not then you can not use the Language Packs to build a PL.

Also(if not) where did you get your Postgres from and OS version are you
using?

> I am trying to configure PostgreSQL with the plpython language available.
>
> Here is my ./configure line
>
> TargetUser(at)TARGETMACH /c/postgres-master_0ab9c56_debug
> $ ./configure PYTHON=/c/EnterpriseDB/LanguagePack/9.5/x64/Python-3.3
> --with-python --with-includes=/c/EnterpriseDB/Lang
> uagePack/9.5/x64/Python-3.3/Include:/c/Users/TargetUser/Documents/zlib-1.2.8-win32-x86_64/include
> --with-libraries=/
> c/EnterpriseDB/LanguagePack/9.5/x64/Python-3.3:/c/EnterpriseDB/LanguagePack/9.5/x64/Python-3.3/DLLs:/c/EnterpriseDB/Lan
> guagePack/9.5/x64/Python-3.3/libs:/c/Users/TargetUser/Documents/zlib-1.2.8-win32-x86_64/bin:/c/Users/TargetUser/D
> ocuments/zlib-1.2.8-win32-x86_64/lib --host=x86_64-w64-mingw32
> --prefix=/usr/local/pgsql_0ab9c56_debug --disable-rpath
> --enable-depend --enable-cassert --enable-debug
> --with-extra-version=_CFLAGS_O_0ab9c56 CFLAGS="-O -fno-omit-frame-point
> er" 2>&1 | tee configure_OPTIONS.txt
>
> I am getting the error message.
>
> checking for python... /c/EnterpriseDB/LanguagePack/9.5/x64/Python-3.3
> checking for Python distutils module... no
> configure: error: distutils module not found
>
> However, I do have 'distutils'
>
> Python 3.3.4 (default, Jan 5 2016, 16:11:51) [MSC v.1800 64 bit
> (AMD64)] on w
> 32
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import distutils
>>>>
>
> Please help.
>
> Thank you.
>
> Andre Mikulec
> Andre_Mikulec(at)Hotmail(dot)com
>
>
>
>
>
>
>
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2016-10-21 05:43:50 Re: configure PostgreSQL with PERL: Perl version 5.8 or later is required, but this is .
Previous Message Andre Mikulec 2016-10-21 05:37:40 Re: configure PostgreSQL with PERL: Perl version 5.8 or later is required, but this is .