[Python-bugs-list] [ python-Bugs-542737 ] Build unable to import w/gcc 3.0.4

noreply@sourceforge.net noreply@sourceforge.net
Thu, 11 Apr 2002 17:05:34 -0700


Bugs item #542737, was opened at 2002-04-11 17:06
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=542737&group_id=5470

Category: Build
Group: Python 2.2.1 candidate
Status: Open
Resolution: None
Priority: 5
Submitted By: Mike Henderson (blueronin)
Assigned to: Nobody/Anonymous (nobody)
Summary: Build unable to import w/gcc 3.0.4

Initial Comment:
I'm building on SunOS 5.8 with gcc 3.0.4. I needed to 
recompile 2.2 to add threads for Zope and am not 
having any of the build 'xxx' extensions succeed. My 
original compile with gcc 3.0.2 had succeeded. I've 
tried it with --with-threads and without, same 
results. I downloaded 2.2.1, same results.

Configured with --------------------
 ./configure  --prefix=/ftp/lmp/local

Make output ------------------------

/ftp/lmp/local/src/gnu/python/Python-2.2.1/
 tin/prodfix/dev > make
case $MAKEFLAGS in \
*-s*) CC='gcc' LDSHARED='gcc -shared' OPT='-DNDEBUG -
g -O3 -Wall -Wstrict-prototypes' ./python -
E ./setup.py -q build;; \
*) CC='gcc' LDSHARED='gcc -shared' OPT='-DNDEBUG -g -
O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py 
build;; \
esac
running build
running build_ext
building 'struct' extension
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -
I. -I/ftp/lmphr/local/src/gnu/python/Python-
2.2.1/./Include -I/usr/local/include -IInclude/ -
c /ftp/lmphr/local/src/gnu/python/Python-
2.2.1/Modules/structmodule.c -o build/temp.solaris-2.8-
sun4u-2.2/structmodule.o
gcc -shared build/temp.solaris-2.8-sun4u-
2.2/structmodule.o -L/usr/local/lib -o 
build/lib.solaris-2.8-sun4u-2.2/struct.so
WARNING: removing "struct" since importing it failed


----------------------------------------------------------------------

>Comment By: Mike Henderson (blueronin)
Date: 2002-04-11 18:05

Message:
Logged In: YES 
user_id=201694

The release candidate downloaded from SourceForge compiled 
w/o problems. The download with the problems came from the 
www.python.org site.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=542737&group_id=5470