Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2013 16:28:56 +0400
From:      Ruslan Makhmatkhanov <cvs-src@yandex.ru>
To:        Len Conrad <LConrad@Go2France.com>
Cc:        freebsd-python@FreeBSD.org
Subject:   Re: can't compile py-ldap2
Message-ID:  <514AFD08.40602@yandex.ru>
In-Reply-To: <201303211323512.SM01804@W500.Go2France.com>
References:  <201303211323512.SM01804@W500.Go2France.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Len Conrad wrote on 21.03.2013 16:23:
> building '_ldap' extension
> cc -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -fPIC -DHAVE_TLS -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=2.4.10 -IModules -I/usr/local/include -I/usr/local/include/sasl -I/usr/include -I/usr/local/include/python2.7 -c Modules/LDAPObject.c -o temp.freebsd-8.2-RELEASE-i386-2.7/Modules/LDAPObject.o
> In file included from Modules/common.h:10,
>                   from Modules/LDAPObject.c:4:
> /usr/local/include/python2.7/Python.h:166:17: error: pth.h: No such file or directory
> error: command 'cc' failed with exit status 1
> *** Error code 1
>
> the same pkg in ftparchive for 8.2 is for python 2.6.
>
> Any way to get this compiled?
>
> thanks,
> Len

Am I right that you disabled THREADS options when building python? If 
yes, try to enable it and reinstall python, then try to build py-ldap2.

-- 
Regards,
Ruslan

Tinderboxing kills... the drives.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?514AFD08.40602>