Skip to content

'xmlSecXkmsNs' undeclared #26

@say5

Description

@say5

It seems that in the latest version of xmlsec1 there is no XMKS. And pip install xmlsec fails on Alpinelinux with xmlsec==1.2.22.

    gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DXMLSEC_CRYPTO_OPENSSL=1 -DXMLSEC_DL_LIBLTDL=1 -DXMLSEC_NO_SIZE_T= -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_GOST=1 -DXMLSEC_OPENSSL_100=1 -DXMLSEC_NO_GOST2012=1 -Isrc -I/usr/local/lib/python2.7/site-packages/lxml/includes -I/usr/local/lib/python2.7/site-packages/lxml -I/usr/include/xmlsec1 -I/usr/include/libxml2 -I/usr/local/include/python2.7 -c src/xmlsec/constants.c -o build/temp.linux-x86_64-2.7/src/xmlsec/constants.o -DXMLSEC_CRYPTO_OPENSSL=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1
    src/xmlsec/constants.c: In function 'initconstants':
    src/xmlsec/constants.c:1760:41: error: 'xmlSecXkmsNs' undeclared (first use in this function)
       __pyx_t_2 = __pyx_f_6xmlsec_5utils__u(xmlSecXkmsNs); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 20, __pyx_L1_error)
                                             ^
    src/xmlsec/constants.c:1760:41: note: each undeclared identifier is reported only once for each function it appears in
    error: command 'gcc' failed with exit status 1

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