Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #35374

Re: compile python 3.3 with bz2 support

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <bsk16@case.edu>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'received:209.85.223': 0.03; 'configure': 0.04; 'output': 0.04; 'importerror:': 0.05; 'python3': 0.05; '21,': 0.07; 'list?': 0.07; 'problem?': 0.07; 'python': 0.09; 'subject:python': 0.11; 'dec': 0.15; '"import': 0.16; 'bz2': 0.16; 'subject:3.3': 0.16; 'to:name:python list': 0.16; 'wrote:': 0.17; 'module': 0.19; 'skip:" 30': 0.20; 'import': 0.21; '"",': 0.22; 'subject:support': 0.22; 'installation': 0.23; '&gt;': 0.23; 'header:In-Reply-To:1': 0.25; 'skip:[ 10': 0.26; '(most': 0.27; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'built.': 0.29; 'complete,': 0.29; 'skip:& 10': 0.29; 'source': 0.29; 'install': 0.29; 'that.': 0.30; 'header:Received:8': 0.30; 'file': 0.32; 'traceback': 0.33; 'to:addr:python-list': 0.33; 'hi,': 0.33; 'skip:& 20': 0.33; 'skip:- 20': 0.34; 'received:google.com': 0.34; 'list': 0.35; 'built-in': 0.35; 'fail': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'modules': 0.36; 'subject:with': 0.36; 'test': 0.36; 'does': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'here': 0.65; '8bit%:21': 0.69; './configure': 0.84
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=E8dnJvqyAL+NUgzA8xm59JM+IdBVFwnrIeQ6raHpy08=; b=WFEjQhoDZXQcWSI78yczM1QIvW1ne6T3cm7X8h+VFeqFKSkRTswBhJX55Lo8sf63HW 6Fz8/oQIzS93P08N96nSoxmOLB+KIXarAknm+Vc9zC4Xfa0LdfH9kl7REgYNiauu2N8v XrrLKT7d9Qu8QdTyIfYP0od1tUrbQFiHvkVD4gDET/sWCqozF7XV/YlBm9erWBg2AY+I RUq9PXwesBSx6P++ScwYIUgfLQ8gOO46JjhE1bGP24TAyOOJIsV0A5ECzsUTxFA9J8xB csQk1WfWkhFpn9TPslsda1/XoatM0bJBOUIb5PfZG7TuJATKa2x78CyYVQgetX+1EbKq oGRw==
X-Received by 10.60.172.71 with SMTP id ba7mr2134053oec.50.1356192412200; Sat, 22 Dec 2012 08:06:52 -0800 (PST)
MIME-Version 1.0
In-Reply-To <tencent_17DEA8280EB7F1D07356A43B@qq.com>
References <tencent_17DEA8280EB7F1D07356A43B@qq.com>
Date Sat, 22 Dec 2012 08:06:51 -0800
Subject Re: compile python 3.3 with bz2 support
From Benjamin Kaplan <benjamin.kaplan@case.edu>
To Python List <python-list@python.org>
Content-Type multipart/alternative; boundary=bcaec54c5252f8ae3104d1732674
X-Gm-Message-State ALoCoQnw4rEZ3QLLtBeB6p8lakqnSWzakfvekYrwxF077maPtUqM2Rb4n/UR8/mpHqd8UAXlpgICPQYTbTX6W1v1a5IfclDuTPbReh8mnLJpSOTrdOe5F8O4neBvJX5vP1ump8YkEBHmZ+8OBwawrruxarvV6R445g==
X-Junkmail-Whitelist YES (by domain whitelist at mpv1.tis.cwru.edu)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1205.1356192420.29569.python-list@python.org> (permalink)
Lines 73
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1356192420 news.xs4all.nl 6950 [2001:888:2000:d::a6]:52766
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:35374

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Dec 21, 2012 1:31 AM, "Isml" <76069016@qq.com> wrote:
>
> hi, everyone:
>     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:
>     1. download bzip2 and compile it(make、make -f Makefile_libbz2_so、make
install)
>     2.chang to python 3.3 source directory : ./configure
--with-bz2=/usr/local/include
>     3. make
>     4. make install
>
>     after installation complete, I test it:
>     [root@localhost Python-3.3.0]# python3 -c "import bz2"
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "/usr/local/lib/python3.3/bz2.py", line 21, in <module>
>     from _bz2 import BZ2Compressor, BZ2Decompressor
> ImportError: No module named '_bz2'
> By the way, RedHat 5.5 has a built-in python 2.4.3. Would it be a problem?
>
>
> --

What is the output of configure? The last thing it does is list which
modules are not going to be built. Is bz2 on the list? What does configure
say when it's looking for bz2?

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: compile python 3.3 with bz2 support Benjamin Kaplan <benjamin.kaplan@case.edu> - 2012-12-22 08:06 -0800

csiph-web