[Openstack] lxml problem

Hua BJ Zhang zhhuabj at cn.ibm.com
Fri May 25 02:54:07 UTC 2012


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 at cn.ibm.com
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 at gmail.com>
To:	openstack at lists.launchpad.net,
Date:	24/05/2012 20:32
Subject:	[Openstack]  lxml problem
Sent by:	openstack-bounces+zhhuabj=cn.ibm.com at lists.launchpad.net



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 at Gmail.com
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120525/93378fef/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120525/93378fef/attachment.gif>


More information about the Openstack mailing list