Okay. I'm trying to build a multilib version of python per the CBLFS instructions. I have all of the optional packages installed.
In both the 32-bit and 64-bit cases, make test fails to run very far (it can't find python's math module) and make install fails partway through. The last portion of make install's output looks like this: Listing /usr/lib/python2.5/xml/sax ... Compiling /usr/lib/python2.5/xml/sax/__init__.py ... Compiling /usr/lib/python2.5/xml/sax/_exceptions.py ... Compiling /usr/lib/python2.5/xml/sax/expatreader.py ... Compiling /usr/lib/python2.5/xml/sax/handler.py ... Compiling /usr/lib/python2.5/xml/sax/saxutils.py ... Compiling /usr/lib/python2.5/xml/sax/xmlreader.py ... Compiling /usr/lib/python2.5/xmllib.py ... Compiling /usr/lib/python2.5/xmlrpclib.py ... Compiling /usr/lib/python2.5/zipfile.py ... make: *** [libinstall] Error 1 If I run make install, then make test will work, but I don't like running make test on a partial install. Depending on how it works, it may not be a problem, but I find it undesirable. I poked around online and found a solution and a pseudo-solution. The solution only works for 64-bit and I'd prefer not to use the pseudo-solution for 32-bit if I don't have to. The solution is to change make to make EXTRA_CFLAGS="-fwrapv". For whatever reason (and the poster that posted it didn't have a clue either), that fixes the problem. Both make test and make install run just fine with that fix. As far as I can tell, that's a perfectly acceptable solution, but as I said, it only works in 64-bit. That leaves us with the pseudo-solution. If I run make -i install instead of make install, then the install is successful (for 32-bit). It of course doesn't do anything for make test since it's a change to make install. I'd much prefer to use a solution that allows the test suite to run without installing python and since the -i flag makes it so that make install simply ignores errors, I'm not convinced that it installed properly to begin with - hence why it's a "pseudo"-solution. So, if anyone here has a clue as to how to get python's make test and make install to work properly in 32-bit land, I'd definitely appreciate it. I DID try USE_ARCH=32 in case that did something, but nothing changes. While CBLFS sets up tcl to use the multiarch wrapper, it does NOT set up tk to use it. Perhaps tk should be as well and that's the problem, but I doubt it. If anyone knows, or has a suggestion, please send it my way. Thanks. - Jonathan M Davis _______________________________________________ Clfs-support mailing list [email protected] http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
