Subj : no perl compilation To : Michael Dukelsky From : Kai Richter Date : Sun Jun 04 2023 06:28 am Hello Michael! 03 Jun 23, Michael Dukelsky wrote to Kai Richter: MD> It looks like there was some mistake in the sequence of actions you MD> did. I found a backup for my raspberry pi: Mem: 1332K Active, 9400K Inact, 125M Wired, 98M Buf, 778M Free # uname -a FreeBSD generic 13.0-RELEASE FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr 9 06:33:09 UTC 2021 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm where the compilation did work. My approach was the sequence that worked then. (Starting with edit of huskymak.cfg and compilation of huskylib.) That build used gmake and clang: huskylib # gmake clang -Wall -c -O3 -fomit-frame-pointer -fPIC -DUNIX -DHAS_POPEN -Ihuskylib src/calendar.c MD> Instead of looking for the mistake, it may be easier to start MD> from the beginning. Ok, i dropped my requirements of no git no perl in my testing jail. testing:~/worf% df -h Filesystem Size Used Avail Capacity Mounted on testing 845G 2,5G 842G 0% / MD> Create a new directory and copy the init_build MD> there. Change to the directory and run MD> ./init_build -d YOUR_DIRECTORY # ./init_build -d ~/worf/ DO NOT run this as root Fixed. To build util, you must install Perl and Perl modules 'Module::Build' and 'Test::More' Reading/learning/found cpanm: +++++ testing:~/worf% cpanm Test::More ! ! Can't write to /usr/local/lib/perl5/site_perl and /usr/local/bin: Installing modules to /home/test/perl5 ! To turn off this warning, you have to do one of the following: ! - run me as a root or with --sudo option (to install to /usr/local/lib/perl5/site_perl and /usr/local/bin) ! - Configure local::lib in your existing shell to set PERL_MM_OPT etc. ! - Install local::lib by running the following commands ! ! cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib) +++++ There is no sudo in FreeBSD jails, so back to root: cpanm Module::Build cpanm Test::More It worked. Back to user and build. MD> where YOUR_DIRECTORY is the full path of the directory you have just MD> created. After that update the huskymak.cfg that has just been created Btw when i did several tries to get the init_build done the renaming of huskymak.cfg.old to huskymak.cfg was a little workflow breaker. MD> in the directory and run MD> ./build.sh Generating hptzip/cvsdate.h Please install 'makeinfo' program got root, pkg search makeinfo, not found, read INSTALL.asciidoc, installed texinfo. I got interrupted and when i continued i forgot to keep reporting. But finaly the build finished. After changing to root gmake install worked. Well, i had no doubt that it does. But now i have a git perl installation. I know i will need that anyway if i ever would be able to contribute but for my jail system i would still like to do a no perl no git installation first. Regards Kai --- GoldED+/LNX 1.1.4.7 * Origin: Monobox (2:240/77) .