Topic: can't install python-ldap module
Hi! I'm trying to install iRedAdmin-PRO in my iRedMail server.
I'm following this instructions: http://www.iredmail.org/admin_installation_rhel.html
But I can't install the apache module mod_wsgi.
[root@correo ~]# easy_install web.py Jinja2 python-ldap==2.3.12 netifaces
Searching for web.py
Best match: web.py 0.34
Processing web.py-0.34-py2.4.egg
web.py 0.34 is already the active version in easy-install.pth
Using /usr/lib/python2.4/site-packages/web.py-0.34-py2.4.egg
Processing dependencies for web.py
Searching for Jinja2
Best match: Jinja2 2.2.1
Jinja2 2.2.1 is already the active version in easy-install.pth
Using /usr/lib/python2.4/site-packages
Processing dependencies for Jinja2
Searching for python-ldap==2.3.12
Reading http://cheeseshop.python.org/pypi/python-ldap/
Reading http://www.python-ldap.org/
Reading http://cheeseshop.python.org/pypi/python-ldap/2.3.12
Best match: python-ldap 2.3.12
Downloading http://pypi.python.org/packages/source/ … 94ba5c6f31
Processing python-ldap-2.3.12.tar.gz
Running python-ldap-2.3.12/setup.py -q bdist_egg --dist-dir /tmp/easy_install-xM1XuT/python-ldap-2.3.12/egg-dist-tmp-Ome7lC
extra_compile_args:
extra_objects:
include_dirs: /usr/local/openldap-2.3/include /usr/include/sasl
library_dirs: /usr/local/openldap-2.3/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
Modules/constants.c: In function ‘LDAPinit_constants’:
Modules/constants.c:184: error: ‘LDAP_OPT_X_TLS_CRLFILE’ undeclared (first use in this function)
Modules/constants.c:184: error: (Each undeclared identifier is reported only once
Modules/constants.c:184: error: for each function it appears in.)
error: Setup script exited with error: command 'gcc' failed with exit status 1
What could be happening?
Thank you in advance!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.