can't compile py-ldap2

Ruslan Makhmatkhanov cvs-src at yandex.ru
Thu Mar 21 12:29:30 UTC 2013


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.


More information about the freebsd-python mailing list