• no perl compilation

    From Michael Dukelsky@2:5020/1042 to Kai Richter on Tue Jun 6 12:58:28 2023
    Hello Kai,

    Sunday June 04 2023, Kai Richter wrote to Michael Dukelsky:

    I'm sorry to be late with the reply.

    [...]
    ... 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.

    If you want to install Husky in a jail or generally in a computer without installed git, please do the following.

    The installation will be done in two steps. At the first step you need a computer with access to Internet and with installed git. Here you obtain the full sources including cvsdate.h files. After that you copy that to the computer where the installation should be done (or to the jail) and build and install Husky there.

    Step 1. Create a new directory, for example 'husky_build'. Copy 'init_build' to the directory. Change to the directory and run

    ./init_build -d husky_build

    Modify the created huskymak.cfg to your liking. If you do not want to use Perl, delete 'util' from the PROGRAMS list and set PERL=0. Now run

    gmake update

    Step 2. After that copy the whole husky_build directory to the jail. Be sure to install all the necessary programs in the jail. Which programs to install depends on the settings you use in huskymak.cfg. See huskybse/INSTALL.asciidoc. Change to the husky_build directory inside the jail and run

    ./build.sh --offline

    After Husky is built, you may install it.


    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20230221
    * Origin: Moscow, Russia (2:5020/1042)
  • From Kai Richter@2:240/77 to Michael Dukelsky on Wed Jun 7 23:41:56 2023
    Hello Michael!

    06 Jun 23, Michael Dukelsky wrote to Kai Richter:

    I'm sorry to be late with the reply.

    Don't worry, you are not. ;)

    If you want to install Husky in a jail or generally in a computer
    without installed git, please do the following.

    Thanks. I will give that a try. Some health issues caught me and summer is calling. It's good to know that i can run husky on freebsd, some kind of little milestone for me. Would like to continue immediately but i really need some sleep now.

    What kind of job does pearl during the make process?

    I found some parts that looked like building the cvsdate.h. Anything else?

    Regards

    Kai

    --- GoldED+/LNX 1.1.4.7
    * Origin: Monobox (2:240/77)
  • From Michael Dukelsky@2:5020/1042 to Kai Richter on Thu Jun 8 16:53:56 2023
    Hello Kai,

    Wednesday June 07 2023, Kai Richter wrote to Michael Dukelsky:

    Some health issues caught me and summer is calling.

    Get well!

    What kind of job does pearl during the make process?
    I found some parts that looked like building the cvsdate.h. Anything
    else?

    It seems that Perl is used during 'update' phase only and it is not used during 'build' and 'install' phases (if PERL=0 in huskymak.cfg and 'util' is not present in PROGRAMS list).

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20230221
    * Origin: Moscow, Russia (2:5020/1042)
  • From Kai Richter@2:240/77 to Michael Dukelsky on Sun Jun 11 17:28:24 2023
    Hello Michael!

    06 Jun 23, Michael Dukelsky wrote to Kai Richter:

    If you want to install Husky in a jail or generally in a computer
    without installed git, please do the following.

    The installation will be done in two steps. At the first step you need
    a computer with access to Internet and with installed git. Here you
    obtain the full sources including cvsdate.h files. After that you copy that to the computer where the installation should be done (or to the jail)

    Done. I used the already existing directory. Because the git jail and the node jail have the same OS and compiler version the output should be the same.

    and build and install Husky there.

    Modify the created huskymak.cfg to your liking. If you do not want to
    use Perl, delete 'util' from the PROGRAMS list and set PERL=0. Now run

    gmake update

    Done and moved to the node jail. Because i've chosed dynlib=0 the executables in the Build dirctories should work without libs installation. Do they? I haven't tested yet ...one moment please...

    /bin% tparser
    tparser/fbsd 1.9.0-cur 2021-05-02
    Could not find Config-file

    They do. ;-)

    Step 2. After that copy the whole husky_build directory to the jail.
    Be sure to install all the necessary programs in the jail. Which
    programs to install depends on the settings you use in huskymak.cfg.

    ./build.sh --offline

    Done. I wasn't surprised that i didn't see any output and that build command was completed immediately. But when i adjusted the path to the fidoconfig and built again there was no output too. I'm surprised. Isn't the default config path compiled into the executables? Ah, no. I found the documentation for the environment variable FIDOCONFIG.

    Interesting. My fresh git jail with husky is ~250MB smaller than my proposed node jail. Looks like i should reset the node jail to get rid of unnecessary stuff. Thanks a lot for your help! We reached another little milestone on my todo list.

    For today one last question only. I read the progit book last year and can do the basics like add, commit and status to my local .git. I noticed all git clones of husky do have the actual time stamp but not the dates as visible as on github.com. Is this normal or did i miss a configuration setting?

    Regards

    Kai

    --- GoldED+/LNX 1.1.4.7
    * Origin: Monobox (2:240/77)
  • From Michael Dukelsky@2:5020/1042 to Kai Richter on Sun Jun 11 22:41:56 2023
    Hello Kai,

    Sunday June 11 2023, Kai Richter wrote to Michael Dukelsky:

    For today one last question only. I read the progit book last year and
    can do the basics like add, commit and status to my local .git. I
    noticed all git clones of husky do have the actual time stamp but not
    the dates as visible as on github.com. Is this normal or did i miss a configuration setting?

    When you clone a repo, all the files have current date and time and not the commit date and time. This is normal.

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20230221
    * Origin: Moscow, Russia (2:5020/1042)