Menu

SuSE 9.2 + e4l -3.0.0.0-8 + compile

Help
balubaer
2005-04-05
2013-03-25
  • balubaer

    balubaer - 2005-04-05

    hello,

    after "make install" i get the following error message:
    ...
    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
    building '_ldap' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=2.0.4 -IModules -I/usr/local/openldap-OPENLDAP_REL_ENG_2_2/include -I/usr/local/sasl/include/sasl -I/usr/include/sasl -I/usr/lib/exchange4linux/include/python2.3-e4l -c Modules/constants.c -o build/temp.linux-i686-2.3/Modules/constants.o
    Modules/constants.c:10:18: lber.h: No such file or directory
    Modules/constants.c:11:18: ldap.h: No such file or directory
    Modules/constants.c: In function `LDAPinit_constants':
    Modules/constants.c:52: error: `LDAP_API_VERSION' undeclared (first use in this function)
    Modules/constants.c:52: error: (Each undeclared identifier is reported only once
    Modules/constants.c:52: error: for each function it appears in.)
    ....
    error: command 'gcc' failed with exit status 1
    make: *** [install-python-ldap] Error 1

    It seems that the ldap source code is missing ?
    How can i get and install the code.

    Any idea ?

    Thank you

    balubaer

     
    • Hans-Peter Stradinger

      Hi
      on SuSE 9.2 you need these packages:
      readline-devel
      openssl
      openssl-devel
      python-openssl

      openldap2
      openldap2-devel
      python-ldap
      cyrus-sasl-devel

      Seems that you only need the ldap stuff for going on.

      regards
      hps

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.