I have two different devices:
RB962UiGS-5HacT2HnT-US (https://mikrotik.com/product/RB962UiGS-5HacT2HnT)
RBwAPG-5HacT2HnD-BE-US (https://mikrotik.com/product/RBwAPG-5HacT2HnD-BE)

I checked the prebuilt images but did not see any for Mikrotik devices.

So, I started here:
https://libremesh.org/development.html

Spent some time here: https://openwrt.org/docs/guide-developer/build-system/use-buildsystem

What I did previously was:
git clone https://git.openwrt.org/openwrt/openwrt.git openwrt
cd openwrt
git pull

scripts/feeds update -a
scripts/feeds install -a
 
git checkout v19.07.7
 
make menuconfig

(If I just select the architecture it will build and boot)

Then I added LuCI because a web interface is preferred.
(I'm taking it in small steps)

Then just a:
make V=s

However, it failed to compile LuCI based on the message I sent previously.

So, then I tried 'master' and it was actually built.
However, the initramfs system won't boot (mikrotiks can net boot)
They changed the architecture for compilation from ar7xx to ath9 between 19.07 and 21.02.
I'm not sure if that's related, or the larger image size (3.8M to 5.4M) even though the devices are 16M/64M.
So, there I am.    Dead in the water.








On Mon, May 31, 2021 at 9:12 AM Mark Birss <markbirss@gmail.com> wrote:
Hi

Which specific MikroTik device ?
What steps are you using for building ?

Refer to the "Compiling LibreMesh from source code" guide here

https://libremesh.org/docs/en_quick_starting_guide.html


On Mon, May 31, 2021 at 2:36 PM Jason Gauthier <jagauthier@gmail.com> wrote:
I've been trying for days to get LibreMesh installed into an openwrt system.    I'm using Mikrotik devices, which I just got for this project.

I've been trying to build OpenWRT for a couple days.  I finally got a bare bones image of openwrt to build and boot.   

Then, I tried to add LuCI as a package and things started going downhill.  Specifically, building LuCi requires uwsgi, which requires libpcre. According to a thread I read:

"uwsgi has a dependency on libpcre, which was moved from the feeds to the core packages a few days ago. (https://github.com/openwrt/packages/commit/6f5412e6beb25d94cb30f088177900f2619af514 7)

If you are updating your feeds, but still maintaining a 19.07.3 base, it probably won't work. It'll report that xxx has a dependency on libpcre and cannot be found type error. I'm sure if it already isn't backported, it'll be in the next milestone release.

If you are building from source, make sure you either pull or rebase from the master branch, which should fix it."

https://forum.openwrt.org/t/cant-install-luci-ssl-nginx-missing-uwsgi-dependencies/71906

This is even getting to LibreMesh yet.

I'm trying to get master to build now, but not sure if it will work either.

Is there any other way to get LibreMesh going other than building my own OpenWRT firmware?


_______________________________________________
lime-users mailing list
lime-users@lists.libremesh.org
https://lists.libremesh.org/mailman/listinfo/lime-users
_______________________________________________
lime-users mailing list
lime-users@lists.libremesh.org
https://lists.libremesh.org/mailman/listinfo/lime-users