problem with postgresql-plpython

Josh Paetzel jpaetzel at FreeBSD.org
Mon Sep 22 18:34:30 UTC 2008


József Kurucz wrote:
> Hi,
> 
> I try to install the postgresql-plpython from ports ( i use FreeBSD 7
> stable;amd64)  but i get the following error message:
> 
> 
> 
> configure: error: threaded Python not supported on this platform
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to ports at FreeBSD.org [maintainer] and attach the
> "/usr/ports/databases/postgresql-plpython/work/postgresql-8.3.3/config.log"
> including the output of the failure of your make command. Also, it might be
> a good idea to provide an overview of all packages installed on your system
> (e.g. an `ls /var/db/pkg`).
> *** Error code 1
> 
> Stop in /usr/ports/databases/postgresql-plpython.
> 
> 
> 
> My installed packages:
> 
> 
> [root at coyote /usr/ports/databases]# ls /var/db/pkg/
> apache-2.2.9_5                  gmake-3.81_3
> openldap-client-2.4.11          py25-psycopg-1.1.21_1
> autoconf-2.62                   help2man-1.36.4_2
> p5-BSD-Resource-1.2901          py25-psycopg2-2.0.7_1
> autoconf-wrapper-20071109       libiconv-1.11_1
> p5-gettext-1.05_2               py25-pysqlite-2.3.5
> automake-1.9.6_3                libmemcache-1.4.0.rc2
> pcre-7.7_1                      py25-setuptools-0.6c8
> automake-wrapper-20071109       libtool-1.5.26
> perl-5.8.8_1                    python-2.5,2
> bash-3.2.39_1                   libxml2-2.6.32
> pkg-config-0.23_1               python25-2.5.2_3
> db41-4.1.25_4                   lighttpd-1.4.19_2
> portaudit-0.5.12                screen-4.0.3_5
> expat-2.0.1                     lua-5.1.3_3
> postgresql-client-8.3.3         sqlite3-3.5.6
> fam-2.6.10_3                    m4-1.4.11,1
> postgresql-server-8.3.3         tcl-8.4.19,1
> gdbm-1.8.3_3                    mod_perl2-2.0.4,3
> py25-cheetah-2.0.1
> gettext-0.17_1                  mysql-client-5.0.67
> py25-mx-base-2.0.6
> [root at coyote /usr/ports/databases]#
> 
> 
> 
> I attached the config.log!
> 
> 
> 
> Best Regards
> 
> Josef

Like the config.log says, a threaded python isn't supported on FreeBSD.
  The fix is to deinstall python, run make config in it's ports
directory again, deselect the threaded option, run make clean and
reinstall it.

Thanks,

Josh Paetzel


More information about the freebsd-ports mailing list