solaris:python-ldap
Sourcen:
Genutzt python-ldap-2.3.4 ( bei 2.3.5 gabs Probleme)
Verändern von zwei Dateien im python-ldap Paket Nach Auspacken im Pythonverzeichnis:
$ cd /tmp/python-ldap-2.3.4 $ diff ./setup.cfg.ORI ./setup.cfg 10,11c10,11 < library_dirs = /usr/local/openldap-2.3/lib < include_dirs = /usr/local/openldap-2.3/include /usr/include/sasl --- > library_dirs = /opt/sfw/lib > include_dirs = /opt/sfw/include /usr/include/sasl
$ diff ./Modules/constants.c.ORI ./Modules/constants.c 177c177 < /* only available if OpenSSL supports it => might cause backward compability problems */ --- > /* only available if OpenSSL supports it => might cause backward compability problems 181c181 < add_int(d,OPT_X_TLS_CRL_ALL); --- > add_int(d,OPT_X_TLS_CRL_ALL); */
Als root:
python-lda nutzt Bibliotheken von openldap. Deshalb muessen die Pakete SFWbdb SFWoldap installiert sein. Sie sind auf der Solaris companion-DVD zu finden.
Zusaetzlich Link setzen:
ln -s /usr/lib/mps/sasl2/libsasl.so /usr/lib/libsasl2.so
PATH=/bin:/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/sfw/sbin:/opt/sbin:/opt/sfw/bin:/usr/local/bin
export PATH python setup.py build cd - python setup.py install
Ausgabe: ———————————–
extra_compile_args: extra_objects: include_dirs: /opt/sfw/include /usr/include/sasl library_dirs: /opt/sfw/lib libs: ldap_r lber sasl2 ssl crypto running install running build running build_py 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 running build_ext running install_lib copying build/lib.solaris-2.10-sun4u-2.4/ldapurl.py -> /usr/lib/python2.4/site-packages copying build/lib.solaris-2.10-sun4u-2.4/ldif.py -> /usr/lib/python2.4/site-packages copying build/lib.solaris-2.10-sun4u-2.4/dsml.py -> /usr/lib/python2.4/site-packages creating /usr/lib/python2.4/site-packages/ldap copying build/lib.solaris-2.10-sun4u-2.4/ldap/__init__.py -> /usr/lib/python2.4/site-packages/ldap copying build/lib.solaris-2.10-sun4u-2.4/ldap/async.py -> /usr/lib/python2.4/site-packages/ldap copying build/lib.solaris-2.10-sun4u-2.4/ldap/controls.py -> /usr/lib/python2.4/site-packages/ldap copying build/lib.solaris-2.10-sun4u-2.4/ldap/cidict.py -> /usr/lib/python2.4/site-packages/ldap copying build/lib.solaris-2.10-sun4u-2.4/ldap/dn.py -> /usr/lib/python2.4/site-packages/ldap copying build/lib.solaris-2.10-sun4u-2.4/ldap/filter.py -> /usr/lib/python2.4/site-packages/ldap copying build/lib.solaris-2.10-sun4u-2.4/ldap/functions.py -> /usr/lib/python2.4/site-packages/ldap copying build/lib.solaris-2.10-sun4u-2.4/ldap/ldapobject.py -> /usr/lib/python2.4/site-packages/ldap copying build/lib.solaris-2.10-sun4u-2.4/ldap/modlist.py -> /usr/lib/python2.4/site-packages/ldap copying build/lib.solaris-2.10-sun4u-2.4/ldap/sasl.py -> /usr/lib/python2.4/site-packages/ldap creating /usr/lib/python2.4/site-packages/ldap/schema copying build/lib.solaris-2.10-sun4u-2.4/ldap/schema/__init__.py -> /usr/lib/python2.4/site-packages/ldap/schema copying build/lib.solaris-2.10-sun4u-2.4/ldap/schema/models.py -> /usr/lib/python2.4/site-packages/ldap/schema copying build/lib.solaris-2.10-sun4u-2.4/ldap/schema/subentry.py -> /usr/lib/python2.4/site-packages/ldap/schema copying build/lib.solaris-2.10-sun4u-2.4/ldap/schema/tokenizer.py -> /usr/lib/python2.4/site-packages/ldap/schema copying build/lib.solaris-2.10-sun4u-2.4/_ldap.so -> /usr/lib/python2.4/site-packages byte-compiling /usr/lib/python2.4/site-packages/ldapurl.py to ldapurl.pyc byte-compiling /usr/lib/python2.4/site-packages/ldif.py to ldif.pyc byte-compiling /usr/lib/python2.4/site-packages/dsml.py to dsml.pyc byte-compiling /usr/lib/python2.4/site-packages/ldap/__init__.py to __init__.pyc byte-compiling /usr/lib/python2.4/site-packages/ldap/async.py to async.pyc byte-compiling /usr/lib/python2.4/site-packages/ldap/controls.py to controls.pyc byte-compiling /usr/lib/python2.4/site-packages/ldap/cidict.py to cidict.pyc byte-compiling /usr/lib/python2.4/site-packages/ldap/dn.py to dn.pyc byte-compiling /usr/lib/python2.4/site-packages/ldap/filter.py to filter.pyc byte-compiling /usr/lib/python2.4/site-packages/ldap/functions.py to functions.pyc byte-compiling /usr/lib/python2.4/site-packages/ldap/ldapobject.py to ldapobject.pyc byte-compiling /usr/lib/python2.4/site-packages/ldap/modlist.py to modlist.pyc byte-compiling /usr/lib/python2.4/site-packages/ldap/sasl.py to sasl.pyc byte-compiling /usr/lib/python2.4/site-packages/ldap/schema/__init__.py to __init__.pyc byte-compiling /usr/lib/python2.4/site-packages/ldap/schema/models.py to models.pyc byte-compiling /usr/lib/python2.4/site-packages/ldap/schema/subentry.py to subentry.pyc byte-compiling /usr/lib/python2.4/site-packages/ldap/schema/tokenizer.py to tokenizer.pyc writing byte-compilation script '/tmp/tmpJHY2rE.py' /bin/python -O /tmp/tmpJHY2rE.py removing /tmp/tmpJHY2rE.py
solaris/python-ldap.txt · Zuletzt geändert: 2024/08/07 13:39 von 127.0.0.1