• Building with perl hooks

    From Paul Hayton@3:770/100 to All on Wed Jan 12 10:44:04 2022
    can someone remind me how to do this please. I did it once and can't recall how as it was some time ago and I am a relatively new fellow to linux.

    --- Mystic BBS v1.12 A47 2021/11/06 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (3:770/100)
  • From deon@3:633/509 to Paul Hayton on Wed Jan 12 09:17:50 2022
    Re: Building with perl hooks
    By: Paul Hayton to All on Wed Jan 12 2022 10:44 am

    can someone remind me how to do this please. I did it once and can't recall how as it was some time ago and I am a relatively new
    fellow to linux.

    If it helps, I build a deb of binkd to use in my fido hub container with perl support.

    https://dev.leenooks.net/bbs/binkd/-/blob/master/.gitlab-deb-x86_64.yml

    The instrutions to build that deb are above.

    (It's a bit old, I probably should update.)


    ...
    --- SBBSecho 3.14-Linux
    * Origin: I'm playing with ANSI+videotex - wanna play too? (3:633/509)
  • From Alan Ianson@1:153/757 to Paul Hayton on Tue Jan 11 19:34:20 2022
    can someone remind me how to do this please. I did it once and can't recall how as it was some time ago and I am a relatively new fellow to linux.

    I believe you just need PERL=1 in your huskymak.cfg.

    The build process has changed slightly but if you get the new INSTALL.asciidoc from https://github.com/huskyproject/huskybse/INSTALL.asciidoc it explains it.

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Alan Ianson@1:153/757 to Alan Ianson on Tue Jan 11 19:37:48 2022
    The build process has changed slightly but if you get the new INSTALL.asciidoc >from https://github.com/huskyproject/huskybse/INSTALL.asciidoc it explains it.

    Wait a minute. I though we were talking husky.. ;)

    Run ./configure --help and you can see the options. I think I used --with-perl or something similar.

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Paul Hayton@3:770/100 to deon on Wed Jan 12 17:01:31 2022
    On 12 Jan 2022 at 09:17a, deon pondered and said...

    If it helps, I build a deb of binkd to use in my fido hub container with perl support.

    https://dev.leenooks.net/bbs/binkd/-/blob/master/.gitlab-deb-x86_64.yml

    The instrutions to build that deb are above.

    Thank you :) I have not looked at this but had run the process manually just now and remembered what I thought were the correct steps but then realised I'd left out the perl stuff. Al's last comment was the missing bit which I think may have just done the trick :)

    --- Mystic BBS v1.12 A47 2021/11/06 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (3:770/100)
  • From Paul Hayton@3:770/100 to Alan Ianson on Wed Jan 12 17:02:12 2022
    On 11 Jan 2022 at 07:37p, Alan Ianson pondered and said...

    Wait a minute. I though we were talking husky.. ;)

    :)

    Run ./configure --help and you can see the options. I think I used --with-perl or something similar.

    That did thanks, I think I may be sorted now. Just wanting to ensure I'm running the latest build.

    --- Mystic BBS v1.12 A47 2021/11/06 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (3:770/100)
  • From Paul Hayton@3:770/100 to Alan Ianson on Wed Jan 12 17:23:25 2022
    On 11 Jan 2022 at 07:37p, Alan Ianson pondered and said...

    Run ./configure --help and you can see the options. I think I used --with-perl or something similar.

    Bugger, I used the switch but when it compiles it looks like it is not adding it in? I wonder why. When I run it with the perl-hooks keyword in the config it errors and says unknown keyword.

    Thing is the config process seems to work OK and I can see the following when I run the process

    avon@orac:/hub/temp/binkd2/binkd$ ./configure --with-perl
    checking for gawk... no
    checking for mawk... mawk
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for a BSD-compatible install... /usr/bin/install -c
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for inttypes.h... (cached) yes
    checking for stdint.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking sys/vfs.h usability... yes
    checking sys/vfs.h presence... yes
    checking for sys/vfs.h... yes
    checking sys/statfs.h usability... yes
    checking sys/statfs.h presence... yes
    checking for sys/statfs.h... yes
    checking sys/statvfs.h usability... yes
    checking sys/statvfs.h presence... yes
    checking for sys/statvfs.h... yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking for sys/mount.h... yes
    checking arpa/inet.h usability... yes
    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking stdarg.h usability... yes
    checking stdarg.h presence... yes
    checking for stdarg.h... yes
    checking io.h usability... no
    checking io.h presence... no
    checking for io.h... no
    checking netinet/in.h usability... yes
    checking netinet/in.h presence... yes
    checking for netinet/in.h... yes
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking arpa/nameser.h usability... yes
    checking arpa/nameser.h presence... yes
    checking for arpa/nameser.h... yes
    checking for resolv.h... yes
    checking for snprintf... yes
    checking for vsnprintf... yes
    checking for vsyslog... yes
    checking for waitpid... yes
    checking for statvfs... yes
    checking for statfs... yes
    checking for uname... yes
    checking for daemon... yes
    checking for setsid... yes
    checking for getopt... yes
    checking for localtime_r... yes
    checking for strtoumax... yes
    checking for sigprocmask... yes
    checking for gettimeofday... yes
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking for _LARGEFILE_SOURCE value needed for large files... no
    checking for socket... yes
    checking for gethostbyname... yes
    checking for setproctitle... no
    checking for setproctitle in -lutil... no
    checking for res_search... no
    checking for res_search in libresolv... yes
    checking for ns_initparse... yes
    checking size of short... 2
    checking size of int... 4
    checking size of long... 8
    checking for socklen_t... yes
    checking for intmax_t... yes
    checking for reliable signals... yes
    checking for facilitynames... yes
    checking for TIOCNOTTY... yes
    checking for MSG_NOSIGNAL... yes
    checking for perl... /usr/bin/perl
    checking for libperl... /usr/lib/x86_64-linux-gnu/perl/5.28
    checking for working libperl... yes
    checking for perl multiplicity... yes
    checking for libz... yes: /usr
    checking for libbz2... yes: /usr
    configure: creating ./config.status
    config.status: creating Makefile
    avon@orac:/hub/temp/binkd2/binkd$ make
    Making depends...
    Linking binkd...


    Binkd is successfully compiled.

    Do the missing 'yes' against the perl lines mean my version is not what is required for perl? Hmm

    --- Mystic BBS v1.12 A47 2021/11/06 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (3:770/100)
  • From Alan Ianson@1:153/757 to Paul Hayton on Tue Jan 11 20:37:30 2022
    On 11 Jan 2022 at 07:37p, Alan Ianson pondered and said...

    Run ./configure --help and you can see the options. I think I used
    --with-perl or something similar.

    Binkd is successfully compiled.

    Do the missing 'yes' against the perl lines mean my version is not what is required for perl? Hmm

    Do you have the perl-dev package installed?

    I'm not sure if that is the correct name of the dev package but it will be similar.

    If you are running debian or a derivative you can run "apt-get build-dep binkd" and that may bring in the required dependecies for you.

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Paul Hayton@3:770/100 to Alan Ianson on Wed Jan 12 20:29:03 2022

    On 11 Jan 2022 at 08:37p, Alan Ianson pondered and said...

    Do you have the perl-dev package installed?

    I don't know, but I last version I built last time worked, so that's why I am stumped now.

    If you are running debian or a derivative you can run "apt-get build-dep binkd" and that may bring in the required dependecies for you.

    thanks, did that, re ran the build and tried again sadly no joy.

    avon@orac:/hub/binkd$ ./binkd -C binkd.cfg
    20:27 [15273] binkd.cfg: line 329: error in configuration files
    ? 20:27 [15273] perl-hooks: unknown keyword
    ! 20:27 [15273] error in configuration, aborting
    avon@orac:/hub/binkd$ ./binkd -v
    Binkd 1.1a-113 (Jan 12 2022 10:29:21/Linux)

    --- Mystic BBS v1.12 A47 2021/11/06 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (3:770/100)
  • From Alan Ianson@1:153/757 to Paul Hayton on Tue Jan 11 23:47:26 2022
    Do you have the perl-dev package installed?

    I don't know, but I last version I built last time worked, so that's why I am stumped now.

    If you are running debian or a derivative you can run "apt-get build-dep
    binkd" and that may bring in the required dependecies for you.

    thanks, did that, re ran the build and tried again sadly no joy.

    avon@orac:/hub/binkd$ ./binkd -C binkd.cfg
    20:27 [15273] binkd.cfg: line 329: error in configuration files
    ? 20:27 [15273] perl-hooks: unknown keyword
    ! 20:27 [15273] error in configuration, aborting
    avon@orac:/hub/binkd$ ./binkd -v
    Binkd 1.1a-113 (Jan 12 2022 10:29:21/Linux)

    I'm at a bit of a loss at this point.

    What does ./binkd -vv say regarding perl?

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Alan Ianson@1:153/757 to Paul Hayton on Wed Jan 12 00:33:02 2022
    thanks, did that, re ran the build and tried again sadly no joy.

    Be sure to rerun ./configure if you have added any dependencies.

    I just did a fresh build here and the output of ./binkd -vv looks like this..

    Binkd 1.1a-113 (Jan 12 2022 00:23:22/Linux) Compilation flags: gcc, zlib, bzlib2, perl, https. Facilities: fts5004 ipv6

    I ran "./configure --with-proxy --with-perl" and that's my result.

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Oli@2:280/464.47 to Paul Hayton on Wed Jan 12 10:10:30 2022
    Paul wrote (2022-01-12):

    Run ./configure --help and you can see the options. I think I used
    --with-perl or something similar.

    That did thanks, I think I may be sorted now. Just wanting to ensure I'm running the latest build.

    Maybe you want add --with-zlib --with-bzip2

    Btw, it was already answered in FSX_NET, Subject/Thread "BinkD", 2020-10-10, MSGID: 21:3/102 5f8166d6 ;)

    * Origin: Birds aren't real (2:280/464.47)
  • From Paul Hayton@3:770/100 to Alan Ianson on Thu Jan 13 10:12:52 2022
    On 11 Jan 2022 at 11:47p, Alan Ianson pondered and said...

    I'm at a bit of a loss at this point.

    What does ./binkd -vv say regarding perl?

    avon@orac:/hub/temp/binkd2/binkd$ ./binkd -vv
    Binkd 1.1a-113 (Jan 12 2022 10:29:21/Linux)
    Compilation flags: gcc, zlib, bzlib2.
    Facilities: fts5004 ipv6

    --- Mystic BBS v1.12 A47 2021/11/06 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (3:770/100)
  • From Paul Hayton@3:770/100 to Oli on Thu Jan 13 10:16:51 2022
    On 12 Jan 2022 at 10:10a, Oli pondered and said...

    Maybe you want add --with-zlib --with-bzip2

    thanks, I tried that but same result as the one I just posted to Al.

    Btw, it was already answered in FSX_NET, Subject/Thread "BinkD", 2020-10-10, MSGID: 21:3/102 5f8166d6 ;)

    Is that where I saw it :)

    --- Mystic BBS v1.12 A47 2021/11/06 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (3:770/100)
  • From Alan Ianson@1:153/757 to Paul Hayton on Wed Jan 12 13:24:24 2022
    What does ./binkd -vv say regarding perl?

    avon@orac:/hub/temp/binkd2/binkd$ ./binkd -vv
    Binkd 1.1a-113 (Jan 12 2022 10:29:21/Linux)
    Compilation flags: gcc, zlib, bzlib2.
    Facilities: fts5004 ipv6

    Perl is not mentioned in the compilation flags. I suspect the perl-dev package is or was missing when you ran make, maybe?

    Looking over at my debian setup the package name is libperl-dev. Maybe try looking for that? I'm not sure of your distro but these packages can have different names from disto to distro.

    It's the -dev package that's needed for binkd to build with perl support.

    Make sure that is installed and then re-run "./configure --with-perl" and any other options needed and run make again.

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Paul Hayton@3:770/100 to Alan Ianson on Thu Jan 13 11:03:35 2022
    On 12 Jan 2022 at 01:24p, Alan Ianson pondered and said...

    Perl is not mentioned in the compilation flags. I suspect the perl-dev package is or was missing when you ran make, maybe?

    Yes I noticed that also and yet I'm including the switch when I run the compile.

    I checked on that package you mentioned.

    Looking over at my debian setup the package name is libperl-dev. Maybe
    try looking for that? I'm not sure of your distro but these packages can have different names from disto to distro.

    avon@orac:~$ sudo apt-get install libperl-dev
    [sudo] password for avon:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    libperl-dev is already the newest version (5.28.1-6+deb10u1).
    0 upgraded, 0 newly installed, 0 to remove and 33 not upgraded.

    Hmm

    --- Mystic BBS v1.12 A47 2021/11/06 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (3:770/100)
  • From Alan Ianson@1:153/757 to Paul Hayton on Wed Jan 12 14:17:14 2022
    avon@orac:~$ sudo apt-get install libperl-dev
    [sudo] password for avon:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    libperl-dev is already the newest version (5.28.1-6+deb10u1).
    0 upgraded, 0 newly installed, 0 to remove and 33 not upgraded.

    Hmm

    My thoughts as well.. :)

    There must be some niggly detail catching us up.

    Can you post the output of your ./configure --with-perl again and I'll try and see if anything catches my eye.

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Paul Hayton@3:770/100 to Alan Ianson on Thu Jan 13 11:29:13 2022
    On 12 Jan 2022 at 02:17p, Alan Ianson pondered and said...

    There must be some niggly detail catching us up.

    agreed

    Can you post the output of your ./configure --with-perl again and I'll
    try and see if anything catches my eye.

    Here it is, It does not seem to indicate anything to do with perl when I run make.

    avon@orac:/hub/temp/binkd2/binkd$ cp mkfls/unix/* . avon@orac:/hub/temp/binkd2/binkd$ ./configure --with-zlib --with-bzip2 --with-perl
    checking for gawk... no
    checking for mawk... mawk
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for a BSD-compatible install... /usr/bin/install -c
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for inttypes.h... (cached) yes
    checking for stdint.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking sys/vfs.h usability... yes
    checking sys/vfs.h presence... yes
    checking for sys/vfs.h... yes
    checking sys/statfs.h usability... yes
    checking sys/statfs.h presence... yes
    checking for sys/statfs.h... yes
    checking sys/statvfs.h usability... yes
    checking sys/statvfs.h presence... yes
    checking for sys/statvfs.h... yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking for sys/mount.h... yes
    checking arpa/inet.h usability... yes
    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking stdarg.h usability... yes
    checking stdarg.h presence... yes
    checking for stdarg.h... yes
    checking io.h usability... no
    checking io.h presence... no
    checking for io.h... no
    checking netinet/in.h usability... yes
    checking netinet/in.h presence... yes
    checking for netinet/in.h... yes
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking arpa/nameser.h usability... yes
    checking arpa/nameser.h presence... yes
    checking for arpa/nameser.h... yes
    checking for resolv.h... yes
    checking for snprintf... yes
    checking for vsnprintf... yes
    checking for vsyslog... yes
    checking for waitpid... yes
    checking for statvfs... yes
    checking for statfs... yes
    checking for uname... yes
    checking for daemon... yes
    checking for setsid... yes
    checking for getopt... yes
    checking for localtime_r... yes
    checking for strtoumax... yes
    checking for sigprocmask... yes
    checking for gettimeofday... yes
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking for _LARGEFILE_SOURCE value needed for large files... no
    checking for socket... yes
    checking for gethostbyname... yes
    checking for setproctitle... no
    checking for setproctitle in -lutil... no
    checking for res_search... no
    checking for res_search in libresolv... yes
    checking for ns_initparse... yes
    checking size of short... 2
    checking size of int... 4
    checking size of long... 8
    checking for socklen_t... yes
    checking for intmax_t... yes
    checking for reliable signals... yes
    checking for facilitynames... yes
    checking for TIOCNOTTY... yes
    checking for MSG_NOSIGNAL... yes
    checking for perl... /usr/bin/perl
    checking for libperl... /usr/lib/x86_64-linux-gnu/perl/5.28
    checking for working libperl... yes
    checking for perl multiplicity... yes
    checking for libz... yes: /usr
    checking for libbz2... yes: /usr
    configure: creating ./config.status
    config.status: creating Makefile
    avon@orac:/hub/temp/binkd2/binkd$ make
    Making depends...


    Binkd is successfully compiled.

    --- Mystic BBS v1.12 A47 2021/11/06 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (3:770/100)
  • From Paul Hayton@3:770/100 to Alan Ianson on Thu Jan 13 11:30:37 2022
    On 13 Jan 2022 at 11:29a, Paul Hayton pondered and said...

    checking for perl... /usr/bin/perl
    checking for libperl... /usr/lib/x86_64-linux-gnu/perl/5.28
    checking for working libperl... yes
    checking for perl multiplicity... yes
    checking for libz... yes: /usr
    checking for libbz2... yes: /usr
    configure: creating ./config.status
    config.status: creating Makefile
    avon@orac:/hub/temp/binkd2/binkd$ make

    I also ran this

    avon@orac:/hub/temp/binkd2/binkd$ whereis perl
    perl: /usr/bin/perl /usr/bin/perl5.28-x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/perl /etc/perl /usr/share/perl /usr/share/man/man1/perl.1.gz

    --- Mystic BBS v1.12 A47 2021/11/06 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (3:770/100)
  • From Alan Ianson@1:153/757 to Paul Hayton on Wed Jan 12 14:52:46 2022
    checking for perl... /usr/bin/perl
    checking for libperl... /usr/lib/x86_64-linux-gnu/perl/5.28
    checking for working libperl... yes
    checking for perl multiplicity... yes
    checking for libz... yes: /usr
    checking for libbz2... yes: /usr

    This looks good to me.

    configure: creating ./config.status
    config.status: creating Makefile
    avon@orac:/hub/temp/binkd2/binkd$ make
    Making depends...

    Binkd is successfully compiled.

    Does ./binkd -vv mention perl at this point on a fresh make?

    I am fresh out of ideas but I am going to go over the output of my ./configure --with-perl and comapre it with yours and see if I can spot any differences.

    I'm just guessing here but I wonder if "apt-get install build-essential" will install any missing deps?

    --- BBBS/Li6 v4.10 Toy-5
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Paul Hayton@3:770/100 to Alan Ianson on Thu Jan 13 13:53:16 2022
    On 12 Jan 2022 at 02:52p, Alan Ianson pondered and said...

    Does ./binkd -vv mention perl at this point on a fresh make?

    No, sadly not. Something is not being picked up.

    I am fresh out of ideas but I am going to go over the output of my ./configure --with-perl and comapre it with yours and see if I can spot any differences.

    OK thanks :)

    I'm just guessing here but I wonder if "apt-get install build-essential" will install any missing deps?

    avon@orac:/hub/temp/binkd2/binkd$ sudo apt-get install build-essential
    [sudo] password for avon:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    build-essential is already the newest version (12.6).
    0 upgraded, 0 newly installed, 0 to remove and 33 not upgraded.


    Seems all is fine there too.

    --- Mystic BBS v1.12 A47 2021/11/06 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (3:770/100)
  • From Richard Menedetter@2:310/31 to Paul Hayton on Thu Jan 13 08:22:44 2022
    Hi Paul!

    13 Jan 2022 11:03, from Paul Hayton -> Alan Ianson:

    Perl is not mentioned in the compilation flags. I suspect the
    perl-dev package is or was missing when you ran make, maybe?
    Yes I noticed that also and yet I'm including the switch when I run
    the compile.
    I checked on that package you mentioned.

    Did you rerun configure before building and after installing perl-dev?

    CU, Ricsi

    ... We have sex for a purpose. Last night she used me to time an egg.
    --- GoldED+/LNX
    * Origin: Common sense is what tells you that the world is flat. (2:310/31)
  • From Oli@2:280/464.47 to Paul Hayton on Thu Jan 13 10:59:37 2022
    Paul wrote (2022-01-13):

    On 12 Jan 2022 at 02:52p, Alan Ianson pondered and said...

    Does ./binkd -vv mention perl at this point on a fresh make?

    No, sadly not. Something is not being picked up.

    Okay, it's some problem with the make process. Solution:

    $ make clean

    and then start from the beginning.

    ---
    * Origin: Birds aren't real (2:280/464.47)
  • From Oli@2:280/464.47 to Oli on Thu Jan 13 11:05:00 2022
    Oli wrote (2022-01-13):

    Does ./binkd -vv mention perl at this point on a fresh make?

    No, sadly not. Something is not being picked up.

    Okay, it's some problem with the make process. Solution:

    $ make clean

    and then start from the beginning.

    To reproduce the problem:

    $ make clean (or fresh git clone)


    $ ./configure
    [...]
    $ make
    [...]
    $ ./binkd -vv
    Binkd 1.1a-113 (Jan 13 2022 10:53:17/Linux)
    Compilation flags: gcc, zlib, bzlib2.
    Facilities: fts5004 ipv6
    $ ./configure --with-perl
    [...]
    $ make
    Making depends...
    Compiling perlhooks.c...
    perlhooks.c: In function ‘perl_on_handshake’:
    perlhooks.c:1935:11: warning: ‘strncpy’ specified bound 41 equals destination size [-Wstringop-truncation]
    1935 | strncpy(state->expected_pwd, SvPV(passwd, len), sizeof(state->expected_pwd));
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Linking binkd...
    [...]
    $ ./binkd -vv
    Binkd 1.1a-113 (Jan 13 2022 10:53:17/Linux)
    Compilation flags: gcc, zlib, bzlib2.
    Facilities: fts5004 ipv6

    ---
    * Origin: Birds aren't real (2:280/464.47)
  • From Tommi Koivula@2:221/360 to Paul Hayton on Thu Jan 13 13:00:50 2022
    On 13.1.2022 0.29, Paul Hayton wrote:

    avon@orac:/hub/temp/binkd2/binkd$ make
    Making depends...

    Binkd is successfully compiled.

    Hmm. How about "make -B" to make sure everything is compiled after running "./configure" ?

    'Tommi

    --- Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From Oli@2:280/464.47 to Tommi Koivula on Thu Jan 13 12:07:32 2022
    Tommi wrote (2022-01-13):

    On 13.1.2022 0.29, Paul Hayton wrote:

    avon@orac:/hub/temp/binkd2/binkd$ make
    Making depends...

    Binkd is successfully compiled.

    Hmm. How about "make -B" to make sure everything is compiled after
    running "./configure" ?

    That should work, too.

    ---
    * Origin: Birds aren't real (2:280/464.47)
  • From Angel Ripoll@2:341/66 to Paul Hayton on Thu Jan 13 14:47:48 2022
    Hola Paul!

    13 Jan 22 11:03, Paul Hayton dijo a Alan Ianson:

    On 12 Jan 2022 at 01:24p, Alan Ianson pondered and said...

    Perl is not mentioned in the compilation flags. I suspect the perl-dev
    package is or was missing when you ran make, maybe?

    Have you done a make clean before? That could help

    Un saludo,
    Angel Ripoll
    aripoll @ zruspas.org

    --- GoldED+/LNX 1.1.5-b20180707 + HPT 1.9 + Binkd 1.1 en Debian
    * Origin: Synchronet - bbs.zruspas.org - Zruspa's BBS - (2:341/66)
  • From Paul Hayton@3:770/100 to Tommi Koivula on Fri Jan 14 10:41:18 2022
    On 13 Jan 2022 at 01:00p, Tommi Koivula pondered and said...

    Hmm. How about "make -B" to make sure everything is compiled after
    running "./configure" ?

    Thanks to all who replied :)

    Well this switch seems to have solved it.

    Here's the trail of steps.

    avon@orac:/hub/temp/binkd2/binkd$ cp mkfls/unix/* .

    avon@orac:/hub/temp/binkd2/binkd$ ./configure --with-perl

    checking for gawk... no
    checking for mawk... mawk
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for a BSD-compatible install... /usr/bin/install -c
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for inttypes.h... (cached) yes
    checking for stdint.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking sys/vfs.h usability... yes
    checking sys/vfs.h presence... yes
    checking for sys/vfs.h... yes
    checking sys/statfs.h usability... yes
    checking sys/statfs.h presence... yes
    checking for sys/statfs.h... yes
    checking sys/statvfs.h usability... yes
    checking sys/statvfs.h presence... yes
    checking for sys/statvfs.h... yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking for sys/mount.h... yes
    checking arpa/inet.h usability... yes
    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking stdarg.h usability... yes
    checking stdarg.h presence... yes
    checking for stdarg.h... yes
    checking io.h usability... no
    checking io.h presence... no
    checking for io.h... no
    checking netinet/in.h usability... yes
    checking netinet/in.h presence... yes
    checking for netinet/in.h... yes
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking arpa/nameser.h usability... yes
    checking arpa/nameser.h presence... yes
    checking for arpa/nameser.h... yes
    checking for resolv.h... yes
    checking for snprintf... yes
    checking for vsnprintf... yes
    checking for vsyslog... yes
    checking for waitpid... yes
    checking for statvfs... yes
    checking for statfs... yes
    checking for uname... yes
    checking for daemon... yes
    checking for setsid... yes
    checking for getopt... yes
    checking for localtime_r... yes
    checking for strtoumax... yes
    checking for sigprocmask... yes
    checking for gettimeofday... yes
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking for _LARGEFILE_SOURCE value needed for large files... no
    checking for socket... yes
    checking for gethostbyname... yes
    checking for setproctitle... no
    checking for setproctitle in -lutil... no
    checking for res_search... no
    checking for res_search in libresolv... yes
    checking for ns_initparse... yes
    checking size of short... 2
    checking size of int... 4
    checking size of long... 8
    checking for socklen_t... yes
    checking for intmax_t... yes
    checking for reliable signals... yes
    checking for facilitynames... yes
    checking for TIOCNOTTY... yes
    checking for MSG_NOSIGNAL... yes
    checking for perl... /usr/bin/perl
    checking for libperl... /usr/lib/x86_64-linux-gnu/perl/5.28
    checking for working libperl... yes
    checking for perl multiplicity... yes
    checking for libz... yes: /usr
    checking for libbz2... yes: /usr
    configure: creating ./config.status
    config.status: creating Makefile

    avon@orac:/hub/temp/binkd2/binkd$ make -B

    Making depends...
    Compiling md5b.c...
    Compiling binkd.c...
    Compiling readcfg.c...
    Compiling tools.c...
    Compiling ftnaddr.c...
    Compiling ftnq.c...
    Compiling client.c...
    Compiling server.c...
    Compiling protocol.c...
    Compiling bsy.c...
    Compiling inbound.c...
    Compiling breaksig.c...
    Compiling branch.c...
    Compiling unix/rename.c...
    Compiling unix/getfree.c...
    Compiling ftndom.c...
    Compiling ftnnode.c...
    Compiling srif.c...
    Compiling pmatch.c...
    Compiling readflo.c...
    Compiling prothlp.c...
    Compiling iptools.c...
    Compiling rfc2553.c...
    Compiling run.c...
    Compiling binlog.c...
    Compiling exitproc.c...
    Compiling getw.c...
    Compiling xalloc.c...
    Compiling crypt.c...
    Compiling unix/setpttl.c...
    Compiling unix/daemonize.c...
    Compiling perlhooks.c...
    Compiling compress.c...
    Compiling srv_gai.c...
    Linking binkd...


    Binkd is successfully compiled.

    avon@orac:/hub/temp/binkd2/binkd$ ./binkd -vv

    Binkd 1.1a-113 (Jan 14 2022 10:32:23/Linux)
    Compilation flags: gcc, zlib, bzlib2, perl.
    Facilities: fts5004 ipv6

    I have deployed this at 3:770/1 and 21:1/100 now. Which if you poll that system I should confirm this :)

    How strange I needed that switch?

    Best, Paul

    --- Mystic BBS v1.12 A47 2021/11/06 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (3:770/100)