Installing Bazel on Raspberry pi 3 - raspberry-pi

I am trying to build Bazel from source for Raspberry Pi 3 (Model B). I encounter error
Protobuf compiler not found in third_party/protobuf/protoc-linux-arm32.exe
Earlier I tried downloading the available .deb package which failed to install (even after force architecture, worth noting Pi 3 is a armhf 64 system) as dependency on JDK7 was not resolved. JDK7 is not available through apt-get.
My understanding of Bazel, Protocol Buffer is very limited, Please help me with:
The steps I can take to successfully build Bazel on Raspberry Pi 3
Someone is able to do so or their any repository I can include
directly?
I think it is very much possible to build because Tensorflow repository for Raspberry Pi is successfully installed on Pi 3, which I grabbed from here

There's a guide to building TensorFlow using Bazel on the Pi 3 here that may help:
https://github.com/samjabrahams/tensorflow-on-raspberry-pi/blob/master/GUIDE.md

You would need to get a version of protobuf compiler 3.0 and put it in third_party/protobuf/protoc-linux-arm32.exe.

I have explained how to build/install Bazel on Raspberry Pi step by step here and for test I have used Raspberry Pi 3B+ 1.4GHz Cortex-A53 Rev. 1.3 with 1GB RAM and 16GB SD card. Thereafter you can use the official TF documentation to build TF on Raspberry Pi.

Related

compiling SSTP plugin for network-manager on Raspberry Pi

I'm trying to install sstp VPN plugin for network manager on raspbian arm64. There is no available sstp plugin on the repository for network-manager so I'm assuming I have to compile it by myself. I've been searching online for any available instruction but I couldn't find any. So I appreciate if anyone could give me any information regarding this issue.
I also tried sstp-client package on terminal but that one also wasn't successfull for me. I coulnd't maintain the sstp connection. So currently network-manager-sstp plugin is my last hope. I'm using arm64 debian bullseye Raspbian.

How to install Qpid Proton on Raspberry pi

I want to use Qpid Proton on the raspberry pi 4 but I have trouble installing it.
Well, it seems I could install it and I can use the examples from the Apache website.
https://qpid.apache.org/releases/qpid-proton-0.33.0/proton/python/docs/tutorial.html
However, the container's on_sendable callback does not seem to be executed.
After doing some research, it seems I need to add a topic exchange with the qpid-config, which is part of qpid-tools.
However, those are not available to install, both with pip or apt ...
Do you know how I can install Qpid-Tools on the raspberry pi?
Do I need to add a repository? And if so, where do I find it?
It's doubtful that there exists a build of qpid-tools fir the ARM based distributions so the short answer is probably that you can't get those tools there. The longer answer would be that you would need to likely build the qpid C++ binaries yourself on your Raspberry Pi using the included INSTALL instructions to try and reverse engineer the needed requirements and platform configuration that would allow it to build on ARM.
If you figure out the requirements you could feed that back to the Qpid community although I don't think there is much ongoing momentum for the Qpid C++ broker.
You can download the source bundle from the Qpid project site here.

How to build gattlib

I am trying to build the gattlib for Raspbian for Raspberry Pi 3. But when followed the instructions on the site: https://github.com/labapart/gattlib and using Linaro cross-compiling toolchain, I was not able to do this in Ubuntu 16.04. Please advise me, if possible, in details what is the correct way to do this. Thanks.

Open MPI stuck on an older version

I'm building a Raspberry Pi cluster and am using Open MPI to do some parallel processing... I was able to get it up and running with my Raspberry Pi 3 and a few Pi 1s, but when I tried to add another Pi 3 I started getting some errors (Error: unknown option "--hnp-topo-sig")
It's possible that the problem is because the versions of mpi between both my pis are different - my first pi 3 has version 2.0.2 while the other has 1.6.5, which is odd considering I only installed it on that pi today and on the first pi about a week ago.
I've tried sudo apt-get update and upgrade, but my pi keeps telling me that everything is up to date, even though it doesn't seem like it is. So my question is this - how can I update my open mpi to a newer version so I can run my files? Thanks in advance!
As Gilles noted, Open MPI requires the version to be identical on all machines.
If your Linux distro is telling you that the packaged version of Open MPI is up to date, then you probably have different versions of Linux distros on your different RPi units.
You might want to try:
Installing the same exact Linux distro/version on all your RPi units, and/or
Downloading the latest Open MPI source code tarball from www.open-mpi.org and building/installing Open MPI from source on all your RPi units. That will definitely work, but be aware that Open MPI is a large software package -- compiling it on an RPi will take quite a while.

Xargo config for Raspberry Pi

I'm learning to build a simple bare metal program (without Linux OS) for Raspberry Pi (gen 1).
However, I don't know how to setup the cross-compiler under the hood of xargo. There are docs on rust-cross about RPI 2 but not about RPI 1.
Is there some example how to do it? I've tried several existing repos on github but all failed to compile.
RPI-Kernel
IronKernel