Compiling Python3 for BeagleBone Black (Angstrom distro)

Amirouche Boubekki amirouche.boubekki at gmail.com
Tue Nov 5 04:25:31 EST 2013


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 <travisgriggs at gmail.com>

>
> On Nov 4, 2013, at 9:22 AM, Travis Griggs <travisgriggs at gmail.com> 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 python3
> 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 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
> --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 there
> some magic juju that generates that?
> >
>
> Should I have asked this question on python-dev instead? Not currently
> subscribed there… but would if that would generate more informed responses.
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20131105/cdacf337/attachment.html>


More information about the Python-list mailing list