Skip to content

pip install xmlsec crashes on Debian #1

@yaroslav-ilin

Description

@yaroslav-ilin

I’m on Debian 7.7

Linux *.com 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2+deb7u2 x86_64 GNU/Linux

user@host:~$ dpkg --get-selections | grep libxml2
libxml2:amd64                   install
libxml2-dev:amd64               install
user@host:~$ dpkg --get-selections | grep libxmlsec1
libxmlsec1                  install
libxmlsec1-dev                  install
libxmlsec1-gcrypt               install
libxmlsec1-gnutls               install
libxmlsec1-nss                  install
libxmlsec1-openssl              install
user@host:~$ dpkg --get-selections | grep python-dev
python-dev                  install

Running pip install xmlsec fails to build with following message:

creating build/temp.linux-x86_64-2.7/src/xmlsec

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_OPENSSL_098=1 -DXMLSEC_NO_GOST=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_CRYPTO_OPENSSL=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_SIZE_T= -DXMLSEC_CRYPTO=openssl -I/usr/local/lib/python2.7/dist-packages/lxml -I/usr/local/lib/python2.7/dist-packages/lxml/includes -Isrc -I/usr/include/xmlsec1 -I/usr/include/libxml2 -I/usr/include/python2.7 -c src/xmlsec/constants.c -o build/temp.linux-x86_64-2.7/src/xmlsec/constants.o -DXMLSEC_CRYPTO_OPENSSL=1

gcc: error: src/xmlsec/constants.c: No such file or directory

gcc: fatal error: no input files

compilation terminated.

error: command 'gcc' failed with exit status 4

What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions