Re: can't compile py-ldap2

2013-03-21 Thread Ruslan Makhmatkhanov

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.
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


can't compile py-ldap2

2013-03-21 Thread Len Conrad

FreeBSD 8.2-RELEASE FreeBSD 8.2-RELEASE #0

Python 2.7.3

cd /usr/ports/net/py-ldap2

make

...

writing top-level names to Lib/python_ldap.egg-info/top_level.txt
writing dependency_links to Lib/python_ldap.egg-info/dependency_links.txt
file Lib/ldap.py (for module ldap) not found
file Lib/ldap/controls.py (for module ldap.controls) not found
file Lib/ldap/extop.py (for module ldap.extop) not found
file Lib/ldap/schema.py (for module ldap.schema) not found
reading manifest file 'Lib/python_ldap.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'Makefile'
warning: no files found matching 'Modules/LICENSE'
writing manifest file 'Lib/python_ldap.egg-info/SOURCES.txt'
installing library code to build/bdist.freebsd-8.2-RELEASE-i386/egg
running install_lib
running build_py
file Lib/ldap.py (for module ldap) not found
file Lib/ldap/controls.py (for module ldap.controls) not found
file Lib/ldap/extop.py (for module ldap.extop) not found
file Lib/ldap/schema.py (for module ldap.schema) not found
file Lib/ldap.py (for module ldap) not found
file Lib/ldap/controls.py (for module ldap.controls) not found
file Lib/ldap/extop.py (for module ldap.extop) not found
file Lib/ldap/schema.py (for module ldap.schema) not found
running build_ext
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




___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"