> 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 `Util_CatchBZ2Error': > /export/home/python/dist/src/Modules/bz2module.c:120: `BZ_CONFIG_ERROR' 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 > BZ_CONFIG_ERROR. 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 named `total_out_hi32' > Modules/bz2module.c:1521: structure has no member named `total_out_lo32' > > 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/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4