These are chat archives for allegro/ralph

24th
Aug 2017
Paweł
@ziompaul
Aug 24 2017 07:59
@ostrochovsky Half year ago I was comparing demo version of Ralph and GLPI. A few of my IT colegues from work, which had a deal with GLPI, told me, it requires modification to fit Data center assets requirements.
Paweł
@ziompaul
Aug 24 2017 08:33

ok copied requirements directory to /opt and ran pip install -r requirements/prod_ldap.txt

it finished with error:

    reading manifest file 'Lib/pyldap.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching 'Makefile'
    warning: no files found matching 'Modules/LICENSE'
    writing manifest file 'Lib/pyldap.egg-info/SOURCES.txt'
    running build_ext
    building '_ldap' extension
    creating build/temp.linux-x86_64-3.4
    creating build/temp.linux-x86_64-3.4/Modules
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototy                                                                                                                                                             pes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-secur                                                                                                                                                             ity -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIB                                                                                                                                                             LDAP_R -DLDAPMODULE_VERSION=2.4.37 -IModules -I/usr/include -I/usr/include/sasl                                                                                                                                                              -I/usr/local/include -I/usr/local/include/sasl -I/usr/include/python3.4m -I/opt/                                                                                                                                                             ralph/ralph-core/include/python3.4m -c Modules/LDAPObject.c -o build/temp.linux-                                                                                                                                                             x86_64-3.4/Modules/LDAPObject.o
    In file included from Modules/LDAPObject.c:9:0:
    Modules/errors.h:8:18: fatal error: lber.h: No such file or directory
     #include "lber.h"
                      ^
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

    ----------------------------------------
Command "/opt/ralph/ralph-core/bin/python3.4 -u -c "import setuptools, tokenize;                                                                                                                                                             __file__='/tmp/pip-build-vwma3x54/pyldap/setup.py';f=getattr(tokenize, 'open', o                                                                                                                                                             pen)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code,                                                                                                                                                              __file__, 'exec'))" install --record /tmp/pip-k6s79k0j-record/install-record.txt                                                                                                                                                              --single-version-externally-managed --compile --install-headers /opt/ralph/ralp                                                                                                                                                             h-core/include/site/python3.4/pyldap" failed with error code 1 in /tmp/pip-build                                                                                                                                                             -vwma3x54/pyldap/
root@skierlp01:/opt#