Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.017 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'that?': 0.05; 'python3': 0.07; 'outlined': 0.09; 'seemed': 0.09; 'subject:Python3': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'kitchen': 0.16; 'less,': 0.16; 'magic': 0.16; 'python3.': 0.16; 'redo': 0.16; 'responses.': 0.16; 'sink': 0.16; 'travis': 0.16; 'url:file': 0.16; 'wrote:': 0.18; '(in': 0.22; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'question': 0.24; 'cc:2**0': 0.24; 'source': 0.25; '>': 0.26; 'downloaded': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'see,': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'asked': 0.31; 'disable': 0.31; 'install,': 0.31; 'this.': 0.32; 'probably': 0.32; 'stuff': 0.32; 'url:python': 0.33; 'running': 0.33; "i'd": 0.34; 'could': 0.34; 'subject: (': 0.35; 'basic': 0.35; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'add': 0.35; 'there': 0.35; 'really': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'should': 0.36; 'example,': 0.37; 'list': 0.37; 'nov': 0.38; 'process,': 0.38; 'skip:- 10': 0.38; 'rather': 0.38; 'little': 0.38; 'stock': 0.39; 'url:mail': 0.40; 'how': 0.40; 'black': 0.61; 'telling': 0.64; 'provide': 0.64; 'more': 0.64; 'kept': 0.65; 'to:addr:gmail.com': 0.65; 'fact,': 0.69; 'repeat': 0.74; 'informed': 0.78; './configure': 0.84; 'python- dev': 0.84; 'url:cpython': 0.84; '2013,': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=kbR970AE+tCdpt8S2fy3xxOKeplngmn+NadhTCUOAlw=; b=m2dZWVxhWfK/WbcgLsGJg4VTzjMv0omyExg0ZBncyhHcjFm/RFEZNI3cuQ0Omjc2TR r1+H4Pw/EfHsn9c0FQgv/9RECrRN/Nh1ntKomJH1sg526LoQaI6xkV0WFtUCRiAkpeDj nq6dTVjlngjIli2l22MpCKCGNDvvLEOT2Q0Z4Iaj7Yr1PY0rUuhOLqeaR1Hnami0Ph3F mUp/tqmpcsygNObyf/3sdb6R3UoozaHZP15WzsLkgbAyhohTWMpVoiz9w4B8Uc7Izi0b r4HKf0z9sGkVteZzi4rrr+aCR1+jXffc+q62634sUyCrNUSb3lDBfI05w+kwLJDKuUJr AbZg== X-Received: by 10.60.144.230 with SMTP id sp6mr18255290oeb.29.1383643551530; Tue, 05 Nov 2013 01:25:51 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Amirouche Boubekki Date: Tue, 5 Nov 2013 10:25:31 +0100 Subject: Re: Compiling Python3 for BeagleBone Black (Angstrom distro) To: Travis Griggs Content-Type: multipart/alternative; boundary=047d7b5d5c14628c5604ea6a9eb2 Cc: "python-list@python.org" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 109 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1383643998 news.xs4all.nl 16000 [2001:888:2000:d::a6]:51552 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:58489 --047d7b5d5c14628c5604ea6a9eb2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Use this http://hg.python.org/cpython/file/92022b45e60b/setup.py#l36 Add the list of modules you want to disable and redo make 2013/11/5 Travis Griggs > > On Nov 4, 2013, at 9:22 AM, Travis Griggs wrote: > > > I'm playing with a BeagleBone Black running the angstrom distro. Of > course, stock python is 2.7, I'd rather use python3. There isn't a python= 3 > package available for angstrom. So I downloaded the source and compiled. = It > seemed to work pretty well. I used the basic approach outlined in the > REAMDE: > > > > ./configure > > make > > make test > > make install > > > > Now, I want to repeat the process, but be a little more judicious about > what all is compiled. For example, I don't really need tk stuff (in fact, > it just kept telling me it wasn't there). And there's probably a number o= f > other modules/libraries in the kitchen sink known as the stock install, > that I could forgo on a tiny little computer like this. > > > > I see, looking at ./configure --help | less, that I could provide > --disable-FEATURE and --without-PACKAGE directives to my ./configure > invocation. But what I don't see is how to generate a list of what > FEATURES/PACKAGES I could put there for consideration of omission. Is the= re > some magic juju that generates that? > > > > Should I have asked this question on python-dev instead? Not currently > subscribed there=E2=80=A6 but would if that would generate more informed = responses. > > -- > https://mail.python.org/mailman/listinfo/python-list > --047d7b5d5c14628c5604ea6a9eb2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Add the list of modules you want to disable a= nd redo make


2013/11= /5 Travis Griggs <travisgriggs@gmail.com>

On Nov 4, 2013, at 9:22 AM, Travis Griggs <travisgriggs@gmail.com> wrote:

> I'm playing with a BeagleBone Black running the angstrom distro. O= f course, stock python is 2.7, I'd rather use python3. There isn't = a python3 package available for angstrom. So I downloaded the source and co= mpiled. It seemed to work pretty well. I used the basic approach outlined i= n the REAMDE:
>
> ./configure
> make
> make test
> make install
>
> Now, I want to repeat the process, but be a little more judicious abou= t what all is compiled. For example, I don't really need tk stuff (in f= act, it just kept telling me it wasn't there). And there's probably= a number of other modules/libraries in the kitchen sink known as the stock= install, that I could forgo on a tiny little computer like this.
>
> I see, looking at ./configure --help | less, that I could provide --di= sable-FEATURE and --without-PACKAGE directives to my ./configure invocation= . But what I don't see is how to generate a list of what FEATURES/PACKA= GES I could put there for consideration of omission. Is there some magic ju= ju that generates that?
>

Should I have asked this question on python-dev instead? Not currentl= y subscribed there=E2=80=A6 but would if that would generate more informed = responses.

--
https://mail.python.org/mailman/listinfo/python-list

--047d7b5d5c14628c5604ea6a9eb2--