William Herry | 25 May 2012 03:40
Picon

xml install problems

Hi,
I am try to install xml on centos6.2 with command:
pip-python install xml==2.3

it gives me this error:

Downloading/unpacking lxml==2.3
  Running setup.py egg_info for package lxml
    Building lxml version 2.3.
    Building with Cython 0.14.1.
    Using build configuration of libxslt 1.1.26
    Building against libxml2/libxslt in the following directory: /usr/lib64
Installing collected packages: lxml
  Running setup.py install for lxml
    Building lxml version 2.3.
    Building with Cython 0.14.1.
    Using build configuration of libxslt 1.1.26
    Building against libxml2/libxslt in the following directory: /usr/lib64
    building 'lxml.etree' extension
    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}:150508: Warning: end of file not at end of a line; newline 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
    Complete output from command /usr/bin/python -c "import setuptools;__file__='/root/build/lxml/setup.py';execfile(__file__)" install --single-version-externally-managed --record /tmp/pip-g_IvOB-record/install-record.txt:
    Building lxml version 2.3.

Building with Cython 0.14.1.

Using build configuration of libxslt 1.1.26

Building against libxml2/libxslt in the following directory: /usr/lib64

running install

running build

running build_py

running build_ext

building 'lxml.etree' extension

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}:150508: Warning: end of file not at end of a line; newline 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

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

I already installed libxml2-devel and libxslt-devel, can some body tell me what's going on?

thanks in adv

Regards

--

===========================

William Herry

WilliamHerryChina <at> Gmail.com

_________________________________________________________________
Mailing list for the lxml Python XML toolkit - http://lxml.de/
lxml <at> lxml.de
https://mailman-mail5.webfaction.com/listinfo/lxml
Stefan Behnel | 1 Jun 2012 17:38
Picon
Favicon

Re: xml install problems

Am 25.05.2012 04:40, schrieb William Herry:
> Hi,
> I am try to install xml on centos6.2 with command:
> pip-python install xml==2.3
> 
> it gives me this error:
> 
> Downloading/unpacking lxml==2.3
>   Running setup.py egg_info for package lxml
>     Building lxml version 2.3.
>     Building with Cython 0.14.1.

It's best to build without having Cython installed. See the docs.

>     Using build configuration of libxslt 1.1.26
>     Building against libxml2/libxslt in the following directory: /usr/lib64
> Installing collected packages: lxml
>   Running setup.py install for lxml
>     Building lxml version 2.3.
>     Building with Cython 0.14.1.
>     Using build configuration of libxslt 1.1.26
>     Building against libxml2/libxslt in the following directory: /usr/lib64
>     building 'lxml.etree' extension
>     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}:150508: Warning: end of file not at end of a line;
> newline inserted
>     gcc: Internal error: Killed (program cc1)
>     Please submit a full bug report.
>     See <http://bugzilla.redhat.com/bugzilla> for instructions.

No idea what's wrong here, but this hints at a serious problem on your
system. Try to build other binary Python packages to see if this works
at all.

Stefan
_________________________________________________________________
Mailing list for the lxml Python XML toolkit - http://lxml.de/
lxml <at> lxml.de
https://mailman-mail5.webfaction.com/listinfo/lxml
William Herry | 3 Jun 2012 04:22
Picon

Re: xml install problems

I messed up my system, maybe some lib problem(I don't know but it is messed up), this problem doesn't exist on other CentOS, so, I just ignore it

Thanks

On Fri, Jun 1, 2012 at 11:38 PM, Stefan Behnel <stefan_ml <at> behnel.de> wrote:
Am 25.05.2012 04:40, schrieb William Herry:
> Hi,
> I am try to install xml on centos6.2 with command:
> pip-python install xml==2.3
>
> it gives me this error:
>
> Downloading/unpacking lxml==2.3
>   Running setup.py egg_info for package lxml
>     Building lxml version 2.3.
>     Building with Cython 0.14.1.

It's best to build without having Cython installed. See the docs.


>     Using build configuration of libxslt 1.1.26
>     Building against libxml2/libxslt in the following directory: /usr/lib64
> Installing collected packages: lxml
>   Running setup.py install for lxml
>     Building lxml version 2.3.
>     Building with Cython 0.14.1.
>     Using build configuration of libxslt 1.1.26
>     Building against libxml2/libxslt in the following directory: /usr/lib64
>     building 'lxml.etree' extension
>     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}:150508: Warning: end of file not at end of a line;
> newline inserted
>     gcc: Internal error: Killed (program cc1)
>     Please submit a full bug report.
>     See <http://bugzilla.redhat.com/bugzilla> for instructions.

No idea what's wrong here, but this hints at a serious problem on your
system. Try to build other binary Python packages to see if this works
at all.

Stefan
_________________________________________________________________
Mailing list for the lxml Python XML toolkit - http://lxml.de/
lxml <at> lxml.de
https://mailman-mail5.webfaction.com/listinfo/lxml



--



William Herry
====================
WilliamHerryChina <at> Gmail.com

_________________________________________________________________
Mailing list for the lxml Python XML toolkit - http://lxml.de/
lxml <at> lxml.de
https://mailman-mail5.webfaction.com/listinfo/lxml

Gmane