On Fri, 28 Oct 2011 21:57:15 +1100 Wayne Blaszczyk <[email protected]> wrote:
> On 28/10/11 21:13, Wayne Blaszczyk wrote: > > Some observations about the latest Python build. > > Besides the > > http://www.linuxfromscratch.org/patches/blfs/svn/Python-3.2.2-bdb_4.8-1.patch > > missing, there is no actual instruction to apply the patch. > > The ftp://mirror.ovh.net/gentoo-distfiles/distfiles/Python-3.2.2.tar.bz2 > > url is also broken. > > If we are going to have two links to the same package, we should keep > > the file type the same otherwise the MD5 sum is only going to apply to > > the one url and not the other. > > Regards, > > Wayne. > > I would also like to add that libxcb will not build with Python 3.2. > I get the following error during make: > > Making all in src > make[1]: Entering directory `/sources/libxcb-1.7/src' > /usr/bin/python3 ./c_client.py -p /usr/lib/python3.2/site-packages > /usr/share/xcb/xproto.xml > File "./c_client.py", line 1013 > except getopt.GetoptError, err: > ^ > SyntaxError: invalid syntax > make[1]: *** [xproto.c] Error 1 > make[1]: Leaving directory `/sources/libxcb-1.7/src' > make: *** [all-recursive] Error 1 > > When I tried to build libxml2, it did not detect Python. > libxslt also did not detect Python. > I suspect there will be a lot of other packages that will have trouble > with Python 3.2. As DJ Lucas said the other day, it's possible to fix some things with the 2to3 tool included with python 3. However, there are quite a lot of things out there that would need fixing so I personally install both Python-2.7.2 and Python-3.2.2 with 2.7.2 as the default /usr/bin/python. It's a bit like with gtk+-3, more things are starting to use gtk+-3 but I think it'll be a while before I stop installing gtk+-2 Andy -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
