[Python-Dev] Python build trouble with the new gcc/binutils

Guido van Rossum guido@python.org
Fri, 16 Aug 2002 15:13:57 -0400


> As I sort of expected, this makes the crash go away.  However, it is now
> replaced by lots of messages like
> 
> building 'grp' extension
> gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/export/spurr1/homes1/ark/Python-2.2.1/./Include -I/usr/local/include -IInclude/ -c /export/spurr1/homes1/ark/Python-2.2.1/Modules/grpmodule.c -o build/temp.solaris-2.7-sun4u-2.2/grpmodule.o
> gcc -shared build/temp.solaris-2.7-sun4u-2.2/grpmodule.o -L/usr/local/lib -o build/lib.solaris-2.7-sun4u-2.2/grp.so
> WARNING: removing "grp" since importing it failed

Yeah, you'd have to enable all the modules you're interested in by
editing Modules/Setup.  That's a pain, which is why we generally use
dynamic loading. :-)

--Guido van Rossum (home page: http://www.python.org/~guido/)