- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi. I am able to build Yocto 1.6.1 with "Intel® Edison Board Support Package User Guide"
I created python_3.4.bb file:
edison-src/build$ vim ../device-software/meta-edison-distro/recipes-support/python3.4/python_3.4.bb
With next:
DESCRIPTION = "Python 3.4"
# LICENSE = "GPLv3+"
LIC_FILES_CHKSUM ="file://LICENSE;md5=dd98d01d471fac8d8dbdd975229dba03"
SRC_URI = "https://www.python.org/ftp/python/3.4.4/Python-3.4.4.tgz https://www.python.org/ftp/python/3.4.4/Python-3.4.4.tgz"
SRC_URI[md5sum] = "e80a0c1c71763ff6b5a81f8cc9bb3d50"
What I need to add to this file if I need to execute next commands to build binaries (It works when I run it on hardware edison):
tar -xf Python-3.4.4.tgz
cd Python-3.4.4/
./configure --enable-shared
make -j3
make install
echo /usr/local/lib/ > /etc/ld.so.conf
I tried to adopt ../poky/meta/recipes-devtools/python/python3_3.3.3.bb recipe to 3.4 but it looks too large with a lot of patches and commands, so I need somthins simplier. Can you help with recipe or point me to some recipe with same simple ./configure and make commands?
- Tags:
- Python
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello nsrb,
Why do you need to install 3.4? Do you need a plugin/extension/etc. that is not available on 3.3? Which one?
Regarding the recipe you are currently working on, I'd suggest you to read http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html# new-recipe-writing-a-new-recipe http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html# new-recipe-writing-a-new-recipe, I believe the Writing a New Recipe section will be of much help for you. If you go through the guide you will find the details of how a recipe is constructed, you will find that compilation can be done by two different methods, Autotools or CMake, I believe you have to use CMake for what you are trying to achieve.
Your work so far looks very good but this guide is very complete and should help you a lot in your project.
Peter.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello nsrb,
Why do you need to install 3.4? Do you need a plugin/extension/etc. that is not available on 3.3? Which one?
Regarding the recipe you are currently working on, I'd suggest you to read http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html# new-recipe-writing-a-new-recipe http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html# new-recipe-writing-a-new-recipe, I believe the Writing a New Recipe section will be of much help for you. If you go through the guide you will find the details of how a recipe is constructed, you will find that compilation can be done by two different methods, Autotools or CMake, I believe you have to use CMake for what you are trying to achieve.
Your work so far looks very good but this guide is very complete and should help you a lot in your project.
Peter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi, thanks for tips and help, and pointing me to right way.
PS: I need several features from this list https://docs.python.org/3/whatsnew/3.4.html What's New In Python 3.4 — Python 3.5.1 documentation

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page