Re: Compile error on RHEL 5.3 (x86_64), python-ldap-2.3.10

2009-11-13 Thread Michael Ströder
Zhang Huangbin wrote: On Nov 5, 2009, at 1:14 AM, Michael Ströder wrote: This is because of older OpenLDAP libs. Try the patch below. It's also in HEAD now. I tested patch moment ago, failed to build, same as in HEAD (checked out moment ago): Sorry, please try again from HEAD. I fixed

Re: Compile error on RHEL 5.3 (x86_64), python-ldap-2.3.10

2009-11-12 Thread Michael Ströder
Rob Orsini wrote: Hi, I'm also having trouble getting 2.3.10 to compile on RHEL 5. I tried applying the patches supplied in this thread (I just joined this email list, btw): In file included from Modules/LDAPObject.c:4: Modules/common.h:10:20: error: Python.h: No such file or directory

Re: Compile error on RHEL 5.3 (x86_64), python-ldap-2.3.10

2009-11-04 Thread Michael Ströder
Zhang Huangbin wrote: I got below compile error on Red Hat Enterprise Linux 5.3 (x86_64) with python-ldap-2.3.10, but 2.3.8 was compiled and installed success. What's wrong with it? Modules/constants.c:184: error: ‘LDAP_OPT_X_TLS_NEWCTX’ undeclared Well, I asked for testing long