2017-04-20 1 views
0

Im essayant d'installer python-SAML sur la dernière Amazon Linux pour Elasticbeanstalk (64bit Amazon Linux 2016,09 v2.3.3 en cours d'exécution Python 2.7)Problème installation dm.xmlsec.binding sur Amazon Linux

Quand il tente d'installer dm. xmlsec.binding il échoue avec

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 

Aucun problème sur Ubuntu 16.04

+1

Vous souhaiterez peut-être effectuer une mise à niveau vers la dernière version d'Amazon Linux AMI (2017.03) et réessayez; En général, l'erreur 'pseudo-op:' unknown 'signifie que votre toolchain est trop ancienne. –

+0

Non disponible actuellement pour EB –

Répondre

0

lxml mise à niveau fixe la question

sudo pip install lxml --upgrade