I manually downloaded the python-ldap-3.1.0.tar.gz archive (this packet
is a dependencywhich gives that error).unpacked it and ran python
setup.py build.The same error:"running buildrunning build_pyrunning
egg_infowriting Lib/python_ldap.egg-info/PKG-INFOwriting dependency_links
to Lib/python_ldap.egg-info/dependency_links.txtwriting requirements to
Lib/python_ldap.egg-info/requires.txtwriting top-level names to
Lib/python_ldap.egg-info/top_level.txtreading manifest file
'Lib/python_ldap.egg-info/SOURCES.txt'reading manifest template
'MANIFEST.in'no previously-included directories found matching
'Doc/.build'writing manifest file 'Lib/python_ldap.egg-info/SOURCES.txt'running
build_extbuilding '_ldap' extensioncc -pthread -Wno-unused-result
-Wsign-compare -Wunreachable-code -DNDEBUG-O2 -pipe -fPIC -O2 -pipe -O2
-pipe -fPIC -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R-DHAVE_LIBLDAP_R
-DLDAPMODULE_VERSION=3.1.0 -DLDAPMODULE_AUTHOR=python-ldap 
project-DLDAPMODULE_LICENSE=Python
style -IModules 
-I/home/misa/REQUEST_TRACKER/rt/include-I/usr/local/include/python3.6m
-c Modules/LDAPObject.c-o
build/temp.openbsd-6.4-amd64-3.6/Modules/LDAPObject.o� � � � � � � � � � � � � 
� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � 
� � � � � � � � � � � � � � � � � � � � � � � � 
� In file included from Modules/LDAPObject.c:8:Modules/constants.h:7:10:
fatal error: 'lber.h' file not found#include "lber.h"� � � � � � � � 
^~~~~~~~1 error generated.error: command 'cc' failed with exit status 1� As
already noticed THERE IS a file lber.h on my system.The thing is it is no
seen by the installer� I run pip3 inside a virtualenv.Without using a
venv I have the same result--� Maksim Rodin� � � 27.08.2018, 15:10,
"flipchan" <flipc...@riseup.net>:

  Try manually downloading it from pypi.python.org and running Python
  setup.py build and Python setup.py install
  � On August 27, 2018 10:09:48 AM UTC, "Максим" <a23s4a2...@yandex.ru>
  wrote:

    Sorry, I was wrong.
    There is a file "lber.h" on the system (/usr/local/include/lber.h)
    But the installer doesn't seem to know where to find it.
    So the question remains.
    
    -- 
    Maksim Rodin
    
    
    27.08.2018, 11:52, "Stuart Henderson" <s...@spacehopper.org>:
     On 2018-08-27, Максим <a23s4a2...@yandex.ru> wrote:
      Hello.
      I'm trying to install some django components, which
      require development libraries be installed on the system to
      successfully compile.
      If it goes about Ubuntu I understand that I have to install
      something like "packet-dev" with the command
      "sudo apt install packet-dev"
      What are my steps to make something equal on OpenBSD (6.3/amd64)?
      I suppose I should begin with fetching the ports tree.
      But what else? How do I make install script find the dev-libraries needed?
    
      In my case I'm trying to install django-ldap-auth using pip.
      When the installer begins to compile he complains that it cannot find 
some files:
      "In file included from Modules/LDAPObject.c:8:
      Modules/constants.h:7:10: fatal error: 'lber.h' file not found
      #include "lber.h"
      1 error generated.
      error: command 'cc' failed with exit status 1"
    
     Specifically for this: pkg_add openldap-client
    
     In general: pkg_add pkglocatedb and use the pkg_locate command.
  


  --
  Take Care Sincerely flipchan layerprox dev

Reply via email to