473,324 Members | 2,248 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Problem building python in virtual machine running centos

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 <URL:http://bugzilla.redhat.com/bugzillafor 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: gi****@scripps.edu
/ 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/
Jun 27 '08 #1
3 1900
On 25 Apr, 03:05, Alexandre Gillet <gil...@scripps.eduwrote:
>
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 <URL:http://bugzilla.redhat.com/bugzillafor instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.

Any suggestion of what am I doing wrong?
You say that the bug is not reproducible, so that means that you can
sometimes compile Python, or does the crash always happen when
compiling some file (not necessarily the one mentioned above)? I think
I've only ever seen a reproducible gcc crash once, and that had
something to do with a C++ source file which I then split into two and
was able to compile as these two separate parts. You might want to
check the gcc version (gcc -v) and to look at bug fixes in any later
versions. Generally, if you get an internal error in gcc, you aren't
doing anything wrong yourself.

Paul
Jun 27 '08 #2
Paul Boddie wrote:
On 25 Apr, 03:05, Alexandre Gillet <gil...@scripps.eduwrote:
>>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 <URL:http://bugzilla.redhat.com/bugzillafor instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.

Any suggestion of what am I doing wrong?


You say that the bug is not reproducible, so that means that you can
"The bug is not reproducible, so it is likely a hardware or OS problem."

This line is printed by GCC itself, not the OP

Paul
sometimes compile Python, or does the crash always happen when
compiling some file (not necessarily the one mentioned above)? I think
I've only ever seen a reproducible gcc crash once, and that had
something to do with a C++ source file which I then split into two and
was able to compile as these two separate parts. You might want to
check the gcc version (gcc -v) and to look at bug fixes in any later
versions. Generally, if you get an internal error in gcc, you aren't
doing anything wrong yourself.

Paul
Jun 27 '08 #3
On 25 Apr, 14:16, Paul Melis <p...@science.uva.nlwrote:
>
"The bug is not reproducible, so it is likely a hardware or OS problem."

This line is printed by GCC itself, not the OP
It's a strange thing for anyone to claim in an error message, though,
especially if it is reproducible. Perhaps some people have special
criteria for reproducibility.

Paul
Jun 27 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

29
by: Maurice LING | last post by:
Hi, I remembered reading a MSc thesis about compiling Perl to Java bytecodes (as in java class files). At least, it seems that someone had compiled scheme to java class files quite successfully....
2
by: Helmut Jarausch | last post by:
Hi, I'd like to install SCons (http://www.scons.org) on my Linux box. There, the cvs version of Python is running. Doing as recommended in the README file export...
24
by: Richard Blackwood | last post by:
Is it possible to prototype an operating system in Python? If so, what would such a task entail? (i.e. How would one write a boot-loader in Python?) - Richard B.
118
by: 63q2o4i02 | last post by:
Hi, I've been thinking about Python vs. Lisp. I've been learning Python the past few months and like it very much. A few years ago I had an AI class where we had to use Lisp, and I absolutely...
2
by: Chris Miles | last post by:
I have found that the sunfreeware.com build of Python 2.4.3 for Solaris 10 is faster than one I can build myself, on the same system. sunfreeware.com doesn't bother showing the options they used to...
8
by: geert | last post by:
Hi all, I have a mac mini running maocosx 10.5 leopard I want to deploy a django project on. My backend is MySQL, and I have it running as a 64- bit app. Of course, apache2 is also running as...
1
by: pradipbhosale | last post by:
Hi, I am have long running applications developed in python, linux, postgres (also used django framework to have web interface). I know Python has memory issues. But my applications are taking...
0
by: Alexandre Gillet | last post by:
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 ...
4
by: Ognjen Bezanov | last post by:
Hello All, I am a third year computer science student and I'm the process of selection for my final year project. One option that was thought up was the idea of implement my own version of...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.