Python 2.2.1 on Solaris 2.5.1: compilation problem

Oleg Broytmann phd at phd.pp.ru
Fri Apr 12 05:16:41 EDT 2002


On Wed, Apr 10, 2002 at 07:22:32PM +0400, Oleg Broytmann wrote:
> On Wed, Apr 10, 2002 at 02:54:20PM +0000, Michael Hudson wrote:
> > >    Environment: SUN Sparc Ultra-1, Solaris 2.5.1, gcc 2.8.1.
> >                                                         ^^^^^
> > Is this negotiable?  I.e. could you try upgrading?  This is pretty old now.

   I upgarded my software, including gcc (to 2.95.3). Not much help:

gcc -s  -Xlinker --export-dynamic -o python \
                Modules/python.o \
                libpython2.2.a -lsocket -lnsl -ldl  -lpthread -lthread   -lm
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
make: *** [sharedmods] Error 139

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list