Reach M+ package manager cannot find source, preventing me from installing necessary build essentials and Python modules

After SSH’ing to my Reach M+, I was trying to install a Python package using pip install. It returned the following error:

unable to execute 'aarch64-poky-linux-gcc': No such file or directory
error: command 'aarch64-poky-linux-gcc' failed with exit status 1

As such I tried installing the necessary build-essentials (incl. gcc) through opkg. In my attempt I got the following error:

**root@reach:~# opkg update**
Downloading http://files.emlid.com/reach-plus/stable-repo/neutis_n5/Packages.gz.
wget: server returned error: HTTP/1.1 404 Not Found
Downloading http://files.emlid.com/reach-plus/stable-repo/aarch64/Packages.gz.
wget: server returned error: HTTP/1.1 404 Not Found
Downloading http://files.emlid.com/reach-plus/stable-repo/all/Packages.gz.
wget: bad address 'files.emlid.com'
Collected errors:
 * opkg_download_backend: Failed to download http://files.emlid.com/reach-plus/stable-repo/neutis_n5/Packages.gz, wget returned 1.
 * opkg_download_backend: Failed to download http://files.emlid.com/reach-plus/stable-repo/aarch64/Packages.gz, wget returned 1.
 * opkg_download_backend: Failed to download http://files.emlid.com/reach-plus/stable-repo/all/Packages.gz, wget returned 1.

It seems like the packages for Reach M+ are no longer available. Can anyone tell me where I should get my build-essentials from? I assume Emlid opted for using opkg instead of alternative package managers, but it is uncertain at this point how I can cross-compile packages for the Reach myself - although I’d rather avoid that.

Hi @remco,

There’s no g++ or gcc on Reach M+, so you should cross-compile packages and put it on Reach. It’s the only workaround.

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.