Re: Buildout error when installing python-ldap on RHEL 6.2 =?iso-2022-int-1?B?GyQoRyE3GyhC?= warning: unused variable ‘reqvalue’
dieter <[email protected]> Sat, 13 Jun 2015 07:38:30 +0200
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
David Siedband <[email protected]> writes: > 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 This looks like a version problem -- between the LDAP headers installed in your operating system (for the basic C ldap library) and what "python-ldap" expects. Check what LDAP version "python-ldap" expects and what LDAP version you have installed and see whether you can change things that they match. ------------------------------------------------------------------------------ _______________________________________________ Plone-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plone-users