In data martedì 16 marzo 2010 14:25:37, Giacomo Zanobini ha scritto:
> vorrei rendere possibile l'autenticazione tramite server openldap su 
> un'installazione di Plone appena fatta con unified installer (plone 
> 3.3.2) su Linux CentOs
> 
> ho modificato il buildout.cfg in questo modo
> 
> > eggs =
> >     Plone
> >     plone.app.ldap
> >
> > zcml =
> > #    plone.reload
> >     plone.app.ldap
> 
> gli egg necessari sono stati scaricati, ma quando eseguo il buildout 
> ottengo questo risultato:
> > [r...@centosploneui zeocluster]# bin/buildout -N
> > Updating zope2.
> > Updating fake eggs
> > Updating productdistros.
> > Updating zeoserver.
> > Installing client1.
> > Getting distribution for 'python-ldap>=2.0.6'.
> > 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
> > warning: no files found matching 'Makefile'
> > warning: no files found matching 'Modules/LICENSE'
> > file Lib/ldap.py (for module ldap) not found
> > file Lib/ldap/schema.py (for module ldap.schema) not found
> > file Lib/ldap.py (for module ldap) not found
> > file Lib/ldap/schema.py (for module ldap.schema) not found
> > *In file included from Modules/LDAPObject.c:18:
> > /usr/include/sasl/sasl.h:349: warning: function declaration isnât a 
> > prototype
> > gcc: unrecognized option '-R/opt/openldap-RE24/lib'*
> > /usr/bin/ld: cannot find -lssl
> > collect2: ld returned 1 exit status
> > 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.11.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.11
> 
> qualche hint ?

Metti le librerie python-ldap da sistema ed evita che te le metta il Buildout.

Fabry


-- 
Fabrizio Reale

Redomino S.r.l.
Largo Valgioie 14, 
10146 Torino Italy
Tel: +39 0117499875
http://redomino.com

_______________________________________________
Plone-IT mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html

Rispondere a