• FreeBSD build process

    From Kai Richter@2:240/77 to All on Tue Feb 8 05:00:44 2022
    Hello All!

    :~/husky % ./build.sh
    Makefile:69: *** Please install makeinfo program. Stop.

    Hm, i disabled all doc related settings in huskymak?

    < HTML=1
    #HTML=1
    < TXT=1
    #TXT=1

    It took some time until i found that the makeinfo program is part of FreeBSDs texinfo package.

    Regards

    Kai

    --- GoldED+/LNX 1.1.4.7
    * Origin: Monobox (2:240/77)
  • From Kai Richter@2:240/77 to All on Tue Feb 8 05:15:04 2022
    Hello All!

    Hm, i disabled all doc related settings in huskymak?

    And i disabled perl:

    PERL=0

    First try with the new build tools within a fresh FreeBSD jail. Because the system is empty i'd like to start with the lowest complexity level.

    ./build.sh
    [...]
    [ -d hpt/Build/dep/ ] || mkdir -m 755 -p hpt/Build/dep/
    hpt/src/perl.c:75:10: fatal error: 'EXTERN.h' file not found
    #include <EXTERN.h>
    ^~~~~~~~~~
    1 error generated.
    gmake: *** [hpt/Makefile:218: hpt/Build/dep/perl.d] Error 1
    gmake: *** Waiting for unfinished jobs....


    % pkg info perl
    pkg: No package(s) matching perl

    Perl itself is not installed. Which should be fine because i don't want to use it.

    Regards

    Kai

    --- GoldED+/LNX 1.1.4.7
    * Origin: Monobox (2:240/77)
  • From Michael Dukelsky@2:5020/1042 to Kai Richter on Tue Feb 8 11:05:44 2022
    Hello Kai,

    Tuesday February 08 2022, Kai Richter wrote to All:

    :~/husky % ./build.sh
    Makefile:69: *** Please install makeinfo program. Stop.

    Hm, i disabled all doc related settings in huskymak?

    < HTML=1
    #HTML=1
    < TXT=1
    #TXT=1

    No, you didn't. If you don't want any documentation, you have to comment out INFODIR and DOCDIR.

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Moscow, Russia (2:5020/1042)
  • From Michael Dukelsky@2:5020/1042 to Kai Richter on Tue Feb 8 11:09:04 2022
    Hello Kai,

    Tuesday February 08 2022, Kai Richter wrote to All:

    And i disabled perl:

    PERL=0

    First try with the new build tools within a fresh FreeBSD jail.
    Because the system is empty i'd like to start with the lowest
    complexity level.

    ./build.sh
    [...]
    [ -d hpt/Build/dep/ ] || mkdir -m 755 -p hpt/Build/dep/ hpt/src/perl.c:75:10: fatal error: 'EXTERN.h' file not found
    #include <EXTERN.h>
    ^~~~~~~~~~
    1 error generated.
    gmake: *** [hpt/Makefile:218: hpt/Build/dep/perl.d] Error 1
    gmake: *** Waiting for unfinished jobs....

    Fixed.

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Moscow, Russia (2:5020/1042)
  • From Michael Dukelsky@2:5020/1042 to Kai Richter on Tue Feb 8 12:48:56 2022
    Hello Kai,

    Tuesday February 08 2022, Kai Richter wrote to All:

    % pkg info perl
    pkg: No package(s) matching perl

    Perl itself is not installed. Which should be fine because i don't
    want to use it.

    Husky can work without Perl, but Husky installation and update use Perl.

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Moscow, Russia (2:5020/1042)
  • From Kai Richter@2:240/77 to All on Tue Feb 8 20:20:36 2022
    Hello All!

    Thanks for the update Michael!

    :~ % ./init_build
    Already up to date.

    ########################################################################
    Your huskymak.cfg was renamed to huskymak.cfg.old
    Now you need to make changes to "/home/node/husky/huskymak.cfg"
    per your requirements and then run "/home/node/husky/build.sh". ########################################################################

    Hmm, well, i think i will do the update many times until i found my final setting and move the jail to officially online status.

    This would reset my huskymak.cfg many times to the default values.
    And i have to copy/move huskymak.cfg.old to huskymak.cfg many times.

    Ah, checking the build script i found an "no_update" var that looks like it will suppress the overwriting of the cfg file. Nice one!

    Regards

    Kai

    --- GoldED+/LNX 1.1.4.7
    * Origin: Monobox (2:240/77)
  • From Michael Dukelsky@2:5020/1042 to Kai Richter on Wed Feb 9 11:44:34 2022
    Hello Kai,

    Tuesday February 08 2022, Kai Richter wrote to All:

    % pkg info perl
    pkg: No package(s) matching perl

    Perl itself is not installed. Which should be fine because i don't
    want to use it.

    Perl is one of the dependencies of the git package. So if you installed git, Perl is also installed. And the package with Perl in FreeBSD is called "perl5". So `pkg info perl5` or `which perl` should show that Perl is installed.

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Moscow, Russia (2:5020/1042)
  • From Kai Richter@2:240/77 to Michael Dukelsky on Wed Feb 9 22:53:00 2022
    Hello Michael!

    09 Feb 22, Michael Dukelsky wrote to Kai Richter:

    Perl itself is not installed. Which should be fine because i
    don't want to use it.

    Perl is one of the dependencies of the git package.

    Sigh, true. 90MB for a job that could do gitup with 80kB.

    Yes, i know, git is much more than a simple download tool. gitup was fine for me because my only task is download the git repo. At least at the moment.

    Regards

    Kai

    --- GoldED+/LNX 1.1.4.7
    * Origin: Monobox (2:240/77)