Hi, Recently, zlib has been enabled for target python (I'm working on host python zlib support so we can get setuptools working on the host and simplifying building python packages) but the patch also includes host headers and libs (directly from /usr/{include,lib}). That breaks compiling python on x86-64 as it's looking for 32 bits headers/libs that are not present. Following patch fixes it.
But it's not a perfect patch : for me, at least, zlib.so still isn't built and is missing when copied to the package. I don't know why, and the fact that target dynlibs don't appear in the build log (V=99) is strange ; I see host libs being built, but not target ones. Still, every target lib (appart from zlib) is built and copied correctly !? Has anyone a clue on this ? Cc'ing Alexander who submitted the patch enabling zlib to see if he better succeeds. Thanks. Signed-off-by: Benjamin Cama <ben...@free.fr>
Index: lang/python/patches/110-enable-zlib.patch =================================================================== --- lang/python/patches/110-enable-zlib.patch (revision 20235) +++ lang/python/patches/110-enable-zlib.patch (working copy) @@ -5,7 +5,7 @@ # This require zlib 1.1.3 (or later). # See http://www.gzip.org/zlib/ -#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz -+zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz ++zlib zlibmodule.c -lz # Interface to the Expat XML parser #
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel