Ok, have not followed all the steps required from the development guide as you need to deselect some feeds and packages ?Select the Target System, Subtarget and Target Profile accordingly.
Optionally, deselect erroneous feeds locations:
Image configuration → Separate feed repositories → Enable feed libremesh
Image configuration → Separate feed repositories → Enable feed profiles
Deselect problematic packages:
Base system → dnsmasq
Base system → firewall
Network → odhcpd-ipv6only
Optionally, deselect unused packages: - Network → ppp
Here what i did in the past - modify further to include all the required lime-packages you require or select them with make menuconfig__________________________________________________________________________________________________________git clone -b v19.07.7 https://git.openwrt.org/openwrt/openwrt.git openwrt
cd openwrt
#rm -f feeds.conf
#rm -f .config
cp feeds.conf.default feeds.conf
cat << EOF >> feeds.conf
src-git libremesh https://github.com/libremesh/lime-packages.git;master
src-git profiles https://github.com/libremesh/network-profiles.git
EOF
./scripts/feeds update -a
./scripts/feeds install -a
# Select your target, subtarget and profile then exit and save config
make V=s menuconfig
echo "CONFIG_PACKAGE_dnsmasq=n" >> .config
echo "CONFIG_PACKAGE_odhcpd=n" >> .config
echo "CONFIG_PACKAGE_odhcpd-ipv6only=n" >> .config
#Optional remove KPPP
#echo "CONFIG_PACKAGE_kmod-ppp=n" >> .config
echo "CONFIG_PACKAGE_lime-system=y" >> .config
echo "CONFIG_PACKAGE_lime-proto-babeld=y" >> .config
echo "CONFIG_PACKAGE_lime-proto-batadv=y" >> .config
echo "CONFIG_PACKAGE_lime-proto-anygw=y" >> .config
echo "CONFIG_PACKAGE_lime-proto-wan=y" >> .config
echo "CONFIG_PACKAGE_lime-hwd-openwrt-wan=y" >> .config
echo "CONFIG_PACKAGE_shared-state=y" >> .config
echo "CONFIG_PACKAGE_hotplug-initd-services=y" >> .config
echo "CONFIG_PACKAGE_shared-state-babeld_hosts=y" >> .config
echo "CONFIG_PACKAGE_shared-state-bat_hosts=y" >> .config
echo "CONFIG_PACKAGE_shared-state-dnsmasq_hosts=y" >> .config
echo "CONFIG_PACKAGE_shared-state-dnsmasq_leases=y" >> .config
echo "CONFIG_PACKAGE_shared-state-nodes_and_links=y" >> .config
echo "CONFIG_PACKAGE_check-date-http=y" >> .config
#echo "CONFIG_PACKAGE_lime-app=y" >> .config
echo "CONFIG_PACKAGE_lime-docs-minimal=y" >> .config
echo "CONFIG_PACKAGE_first-boot-wizard=y" >> .config
echo "CONFIG_PACKAGE_lime-docs=y" >> .config
echo "CONFIG_PACKAGE_lime-hwd-ground-routing=y" >> .config
echo "CONFIG_PACKAGE_lime-debug=y" >> .config
#add your other packages#Enable LUCI-SSL does not work with piania
echo "CONFIG_PACKAGE_luci-ssl=y" >> .config
echo "CONFIG_PACKAGE_luci-theme-bootstrap=y" >> .config
echo "CONFIG_PACKAGE_nano=y" >> .config
echo "CONFIG_PACKAGE_wpad-mesh-openssl=y" >> .config
echo "PACKAGE_luci-compat=y" >> .config
make defconfig
make download
make -j$(nproc)_______________________________________________On Mon, May 31, 2021 at 3:29 PM Jason Gauthier <jagauthier@gmail.com> wrote: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:Spent some time here: https://openwrt.org/docs/guide-developer/build-system/use-buildsystemWhat 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=sHowever, 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:HiWhich specific MikroTik device ?What steps are you using for building ?Refer to the "Compiling LibreMesh from source code" guide here_______________________________________________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 onlibpcre
, 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
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