On Thu, May 13, 2010 at 09:00:47PM -0400, Alexander Hansen wrote: > This appears to be a 10.6-specific issue. When building python25 as > either 32-bit or 64-bit, I don't get mmap.so, but on 10.5 I do. I've > uploaded build logs under > > http://akhmac.blogdns.net/~hansen/finklogs/python25/ > > but I haven't looked at them as of yet (I was doing the builds while > waiting for some software I need for work-related stuff to install :-) > ) I'll cc the maintainer.
Both platforms' autodetect and determine to build the mmap module, but on 10.6 the actual compiling fails. Compare starting at the line: building 'mmap' extension [compiler command looks about the same] [warnings about winsize look the same] [on 10.6 but not on 10.5 the following error...] /sw32/src/fink.build/python25-2.5.4-102/Python-2.5.4/Modules/mmapmodule.c: In function 'new_mmap_object': /sw32/src/fink.build/python25-2.5.4-102/Python-2.5.4/Modules/mmapmodule.c:919: warning: implicit declaration of function 'open' /sw32/src/fink.build/python25-2.5.4-102/Python-2.5.4/Modules/mmapmodule.c:919: error: 'O_RDWR' undeclared (first use in this function) /sw32/src/fink.build/python25-2.5.4-102/Python-2.5.4/Modules/mmapmodule.c:919: error: (Each undeclared identifier is reported only once /sw32/src/fink.build/python25-2.5.4-102/Python-2.5.4/Modules/mmapmodule.c:919: error: for each function it appears in.) Like it's missing #include <fcntl.h> or something. Probably some unrelated platform difference triggers some difference in #include spaghetti somewhere? See if you can patch mmapmodule.c to add fcntl.h I vaguely remember other cases where python-module packages where the standard build system don't abort when a fatal compiler error occurs. Makes debugging/packaging "interesting":( dan -- Daniel Macks dma...@netspace.org http://www.netspace.org/~dmacks ------------------------------------------------------------------------------ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users