• Building with perl hooks

    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)