You have you install the development headers of sasl and ldap to fix that
error.

On Friday, July 5, 2013, Andrey Novoseltsev wrote:

> On Friday, 5 July 2013 04:58:11 UTC-6, Dima Pasechnik wrote:
>>
>> (pyhton)-openssl, it seems, is necessary to make easy_install working.
>>
>>
> I have installed optional packages openssl and pyopenssl and now I am
> getting this:
> (sage-sh) novoselt@sage:~$ easy_install python-ldap
> Searching for python-ldap
> Reading http://pypi.python.org/simple/python-ldap/
> Best match: python-ldap 2.4.13
> Downloading
> https://pypi.python.org/packages/source/p/python-ldap/python-ldap-2.4.13.tar.gz#md5=74b7b50267761540451eade44b2049ee
> Processing python-ldap-2.4.13.tar.gz
> Running python-ldap-2.4.13/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-97rtiU/python-ldap-2.4.13/egg-dist-tmp-KwQNj5
> defines: HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
> extra_compile_args:
> extra_objects:
> include_dirs: /opt/openldap-RE24/include /usr/include/sasl /usr/include
> library_dirs: /opt/openldap-RE24/lib /usr/lib
> libs: ldap_r
> file Lib/ldap.py (for module ldap) not found
> file Lib/ldap/controls.py (for module ldap.controls) not found
> file Lib/ldap/extop.py (for module ldap.extop) 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/controls.py (for module ldap.controls) not found
> file Lib/ldap/extop.py (for module ldap.extop) 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/controls.py (for module ldap.controls) not found
> file Lib/ldap/extop.py (for module ldap.extop) not found
> file Lib/ldap/schema.py (for module ldap.schema) not found
> In file included from Modules/LDAPObject.c:9:0:
> Modules/errors.h:8:18: fatal error: lber.h: No such file or directory
> compilation terminated.
> error: Setup script exited with error: command 'gcc' failed with exit
> status 1
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected] <javascript:_e({},
> 'cvml', 'sage-support%[email protected]');>.
> To post to this group, send email to 
> [email protected]<javascript:_e({}, 'cvml', 
> '[email protected]');>
> .
> Visit this group at http://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to