<html><body>
<p><font size="2" face="sans-serif">Hi william,</font><br>
<br>
<font size="2" face="sans-serif">    Now that you are failed to install lxml by source code, if you can try to install lxml by binary, just use the command " </font><font size="3" face="Liberation Serif">yum install python-lxml</font><font size="2" face="sans-serif"> "</font><br>
<font size="2" face="sans-serif">   </font><br>
<font size="2" face="sans-serif">    before doing it, make sure lxml is clean, you can "python-pip uninstall lxml" first<br>
<br>
<br>
<br>
Best Regards.<br>
<br>
Zhang Hua(张华) <br>
----------------------------------------------------<br>
IBM China System and Technology Lab(CSTL), Beijing<br>
E-Mail: zhhuabj@cn.ibm.com<br>
Tel: 86-10-82452020<br>
Address: Building 28(Ring Building), ZhongGuanCun Software Park, <br>
         No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193<br>
</font><br>
<br>
<img width="16" height="16" src="cid:1__=C7BBF09ADF9C23C38f9e8a93df938@cn.ibm.com" border="0" alt="Inactive hide details for William Herry ---24/05/2012 20:32:14---Hi I am install openstack on centos 6.2 with git and I meet th"><font size="2" color="#424282" face="sans-serif">William Herry ---24/05/2012 20:32:14---Hi I am install openstack on centos 6.2 with git and I meet this error when</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From:      </font><font size="1" face="sans-serif">William Herry <william.herry.china@gmail.com></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To:        </font><font size="1" face="sans-serif">openstack@lists.launchpad.net, </font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date:      </font><font size="1" face="sans-serif">24/05/2012 20:32</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject:   </font><font size="1" face="sans-serif">[Openstack]  lxml problem</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Sent by:   </font><font size="1" face="sans-serif">openstack-bounces+zhhuabj=cn.ibm.com@lists.launchpad.net</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<font size="3" face="serif">Hi<br>
<br>
I am install openstack on centos 6.2 with git and I meet this error when install lxml<br>
<br>
running build_ext<br>
<br>
building 'lxml.etree' extension<br>
<br>
creating build/temp.linux-x86_64-2.6<br>
<br>
creating build/temp.linux-x86_64-2.6/src<br>
<br>
creating build/temp.linux-x86_64-2.6/src/lxml<br>
<br>
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<br>
<br>
{standard input}: Assembler messages:<br>
<br>
{standard input}:135675: Warning: end of file in string; '"' inserted<br>
<br>
gcc: Internal error: Killed (program cc1)<br>
<br>
Please submit a full bug report.<br>
<br>
See <</font><a href="http://bugzilla.redhat.com/bugzilla"><font size="3" color="#0000FF" face="serif"><u>http://bugzilla.redhat.com/bugzilla</u></font></a><font size="3" face="serif">> for instructions.<br>
<br>
error: command 'gcc' failed with exit status 1<br>
<br>
----------------------------------------<br>
  Rolling back uninstall of lxml<br>
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<br>
Storing complete log in /root/.pip/pip.log<br>
<br>
I'v make it work on centos before, I don't know what wrong step I made this<br>
I install it because it is in nova/tools/pip-requires<br>
<br>
thanks in advance<br>
<br>
<br>
<br>
-- </font><tt><font size="3" color="#3333FF"><br>
<br>
===========================</font></tt><font size="3" face="serif"><br>
William Herry<br>
</font><tt><font size="3"><br>
WilliamHerryChina@Gmail.com</font></tt><font size="3" face="serif"><br>
</font><tt><font size="2">_______________________________________________<br>
Mailing list: </font></tt><tt><font size="2"><a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a></font></tt><tt><font size="2"><br>
Post to     : openstack@lists.launchpad.net<br>
Unsubscribe : </font></tt><tt><font size="2"><a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a></font></tt><tt><font size="2"><br>
More help   : </font></tt><tt><font size="2"><a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a></font></tt><tt><font size="2"><br>
</font></tt><br>
</body></html>