| Summary: | python3 modules won't install | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Gary Thomas <gary> |
| Component: | devtools / tool chain | Assignee: | Alejandro Hernandez <alejandro.hernandez> |
| Status: | VERIFIED FIXED | QA Contact: | Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu> |
| Severity: | normal | ||
| Priority: | Medium | CC: | bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher |
| Version: | unspecified | ||
| Target Milestone: | 1.9 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Gary Thomas
2015-07-24 15:32:13 UTC
Fixed here: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=0b69680a3385aeac76311ba4301fd5149dc2c1ad Verified on master e35c404537db0b46047fcb2ee7d3645e3e0935c5:
I have built a qemux86: core-image-sato with:
conf/local.conf
IMAGE_FEATURES += " package-management ssh-server-openssh"
CORE_IMAGE_EXTRA_INSTALL += " opkg ssh"
PACKAGE_CLASSES ?= "package_ipk"
Run:
bitbake python3; bitbake package-index
Setup package feeds:
Install webserver (if is the case)
sudo apt-get install nginx
Setup webserver:
sudo vi /etc/nginx/sites-available/i586
Replace TMPDIR with your tmpdir
server {
listen 80 default_server;
# set root to $(TMPDIR)/deploy/ipk/
root $(TMPDIR)/deploy/ipk/;
autoindex on;
}
Remove the nginx default enabled site
sudo rm /etc/nginx/sites-enabled/default
Enable the new i586-repo site
sudo ln -s /etc/nginx/sites-available/dart-repo /etc/nginx/sites-enabled/i586-repo
Restart the server
sudo /etc/init.d/nginx restart
Boot qemu: runqemu qemux86
On target - qemu:
Setup opkg: the opkg configuration file is /etc/opkg/opkg.conf.
Edit the opkg.conf and add these lines
src/gz all http://$YOUR_IP/all
src/gz qemux86 http://$YOUR_IP/qemux86
src/gz i586 http://$YOUR_IP/i586
dest root /
lists_dir ext /var/lib/opkg
Run an opkg update.
Run opkg install python3-modules
No errors should appear and python should be successful installed.
|