[Setup] Plone 3.3: buildout errors in getting python-ldap

Mirto Silvio Busico m.busico at ieee.org
Sat Aug 22 05:26:21 UTC 2009


Hi all,
I have a strange error in my buildout.

I added the plone.app.ldap product to the buildout.
It fails in installing the required python-ldap product.

The 
/usr/local/Plone33/buildout-cache/downloads/dist/python-ldap-2.3.9.tar.gz 
source file is correctly downloaded; but it is not extracted in the 
/usr/local/Plone33/buildout-cache/eggs directory and this causes the error.

As a workaround, I can copy the egg from a previous Plone install (3.3 
Rc 4) ant then all goes right.

I've reinstalled my machine so I suppose I missed to install some 
libary/tool before running the installer.

Any hint?

Thanks
Mirto

P.S. here is an extract from the buildout log:

Getting required 'python-ldap>=2.0.6'
required by Products.LDAPUserFolder 2.13.
We have no distributions for python-ldap that satisfies 
'python-ldap>=2.0.6'.
Getting distribution for 'python-ldap>=2.0.6'.
We have the distribution that satisfies 'setuptools==0.6c9'.
Running easy_install:
/usr/local/Plone33/Python-2.4/bin/python "-c" "from 
setuptools.command.easy_install import main; main()" "-mUNxd" 
"/usr/local/Plone33/buildout-cache/eggs/tmpytj52g" "-Z" "-q" 
"/usr/local/Plone33/buildout-cache/downloads/dist/python-ldap-2.3.9.tar.gz"
path=/usr/local/Plone33/buildout-cache/eggs/setuptools-0.6c9-py2.4.egg

extra_compile_args:
extra_objects:
include_dirs: /opt/openldap-RE24/include /usr/include/sasl
library_dirs: /opt/openldap-RE24/lib
libs: ldap_r lber sasl2 ssl crypto
file Lib/ldap.py (for module ldap) not found
file Lib/ldap/schema.py (for module ldap.schema) not found

[snip a lot of errors]

Modules/LDAPObject.c:1210: warning: unused variable 'user'
error: Setup script exited with error: command '/usr/bin/gcc' failed 
with exit status 1
An error occured when trying to install python-ldap 2.3.9.Look above 
this message for any errors thatwere output by easy_install.
While:
Installing client1.
Getting distribution for 'python-ldap>=2.0.6'.
Error: Couldn't install: python-ldap 2.3.9

-------------- next part --------------
A non-text attachment was scrubbed...
Name: m_busico.vcf
Type: text/x-vcard
Size: 175 bytes
Desc: not available
Url : http://lists.plone.org/pipermail/setup/attachments/20090822/c3753819/m_busico.vcf


More information about the Setup mailing list