Sorry for not replying sooner, I'm able to compile the 'fgms' package in OpenWRT's environment with no patches applied, Thank you for all your work everybody! Hopefully this package gets accepted to OpenWRT, then it will be offered to all those who use OpenWRT forks downstream, like Entware-3X etc... An easy way to deploy fgms on your router :)
Sorry for not replying sooner, I'm able to compile the 'fgms' package in the OpenWRT's environment with no patches applied, Thank you for all your work everybody! Hopefully this package gets accepted to OpenWRT, then it will be offered to all those who use OpenWRT forks downstream, like Entware-3X etc... An easy way to deploy fgms on your router :)
Sorry for not replying sooner, I'm able to compile the 'fgms' package in the OpenWRT's environmentn with no patches applied, Thank you for all your work everybody! Hopefully this package gets accepted to OpenWRT, then it will be offered to all those who use OpenWrt forks downstream, like Entware-3X etc... An easy way to deploy fgms on your router :)
This was fixed in 874f10ac50e359f3a7d2868da8cc0571c01cfc51 a straight up -DCMAKE_INSTALL_PREFIX:PATH=/opt, correctly deploys on an Entware /opt partition, makefile:47 : # # Copyright (C) 2017 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # include $(TOPDIR)/rules.mk PKG_LICENSE:=GPL-2.0 PKG_MAINTAINER:=Hamza Alloush <hamzaalloush@live.com> PKG_NAME:=fgms PKG_VERSION:=0.13.4 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz...
Thank you for the fix Geoff, i fetch 0.13.2 (see the Makefile), OpenWRT guidelines state that we have to pull explicitly and version our Makefiles, regarding the status of fgms, I really only deployed this locally and haven't tested extensively the differences between the branches...
Sorry for the late reply, but i wanted to find the time to setup an amd64 environment, to see if it's something to do with the architecture, cross-compiler or OpenWRT's environment CMake 3.9.3, Initially i want to say the patch does work, but i found out it was unnessesary on some systems, I've tested cross-compiling for both armv7 and amd64 targets on two native x64 systems, with or without the patch, turns out it hasn't to do with the target architecture, but for two different systems with same...
"libCLI" CMake target won't cross-compile in OpenWRT build environment
CMAKE_INSTALL_PREFIX can't be set by user.