<DIV>OK, thanks</DIV>
<DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV style="PADDING-BOTTOM: 2px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; FONT-FAMILY: Arial Narrow; FONT-SIZE: 12px; PADDING-TOP: 2px">------------------ Original ------------------</DIV>
<DIV style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV><B>From: </B> "Oleg Broytman"<phd@phdru.name>;</DIV>
<DIV><B>Date: </B> Fri, Dec 21, 2012 02:17 PM</DIV>
<DIV><B>To: </B> "Isml"<76069016@qq.com>; <WBR></DIV>
<DIV><B>Cc: </B> "python-dev"<python-dev@python.org>; <WBR></DIV>
<DIV><B>Subject: </B> Re: [Python-Dev] compile python 3.3 with bz2 support</DIV></DIV>
<DIV><BR></DIV>Hello.<BR><BR>   We are sorry but we cannot help you. This mailing list is to work on<BR>developing Python (adding new features to Python itself and fixing bugs);<BR>if you're having problems learning, understanding or using Python, please<BR>find another forum. Probably python-list/comp.lang.python mailing list/news<BR>group is the best place; there are Python developers who participate in it;<BR>you may get a faster, and probably more complete, answer there. See<BR>http://www.python.org/community/ for other lists/news groups/fora. Thank<BR>you for understanding.<BR><BR>On Fri, Dec 21, 2012 at 02:03:40PM +0800, Isml <76069016@qq.com> wrote:<BR>> hi, everyone:<BR>>      I want to compile python 3.3 with bz2 support on RedHat 5.5 but fail to do that. Here is how I do it:<BR>>      1??download bzip2 and compile it(make??make -f Makefile_libbz2_so??make install)<BR>>      2??chang to python 3.3 source directory : ./configure --with-bz2=/usr/local/include<BR>>      3??make<BR>>      4??make install<BR>>   <BR>>      after installation complete, I test it??<BR>>      [root@localhost Python-3.3.0]# python3 -c "import bz2"<BR>> Traceback (most recent call last):<BR>>   File "<string>", line 1, in <module><BR>>   File "/usr/local/lib/python3.3/bz2.py", line 21, in <module><BR>>     from _bz2 import BZ2Compressor, BZ2Decompressor<BR>> ImportError: No module named '_bz2'<BR><BR>   You have to install bz2 development files (headers and libraries)<BR>before recompiling python.<BR><BR>>  By the way, RedHat 5.5 has a built-in python 2.4.3. Would it be a problem?<BR><BR>   Depends on what are you going to do.<BR><BR>Oleg.<BR>-- <BR>     Oleg Broytman            http://phdru.name/            phd@phdru.name<BR>           Programmers don't die, they just GOSUB without RETURN.<BR>
<DIV></DIV></DIV>