#See https://adrhc.go.ro/wordpress/common-commands-when-building/ for building environment, x.sh script and other things not defined here. #Before starting do declare the environment variables specified to the link above. #requires: pth-2.0.7-arm-1.txz, libiconv-1.14-arm-1.txz, texinfo-5.2-arm-1.txz cd ~/compile rm -r ~/compile/findutils #rel-4-4-fixes branch (stable) #git clone -q -b rel-4-4-fixes git://git.savannah.gnu.org/findutils.git #master branch git clone git://git.savannah.gnu.org/findutils.git #ERROR: find.texi:1893: node `Time Formats' lacks menu item for `Formatting Flags' despite being its Up target make[2]: *** [find.info] Error 1 make[2]: Leaving directory `/usr/local/zy-pkgs/ffproot/ffp/home/root/compile/findutils/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/zy-pkgs/ffproot/ffp/home/root/compile/findutils' make: *** [all] Error 2 #SOLUTION: When building rel-4-4-fixes branch you need something like s:texinfo-4.13a-arm-1.txz (ver. 4.x) but not uli:texinfo-5.2-arm-1.txz (ver. 5.x). User master branch with uli:texinfo-5.2-arm-1.txz (ver. 5.x). #ERROR1: configure.ac:4: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. #SOLUTION1: Don't download the sources instead use master branch or rel-4-4-fixes branch links above. cd ~/compile/findutils ~/x.sh ffpg rm -r ~/compile/findutils/gnulib ./import-gnulib.sh rm nohup.out nohup ./configure --prefix=/ffp --enable-id-cache --enable-leaf-optimisation --enable-dependency-tracking --enable-threads=posix --without-included-regex --with-libiconv-prefix=/ffp --with-libintl-prefix=/ffp & #sed -i s/"@insertcopying{}"/"@insertcopying"/ ~/compile/findutils/doc/find.texi nohup make & renice -14 `pidof cc1plus` -p `pidof make` -p `pidof as` tail -f nohup.out mkdir -p ~/temp/findutils rm -r ~/temp/findutils/* #make install DESTDIR=~/temp/findutils -> ATENTIE, trebuie data calea completa (ca mai jos) ci nu cu ~ make install DESTDIR=/usr/local/zy-pkgs/ffproot/ffp/home/root/temp/findutils #rm /tmp/findutils-4.5.15-arm-X.txz -> won't delete it because I want to force the modifying of buildnumber on new builds #makepkg findutils version buildnumber cd ~/temp/findutils makepkg findutils 4.5.15 2 cp -v /tmp/findutils-4.5.15-arm-2.txz /usr/local/zy-pkgs/gui/ffp_0.7_armv5