← Back to team overview

openstack team mailing list archive

Re: lxml problem

 

Hi william,

    Now that you are failed to install lxml by source code, if you can try
to install lxml by binary, just use the command " yum install python-lxml "

    before doing it, make sure lxml is clean, you can "python-pip uninstall
lxml" first



Best Regards.

Zhang Hua(张华)
----------------------------------------------------
IBM China System and Technology Lab(CSTL), Beijing
E-Mail: zhhuabj@xxxxxxxxxx
Tel: 86-10-82452020
Address: Building 28(Ring Building), ZhongGuanCun Software Park,
         No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China
100193




From:	William Herry <william.herry.china@xxxxxxxxx>
To:	openstack@xxxxxxxxxxxxxxxxxxx,
Date:	24/05/2012 20:32
Subject:	[Openstack]  lxml problem
Sent by:	openstack-bounces+zhhuabj=cn.ibm.com@xxxxxxxxxxxxxxxxxxx



Hi

I am install openstack on centos 6.2 with git and I meet this error when
install lxml

running build_ext

building 'lxml.etree' extension

creating build/temp.linux-x86_64-2.6

creating build/temp.linux-x86_64-2.6/src

creating build/temp.linux-x86_64-2.6/src/lxml

gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv
-DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/libxml2
-I/usr/include/python2.6 -c src/lxml/lxml.etree.c -o
build/temp.linux-x86_64-2.6/src/lxml/lxml.etree.o -w

{standard input}: Assembler messages:

{standard input}:135675: Warning: end of file in string; '"' inserted

gcc: Internal error: Killed (program cc1)

Please submit a full bug report.

See <http://bugzilla.redhat.com/bugzilla> for instructions.

error: command 'gcc' failed with exit status 1

----------------------------------------
  Rolling back uninstall of lxml
Command /usr/bin/python -c "import
setuptools;__file__='/root/essex/build/lxml/setup.py';execfile(__file__)"
install --single-version-externally-managed
--record /tmp/pip-WQ9Gp9-record/install-record.txt failed with error code 1
Storing complete log in /root/.pip/pip.log

I'v make it work on centos before, I don't know what wrong step I made this
I install it because it is in nova/tools/pip-requires

thanks in advance



--

===========================
William Herry

WilliamHerryChina@xxxxxxxxx
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

GIF image


References