[Python-Dev] building 2.2.2 on SCO Open Server

Tim Rice tim@multitalents.net
Wed, 25 Sep 2002 13:09:07 -0700 (PDT)

I'm trying to get the release22-maint branch to build on
SCO Open Server 5. When setup.py fails to import an extention but
the .c file compiles, how do you track down why it failed?

Ie.  (lines formated for readability)

case $MAKEFLAGS in \
*-s*) CC='cc' LDSHARED='cc -G -Kpic -Ki486 -belf -Wl,-Bexport' \
	OPT='-DNDEBUG -O -Ki486 -DSCO5' ./python \
	-E /opt/src/utils/python/python-2.2.2/src/setup.py -q build;; \
*) CC='cc' LDSHARED='cc -G -Kpic -Ki486 -belf -Wl,-Bexport' \
	OPT='-DNDEBUG -O -Ki486 -DSCO5' ./python \
	-E /opt/src/utils/python/python-2.2.2/src/setup.py build;; \
running build
running build_ext
building 'struct' extension
building 'pwd' extension
cc -DNDEBUG -O -Ki486 -DSCO5 -Kpic -dy -Bdynamic -I. \
    -I/opt/src/utils/python/python-2.2.2/src/./Include \
    -I/usr/local/include -IInclude/ \
    -c /opt/src/utils/python/python-2.2.2/src/Modules/pwdmodule.c \
    -o build/temp.sco_sv-3.2-i386-2.2/pwdmodule.o
cc -G -Kpic -Ki486 -belf -Wl,-Bexport \
    build/temp.sco_sv-3.2-i386-2.2/pwdmodule.o -L/usr/local/lib \
    -o build/lib.sco_sv-3.2-i386-2.2/pwd.so
WARNING: removing "pwd" since importing it failed

Tim Rice				Multitalents	(707) 887-1469