You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting an error with the distribute package, but it seems different than issue #26. I also posted this question on the arduino forum, but I am hoping we can find a workaround for the bad 'distribute' package.
Device: Yun Rev2
OpenWrt: 17.11
So the package is available on the arduino downloads page, but doesn't seem to be compatible for some reason.
So, you can download it fine from the package page, but opkg won't install it, with the error being an architectural flag.
Looking at a clue here from another device, perhaps the packages aren't properly cross complied... or perhaps something in opkg.conf that could be changed to make this work???
BUT, I can't seem to find any other repo to find the distribute package that is cross compiled for the mips_24kg architecture. My guess is the downloads.arduino.cc page that opkg pulls from just grabs those files from the LEDE repo. So, if that source is down, maybe it can't get updated cross-compiled files and maybe it could fail.
So, the referenced repo there is down... so that might explain the problem of the referenced opkg package on the arduino downloads page not matching the architecture, but not sure.
There is another download source for the mips_24kc architecture, and 'distribute' is not in the package list:
I really don't know what to do.. I'm not sure how one would cross-compile a given package against the architecture, and not sure how to find a workaround for distribute.
Any other thoughts from someone with more experience here would be hugely helpful.
The text was updated successfully, but these errors were encountered:
ldnelso2
changed the title
Error on install - inco
Error on install - incompatible with the architectures configured
May 6, 2019
Okay - so I got some additional info from the OpenWRT forum. Looks like the distribute package never existed on openwrt.
So, from what I understand, the Yun used to run on the Lede distro, and then subsequently openwrt (or there was a merge or something). Looks like that is where things fell through.
So that means we:
Either have to find an older copy of the .ipk file for distribute that worked before
Find the source for distribute and cross compilie it for our architecture (mips_24kc).
Find a way to set up easy_install or pip manally on this distribution without easy_install (this could involve cross compiling pip on the mips_24kc architecture
I am getting an error with the distribute package, but it seems different than issue #26. I also posted this question on the arduino forum, but I am hoping we can find a workaround for the bad 'distribute' package.
Device: Yun Rev2
OpenWrt: 17.11
So the package is available on the arduino downloads page, but doesn't seem to be compatible for some reason.
http://downloads.arduino.cc/openwrtyun/1/packages/
For example, for the package 'distribute'
$ wget http://downloads.arduino.cc/openwrtyun/1/packages/distribute_0.6.21-1_ar71xx.ipk
Downloading 'http://downloads.arduino.cc/openwrtyun/1/packages/distribute_0.6.21-1_ar71xx.ipk'
Connecting to 104.20.190.47:80
Writing to 'distribute_0.6.21-1_ar71xx.ipk'
distribute_0.6.21-1_ 100% |*******************************| 150k 0:00:00 ETA
Download completed (154232 bytes)
$ opkg install distribute_0.6.21-1_ar71xx.ipk
Unknown package 'distribute'.
Collected errors:
So, you can download it fine from the package page, but opkg won't install it, with the error being an architectural flag.
Looking at a clue here from another device, perhaps the packages aren't properly cross complied... or perhaps something in opkg.conf that could be changed to make this work???
https://forums.hak5.org/topic/36961-can-i-use-any-opkg-package-from-openwrt/
SO - looking at the architecture of a couple other packages, it is clear the architecture we are looking for is 'mips_24kc'
Confirmed by looking at:
$ cat /etc/openwrt_release
DISTRIB_ID='LEDEYun'
DISTRIB_RELEASE='17.11'
DISTRIB_REVISION='r6773+1-8dd3a6e'
DISTRIB_TARGET='ar71xx/generic'
DISTRIB_ARCH='mips_24kc'
DISTRIB_DESCRIPTION='LEDEYun 17.11 r6773+1-8dd3a6e'
DISTRIB_TAINTS='busybox'
BUT, I can't seem to find any other repo to find the distribute package that is cross compiled for the mips_24kg architecture. My guess is the downloads.arduino.cc page that opkg pulls from just grabs those files from the LEDE repo. So, if that source is down, maybe it can't get updated cross-compiled files and maybe it could fail.
https://github.com/mylittletony/SocketMan/wiki/LEDE-OPKG-repository
So, the referenced repo there is down... so that might explain the problem of the referenced opkg package on the arduino downloads page not matching the architecture, but not sure.
There is another download source for the mips_24kc architecture, and 'distribute' is not in the package list:
http://downloads.openwrt.org/snapshots/packages/mips_24kc/packages/
I really don't know what to do.. I'm not sure how one would cross-compile a given package against the architecture, and not sure how to find a workaround for distribute.
Any other thoughts from someone with more experience here would be hugely helpful.
The text was updated successfully, but these errors were encountered: