Buildout error when installing python-lda p on RHEL 6.2 — warning: unused variable ‘r eqvalue’

David Siedband <[email protected]> Sat, 13 Jun 2015 00:15:57 +0900
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
I have a Plone server running on RHEL 6.2 installed via unified installer.

When I add python-ldap to my stack, I get the following error

Modules/LDAPObject.c:1300: error: ‘LDAPObject’ has no member named ‘_save’
Modules/LDAPObject.c:1300: error: ‘LDAPObject’ has no member named ‘_save’
Modules/LDAPObject.c:1305: error: ‘LDAP_SUCCESS’ undeclared (first use in this function)
Modules/LDAPObject.c:1306: error: ‘LDAPObject’ has no member named ‘ldap’
Modules/LDAPObject.c:1270: warning: unused variable ‘reqvalue’
error: Setup script exited with error: command 'gcc' failed with exit status 1
An error occurred when trying to install python-ldap 2.4.19. Look above this message for any errors that were output by easy_install.
While:
  Installing instance.
  Getting distribution for 'python-ldap'.
Error: Couldn't install: python-ldap 2.4.19

I also tried 2.4.18 and 2.4.17 but got the same result.
--
David Siedband
http://zentraal.com


------------------------------------------------------------------------------
_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users