Il 16/03/2010 14.39, SauZheR ha scritto:
ciao, io ho dovuto pinnare la versione di python_ldap ad una meno
recente, piu' precisamente: la 2.3.9, che comunque soddisfa il vincolo
=>2.0.6
Puoi anche installarla via easy_install, pero' poi occhio a non dare
-n al bin/buildout ma -N
facce sape',
alessandro.
ho provato easy_install con le versioni 2.3.11 fino a 2.3.7 e con tutte
dà lo stesso errore:
[r...@centosploneui Python-2.4]# bin/easy_install python-ldap==2.3.9
Searching for python-ldap==2.3.9
Reading http://pypi.python.org/simple/python-ldap/
Reading http://www.python-ldap.org/
Reading http://python-ldap.sourceforge.net/
Reading
http://sourceforge.net/project/showfiles.php?group_id=2072&package_id=2011
Best match: python-ldap 2.3.9
Downloading
http://pypi.python.org/packages/source/p/python-ldap/python-ldap-2.3.9.tar.gz#md5=a9f9f16338288d118a1ae6266c993247
Processing python-ldap-2.3.9.tar.gz
e fino a qui tutto regolare
Running python-ldap-2.3.9/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-b6fArZ/python-ldap-2.3.9/egg-dist-tmp-ovtjkZ
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:17:
/usr/include/sasl/sasl.h:349: warning: function declaration isnât a
prototype
Modules/options.c: In function âLDAP_get_optionâ:
Modules/options.c:126: warning: unused variable âdoublevalâ
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
e qui finisce inesorabilmente
ma di che errore si tratta?
sembra quasi venga passata un'opzione (-R) che gcc non riconosce.
:(
_______________________________________________
Plone-IT mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html