[Python-Dev] bz2 module fails to compile on Solaris 8 (original) (raw)
Guido van Rossum guido@python.org
Fri, 25 Apr 2003 15:38:36 -0400
- Previous message: [Python-Dev] bz2 module fails to compile on Solaris 8
- Next message: [Python-Dev] test_logging hangs on Solaris 8
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The bz2 module isn't compiling for me on Solaris 8:
building 'bz2' extension gcc -g -Wall -Wstrict-prototypes -fPIC -I. -I/export/home/python/dist/src/./Include -I/usr/local/include -I/export/home/python/dist/src/Include -I/export/home/python/dist/src -c /export/home/python/dist/src/Modules/bz2module.c -o build/temp.solaris-2.8-sun4u-2.3/bz2module.o cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory /export/home/python/dist/src/Modules/bz2module.c: In function
UtilCatchBZ2Error':_ _/export/home/python/dist/src/Modules/bz2module.c:120:
BZCONFIGERROR' undeclared (first use in this function) /export/home/python/dist/src/Modules/bz2module.c:120: (Each undeclared identifier is reported only once ... This particular machine has a /usr/include/bzlib.h file with a copyright date of 1998. There are several other BZ*ERROR defines, but not BZCONFIGERROR. Adding a conditional define for that macro isn't sufficient to get it to compile. I get lots of "structure has no ..." errors: Modules/bz2module.c:1521: structure has no member namedtotalouthi32'_ _Modules/bz2module.c:1521: structure has no member named
totaloutlo32' Perhaps this version of bz2 lib is too old to use with Gustavo's module?
Again, maybe we should just give up on Solaris. :-(
Please work with Gustavo to fix this after the b1 release. (I'm still waiting for the "cvs tag" command to finish...)
--Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] bz2 module fails to compile on Solaris 8
- Next message: [Python-Dev] test_logging hangs on Solaris 8
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]