<DIV style="Z-INDEX: 1; POSITION: relative; PADDING-BOTTOM: 10px; LINE-HEIGHT: 1.7; PADDING-LEFT: 15px; PADDING-RIGHT: 15px; ZOOM: 1; HEIGHT: auto; FONT-SIZE: 14px; PADDING-TOP: 15px" id=contentDiv class=body onmouseover=getTop().stopPropagation(event); onclick="getTop().preSwapLink(event, 'html');">
<DIV style="PADDING-BOTTOM: 0px; MIN-HEIGHT: 100px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; FONT-FAMILY: 'lucida Grande',Verdana; WORD-WRAP: break-word; HEIGHT: 100px; FONT-SIZE: 14px; MARGIN-RIGHT: 170px; PADDING-TOP: 0px" id=mailContentContainer>
<DIV>hi, everyone:</DIV>
<DIV>    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:</DIV>
<DIV>    1. download bzip2 and compile it(make¡¢make -f Makefile_libbz2_so¡¢make install)</DIV>
<DIV>    2.chang to python 3.3 source directory : ./configure --with-bz2=/usr/local/include</DIV>
<DIV>    3. make</DIV>
<DIV>    4. make install</DIV>
<DIV> </DIV>
<DIV>    after installation complete, I test it£º</DIV>
<DIV>    [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></DIV>
<DIV>By the way, RedHat 5.5 has a built-in python 2.4.3. Would it be a problem?</DIV></DIV><!-- -->
<STYLE>#mailContentContainer .txt {height:auto;}</STYLE>
</DIV>


<DIV> </DIV>