Python 2.2.1 on Solaris 2.5.1: compilation problem

Dave Reed dreed at capital.edu
Fri Apr 12 08:27:28 EDT 2002


> From: Oleg Broytmann <phd at phd.pp.ru>
> Date: Fri, 12 Apr 2002 14:49:29 +0400
> 
> On Fri, Apr 12, 2002 at 10:33:40AM +0000, Michael Hudson wrote:
> > > case $MAKEFLAGS in \
> > > *-s*) CC='gcc' LDSHARED='gcc -shared' OPT='-DNDEBUG -O2' ./python -E ./setup.py -q build;; \
> > > *) CC='gcc' LDSHARED='gcc -shared' OPT='-DNDEBUG -O2' ./python -E ./setup.py build;; \
> > > esac
> > > running build
> > > running build_ext
> > > building 'struct' extension
> > > Segmentation Fault - core dumped
> > 
> > Yikes!  Can you dig into this?  I can't, not having access to a
> > relavent machine... (you did run make clean, didn't you?)
> 
>    I'll try. What is worse, Python 2.2 failed the same way :( It seems
> upgrading gcc from 2.8.0 to 2.95.3 did more harm than good :(((
> 
> Oleg.

Have you compiled earlier versions of Python on this system?

I compiled Python 2.1.1 on a Solaris 2.6 machine (don't remember which
version of gcc). The machine has since been upgraded to Solaris
2.7. I've successfully compiled python 2.2.1 on Solaris 2.7 using gcc
2.95.3.

% python2.2
Python 2.2.1 (#1, Apr 10 2002, 08:09:51) 
[GCC 2.95.3 20010315 (release)] on sunos5

Dave





More information about the Python-list mailing list