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

begin:vcard
fn:Mirto Silvio Busico
n:Busico;Mirto Silvio
email;internet:[email protected]
tel;work:333 4562651
tel;cell:333 4562651
x-mozilla-html:TRUE
version:2.1
end:vcard

_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to