Problem building python in virtual machine running centos

2008-04-24 Thread Alexandre Gillet
Hi,

I am trying to build python-2.4.5 on Centos 5.1, which is a virtual
machine running with xen.
I am not able to build python. The compilation crash with the following:
gcc -pthread -c  -DNDEBUG -g  -O3 -Wall -Wstrict-prototypes -I.
-I./Include  -DPy_BUILD_CORE -o Objects/unicodeobject.o
Objects/unicodeobject.c
In file included from ./Include/Python.h:76,
 from Objects/unicodeobject.c:39:
./Include/object.h:228: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.


Any suggestion of what am I doing wrong?

Thanks
Alex

-- 
 o Alexandre Gillet  Ph.D.   email: [EMAIL PROTECTED]
/  The Scripps Research Institute,
o  Dept. Molecular Biology,  MB-5,
\  10550  North Torrey Pines Road,
 o La Jolla,  CA 92037-1000,  USA.
/  tel: (858) 784-2053
o  fax: (858) 784-2860
web: http://mgl.scripps.edu/projects/tangible_models/
--
http://mail.python.org/mailman/listinfo/python-list


Re: Problem building python in virtual machine running centos

2008-04-25 Thread Alexandre Gillet
Thanks for your answers. I did solve my problem.
I upgraded my glibc libraries and it seems to solve the problem.
I was able to build python-2.4.5 using gcc 4.1.2 (glibc-2.5-18.el5_1.1)

Alex

On Thu, 2008-04-24 at 18:05 -0700, Alexandre Gillet wrote:
> Hi,
> 
> I am trying to build python-2.4.5 on Centos 5.1, which is a virtual
> machine running with xen.
> I am not able to build python. The compilation crash with the following:
> gcc -pthread -c  -DNDEBUG -g  -O3 -Wall -Wstrict-prototypes -I.
> -I./Include  -DPy_BUILD_CORE -o Objects/unicodeobject.o
> Objects/unicodeobject.c
> In file included from ./Include/Python.h:76,
>  from Objects/unicodeobject.c:39:
> ./Include/object.h:228: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See http://bugzilla.redhat.com/bugzilla> for instructions.
> The bug is not reproducible, so it is likely a hardware or OS problem.
> 
> 
> Any suggestion of what am I doing wrong?
> 
> Thanks
> Alex
> 
--
http://mail.python.org/mailman/listinfo/python-list