Adam Mills
Adam Mills

Reputation: 8109

Trouble installing dm.xmlsec.binding on Amazon Linux

Im attempting to install python-saml onto the latest Amazon Linux for Elasticbeanstalk (64bit Amazon Linux 2016.09 v2.3.3 running Python 2.7)

When it attempts to install dm.xmlsec.binding it fails with

Running setup.py (path:/tmp/pip-build-5dg8_B/dm.xmlsec.binding/setup.py) egg_info for package dm.xmlsec.binding
Running command python setup.py egg_info
Complete output from command python setup.py egg_info:
{standard input}: Assembler messages:
{standard input}:26237: Warning: end of file not at end of a line; newline inserted
{standard input}:26953: Error: unknown pseudo-op: `.l'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Building lxml version 3.7.3.
Building without Cython.
Using build configuration of libxslt 1.1.28
Building against libxml2/libxslt in the following directory: /usr/lib64
Compile failed: command 'gcc' failed with exit status 1

No issues on Ubuntu 16.04

Upvotes: 0

Views: 841

Answers (1)

Adam Mills
Adam Mills

Reputation: 8109

upgrading lxml fixed the issue

sudo pip install lxml --upgrade

Upvotes: 1

Related Questions