Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andre Mikulec <andre_mikulec@xxxxxxxxxxx> writes:
> I am trying to configure PostgreSQL with the plpython language available.

> Here is my ./configure line

> $ ./configure PYTHON=/c/EnterpriseDB/LanguagePack/9.5/x64/Python-3.3 --with-python --with-includes=/c/EnterpriseDB/Lang

Are you sure that that PYTHON specification actually points at a usable
executable?

> 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

The test that's failing is just

if "${PYTHON}" -c 'import distutils' 2>&AS_MESSAGE_LOG_FD
then
    AC_MSG_RESULT(yes)
else
    AC_MSG_RESULT(no)
    AC_MSG_ERROR([distutils module not found])
fi

so it seems pretty likely that the value of PYTHON you're forcing doesn't
identify a usable Python.  Looking into config.log to see what the stderr
output of this test was might be informative.

			regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux