Python 2.2.1 on Solaris 2.5.1: compilation problem
Michael Hudson
mwh at python.net
Fri Apr 12 06:33:40 EDT 2002
Oleg Broytmann <phd at phd.pp.ru> writes:
> 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
Yikes! Can you dig into this? I can't, not having access to a
relavent machine... (you did run make clean, didn't you?)
Cheers,
M.
--
I also fondly recall Paris because that's where I learned to
debug Zetalisp while drunk. -- Olin Shivers
More information about the Python-list
mailing list