Re: Question: Mac OS 10.6 and Python 2.6

2010-03-02 Thread Torsten Kurbad
Hi John,

> I was wondering if anyone has been successful building
> packages for python-ldap for Mac OS X 10.6 and Python 2.6.

a bit outdated, but you might have a look at

http://svn.iwm-kmrc.de/download/distribution/contrib/python_ldap-2.3.9-py2.6-macosx-10.3-fat.egg

This .egg was built on OS X 10.5 and should work on any version (and
platform) from 10.3 through 10.6.

Exactly What kind of problem are you encountering while trying to
build on 10.6?
Did you install the latest XCode? Did you change the include- and
library-paths in python-ldap's setup.cfg according to your setup?

Best regards,
Torsten
-- 
  The scene is dull. Tell him to put more life into his dying.
  -Samuel Goldwyn

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Python-LDAP-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev


Re: Question: Mac OS 10.6 and Python 2.6

2010-03-02 Thread Michael Ströder
Torsten Kurbad wrote:
> Exactly What kind of problem are you encountering while trying to
> build on 10.6?

Note that recent release 2.3.11 contains fixes for backward-compability to
build with OpenLDAP 2.3 libs. You probably need that when building for
Mac OS X.

Ciao, Michael.

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Python-LDAP-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev


Re: Question: Mac OS 10.6 and Python 2.6

2010-03-02 Thread John Cody
I've got the 2.3.11 release of python-ldap, latest version of XCode, and
Python 2.6.2 installed.

I run: $ sudo python setup.py build
and I get the following output.

extra_compile_args:
extra_objects:
include_dirs: /usr/include /usr/include/sasl
library_dirs: /usr/lib
libs: ldap_r lber sasl2 ssl crypto
running build
running build_py
file Lib/ldap.py (for module ldap) not found
file Lib/ldap/schema.py (for module ldap.schema) not found
creating build/lib.macosx-10.3-fat-2.6
copying Lib/ldapurl.py -> build/lib.macosx-10.3-fat-2.6
copying Lib/ldif.py -> build/lib.macosx-10.3-fat-2.6
copying Lib/dsml.py -> build/lib.macosx-10.3-fat-2.6
creating build/lib.macosx-10.3-fat-2.6/ldap
copying Lib/ldap/__init__.py -> build/lib.macosx-10.3-fat-2.6/ldap
copying Lib/ldap/async.py -> build/lib.macosx-10.3-fat-2.6/ldap
copying Lib/ldap/controls.py -> build/lib.macosx-10.3-fat-2.6/ldap
copying Lib/ldap/cidict.py -> build/lib.macosx-10.3-fat-2.6/ldap
copying Lib/ldap/dn.py -> build/lib.macosx-10.3-fat-2.6/ldap
copying Lib/ldap/filter.py -> build/lib.macosx-10.3-fat-2.6/ldap
copying Lib/ldap/functions.py -> build/lib.macosx-10.3-fat-2.6/ldap
copying Lib/ldap/ldapobject.py -> build/lib.macosx-10.3-fat-2.6/ldap
copying Lib/ldap/modlist.py -> build/lib.macosx-10.3-fat-2.6/ldap
copying Lib/ldap/resiter.py -> build/lib.macosx-10.3-fat-2.6/ldap
copying Lib/ldap/sasl.py -> build/lib.macosx-10.3-fat-2.6/ldap
creating build/lib.macosx-10.3-fat-2.6/ldap/schema
copying Lib/ldap/schema/__init__.py ->
build/lib.macosx-10.3-fat-2.6/ldap/schema
copying Lib/ldap/schema/models.py ->
build/lib.macosx-10.3-fat-2.6/ldap/schema
copying Lib/ldap/schema/subentry.py ->
build/lib.macosx-10.3-fat-2.6/ldap/schema
copying Lib/ldap/schema/tokenizer.py ->
build/lib.macosx-10.3-fat-2.6/ldap/schema
file Lib/ldap.py (for module ldap) not found
file Lib/ldap/schema.py (for module ldap.schema) not found
running egg_info
writing requirements to Lib/python_ldap.egg-info/requires.txt
writing Lib/python_ldap.egg-info/PKG-INFO
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/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'
running build_ext
building '_ldap' extension
creating build/temp.macosx-10.3-fat-2.6
creating build/temp.macosx-10.3-fat-2.6/Modules
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -DHAVE_LIBLDAP_R
-DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=2.3.11 -IModules -I/usr/include
-I/usr/include/sasl
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c
Modules/LDAPObject.c -o build/temp.macosx-10.3-fat-2.6/Modules/LDAPObject.o
In file included from /usr/include/math.h:26,
 from
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyport.h:235,
 from
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:58,
 from Modules/common.h:10,
 from Modules/LDAPObject.c:4:
/usr/include/architecture/ppc/math.h:666: warning: conflicting types for
built-in function ‘scalb’
In file included from /usr/include/stdarg.h:4,
 from
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/unicodeobject.h:4,
 from
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:85,
 from Modules/common.h:10,
 from Modules/LDAPObject.c:4:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h:
No such file or directory
In file included from /usr/include/architecture/i386/math.h:626,
 from /usr/include/math.h:28,
 from
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyport.h:235,
 from
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:58,
 from Modules/common.h:10,
 from Modules/LDAPObject.c:4:
/usr/include/AvailabilityMacros.h:108:14: warning: #warning Building for
Intel with Mac OS X Deployment Target < 10.4 is invalid.
In file included from /usr/include/stdarg.h:4,
 from
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/unicodeobject.h:4,
 from
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:85,
 from Modules/common.h:10,
 from Modules/LDAPObject.c:4:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h:
No such file or directory
lipo: can't figure out the architecture type of: /var/tmp//cc5IXFBh.out
error: command 'gcc' fa