• rmLinkMail.pl

    From Nicholas Boel@1:154/10 to All on Sat Nov 25 08:41:22 2023
    Hello All,

    Not too long ago I switched to the new 'build.sh' method. Before I did this, rmLinkMail.pl worked fine from anywhere on my system, as I have a <homedir>/fido/bin directory where everything else (BINDIR in huskymak.cfg) resides, added to PATH.

    After using the new build.sh method, rmLinkMail.pl gives this error:

    $ rmLinkMail.pl
    Global symbol "$huskyBinDir" requires explicit package name (did you forget to declare "my $huskyBinDir"?) at /home/axisd/fido/bin/rmLinkMail.pl line 58.
    Execution of /home/axisd/fido/bin/rmLinkMail.pl aborted due to compilation errors.

    I've never had to declare anything before this switch. <homedir>/fido/bin is still being used and still in my PATH, and everything works from there (hpt, htick, tparser, etc.). huskymak.cfg is still in the correct place with all the proper directories specified. Everything else has been working nicely since switching the method.

    Is there something I've missed? Or has something changed with husky that is causing this script to fail?

    Thanks in advance..

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- GoldED+/LNX 1.1.5-b20231112
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
  • From Michael Dukelsky@2:5020/1042 to Nicholas Boel on Sun Nov 26 18:14:30 2023
    Hello Nicholas,

    Saturday November 25 2023, Nicholas Boel wrote to All:

    $ rmLinkMail.pl
    Global symbol "$huskyBinDir" requires explicit package name (did you forget to declare "my $huskyBinDir"?) at /home/axisd/fido/bin/rmLinkMail.pl line 58. Execution of /home/axisd/fido/bin/rmLinkMail.pl aborted due to compilation errors.

    Hopefully, I've fixed it. Please try the change.

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20231008
    * Origin: Moscow, Russia (2:5020/1042)
  • From Nicholas Boel@1:154/10 to Michael Dukelsky on Sun Nov 26 10:17:02 2023
    Hello Michael,

    On Sunday November 26 2023 18:14, you wrote to me:

    $ rmLinkMail.pl
    Global symbol "$huskyBinDir" requires explicit package name (did
    you forget to declare "my $huskyBinDir"?) at
    /home/axisd/fido/bin/rmLinkMail.pl line 58. Execution of
    /home/axisd/fido/bin/rmLinkMail.pl aborted due to compilation
    errors.

    Hopefully, I've fixed it. Please try the change.

    Now it seems to pass up that error, and say:

    $ rmLinkMail.pl --config /home/axisd/fido/etc/config --address 723:1/2
    Please supply the path to fidoconfig

    Unless I'm specifying the options wrong? But when I change the path of the fidoconfig to anywhere it doesn't reside, it displays the help screen.

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- GoldED+/LNX 1.1.5-b20231112
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
  • From Tommi Koivula@2:221/360 to Michael Dukelsky on Sun Nov 26 18:54:22 2023
    Hi Michael.

    26 Nov 23 18:14, you wrote to Nicholas Boel:

    $ rmLinkMail.pl
    Global symbol "$huskyBinDir" requires explicit package name (did you
    forget to declare "my $huskyBinDir"?) at
    /home/axisd/fido/bin/rmLinkMail.pl line 58. Execution of
    /home/axisd/fido/bin/rmLinkMail.pl aborted due to compilation errors.

    Hopefully, I've fixed it. Please try the change.

    I haven't used rmlinkmail before, but it works:

    tommi@mxo:~$ rmLinkMail.pl --address 2:221/1
    Deleting flow files from outbound
    /bbs/bso/fido/00dd0001.try deleted
    1 files were deleted
    Deleting orphan files from PassFileAreaDir
    0 orphan files were deleted

    tommi@mxo:~$ rmLinkMail.pl --version
    rmLinkMail.pl version=1.4
    uses Fidoconfig::Token v.2.5
    and Husky::Rmfiles v.1.11

    However, if I update, it fails to find the config:

    tommi@mxo:~/husky/util/bin$ ./rmLinkMail.pl --address 2:221/1.1
    Please supply the path to fidoconfig

    tommi@mxo:~/husky/util/bin$ ./rmLinkMail.pl --config /bbs/fido.cfg --address 2:221/1.1
    Please supply the path to fidoconfig

    tommi@mxo:~/husky/util/bin$ ./rmLinkMail.pl --version
    rmLinkMail.pl version=1.5
    uses Fidoconfig::Token v.2.5
    and Husky::Rmfiles v.1.11

    'Tommi

    --- GoldED+/LNX 1.1.5-b20231112
    * Origin: nntps://news.fidonet.fi (2:221/360)
  • From Nicholas Boel@1:154/10 to Tommi Koivula on Sun Nov 26 11:06:42 2023
    Hello Tommi,

    On Sunday November 26 2023 18:54, you wrote to Michael Dukelsky:

    Hopefully, I've fixed it. Please try the change.

    I haven't used rmlinkmail before, but it works:

    tommi@mxo:~$ rmLinkMail.pl --address 2:221/1
    Deleting flow files from outbound
    /bbs/bso/fido/00dd0001.try deleted
    1 files were deleted
    Deleting orphan files from PassFileAreaDir
    0 orphan files were deleted

    tommi@mxo:~$ rmLinkMail.pl --version
    rmLinkMail.pl version=1.4
    uses Fidoconfig::Token v.2.5
    and Husky::Rmfiles v.1.11

    However, if I update, it fails to find the config:

    tommi@mxo:~/husky/util/bin$ ./rmLinkMail.pl --address 2:221/1.1
    Please supply the path to fidoconfig

    tommi@mxo:~/husky/util/bin$ ./rmLinkMail.pl --config /bbs/fido.cfg --address 2:221/1.1 Please supply the path to fidoconfig

    tommi@mxo:~/husky/util/bin$ ./rmLinkMail.pl --version
    rmLinkMail.pl version=1.5
    uses Fidoconfig::Token v.2.5
    and Husky::Rmfiles v.1.11

    I took a look at what he changed, then did my own tinkering.
    I have a feeling this was all that was needed:

    my ($huskyBinDir);

    All of the options were also added to that line, and none of them work unless they're removed from it. I don't know if that's the actual fix since, to be perfectly honest, I have no idea what I'm doing. But.. more options started working as I removed them. Process of elimination and all that. ;)

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- GoldED+/LNX 1.1.5-b20231112
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
  • From Nicholas Boel@1:154/10 to Tommi Koivula on Sun Nov 26 11:12:58 2023
    Hello Tommi,

    On Sunday November 26 2023 18:54, you wrote to Michael Dukelsky:

    'Tommi

    --- GoldED+/LNX 1.1.5-b20231112
    * Origin: nntps://news.fidonet.fi (2:221/360)

    Also FYI, 221/6 is refusing connection.

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- GoldED+/LNX 1.1.5-b20231112
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
  • From Tommi Koivula@2:221/360 to Nicholas Boel on Sun Nov 26 19:56:08 2023
    * Originally in fidosoft.husky
    * Crossposted in netmail
    Hi Nicholas.

    26 Nov 23 11:12, you wrote to me:

    Also FYI, 221/6 is refusing connection.

    Hmm.. Is that so?

    === Cut ===
    # grep "incoming from" /var/log/binkd/binkd| grep -v 192.168 | tail -n30
    - 26 Nov 18:39:00 [908171] incoming from 104.246.155.40 (46605)
    - 26 Nov 18:40:34 [908171] incoming from 2a09:5302:ffff::f3c (44692)
    - 26 Nov 18:40:48 [908171] incoming from 2001:470:dcd0:0:21c:c4ff:fe5f:763e (52676)
    - 26 Nov 18:40:53 [908171] incoming from 2001:470:dcd0:0:21c:c4ff:fe5f:763e (52752)
    - 26 Nov 18:50:59 [908171] incoming from 104.246.155.40 (33321)
    - 26 Nov 18:56:02 [908171] incoming from 2a0c:5a81:9405:b000:e69:fac7:5d6b:119c (57222)
    - 26 Nov 18:56:59 [908171] incoming from 104.246.155.40 (34057)
    - 26 Nov 19:00:34 [908171] incoming from 2a09:5302:ffff::f3c (44830)
    - 26 Nov 19:05:59 [908171] incoming from 104.246.155.40 (40087)
    - 26 Nov 19:08:01 [908171] incoming from 2001:14bb:6dd:a55f::6d9 (52076)
    - 26 Nov 19:11:34 [908171] incoming from 2a09:5302:ffff::f3c (45040)
    - 26 Nov 19:13:53 [908171] incoming from 2600:3c01::f03c:92ff:fe83:9cb1 (35974) - 26 Nov 19:14:45 [908171] incoming from 2a00:41c0:d185:19:87:131:0:d (36264)
    - 26 Nov 19:20:34 [908171] incoming from 2a09:5302:ffff::f3c (45148)
    - 26 Nov 19:28:55 [908171] incoming from 2a09:5302:ffff::f3c (45234)
    - 26 Nov 19:30:18 [908171] incoming from 2001:470:dcd0:0:21c:c4ff:fe5f:763e (56270)
    - 26 Nov 19:30:35 [908171] incoming from 2a09:5302:ffff::f3c (45316)
    - 26 Nov 19:31:01 [908171] incoming from 2a0c:5a81:9405:b000:e69:fac7:5d6b:119c (35030)
    - 26 Nov 19:34:26 [908171] incoming from 2600:3c01::f03c:92ff:fe83:9cb1 (58982) - 26 Nov 19:36:00 [908171] incoming from 104.246.155.40 (41559)
    - 26 Nov 19:40:05 [908171] incoming from 2001:470:dcd0:0:21c:c4ff:fe5f:763e (57070)
    - 26 Nov 19:40:36 [908171] incoming from 2a09:5302:ffff::f3c (45404)
    - 26 Nov 19:43:55 [908171] incoming from 2600:3c01::f03c:92ff:fe83:9cb1 (46014) - 26 Nov 19:45:00 [908171] incoming from 104.246.155.40 (41067)
    - 26 Nov 19:45:03 [908171] incoming from 2a0c:5a81:9405:b000:e69:fac7:5d6b:119c (55072)
    - 26 Nov 19:46:00 [908171] incoming from 2001:999:2ca:1b1:f1d0:2:221:1 (33454) - 26 Nov 19:48:18 [908171] incoming from 2a09:5302:ffff::f3c (45518)
    - 26 Nov 19:50:02 [908171] incoming from 2001:14bb:6dd:a55f::a6f (54787)
    - 26 Nov 19:51:01 [908171] incoming from 2001:470:79c5::24 (57058)
    - 26 Nov 19:51:23 [908171] incoming from 84.231.179.90 (38196)

    === Cut ===

    'Tommi

    --- GoldED+/LNX 1.1.5-b20231112
    * Origin: nntps://news.fidonet.fi (2:221/360)
  • From Tommi Koivula@2:221/360 to Nicholas Boel on Sun Nov 26 19:59:26 2023
    Hi Nicholas.

    26 Nov 23 11:06, you wrote to me:

    I have a feeling this was all that was needed:

    my ($huskyBinDir);

    Good! :)

    'Tommi

    --- GoldED+/LNX 1.1.5-b20231112
    * Origin: nntps://news.fidonet.fi (2:221/360)
  • From Michael Dukelsky@2:5020/1042 to Nicholas Boel on Mon Nov 27 21:27:24 2023
    Hello Nicholas,

    Sunday November 26 2023, Nicholas Boel wrote to Michael Dukelsky:

    $ rmLinkMail.pl
    Global symbol "$huskyBinDir" requires explicit package name (did
    you forget to declare "my $huskyBinDir"?) at
    /home/axisd/fido/bin/rmLinkMail.pl line 58. Execution of
    /home/axisd/fido/bin/rmLinkMail.pl aborted due to compilation
    errors.

    Hopefully, I've fixed it. Please try the change.

    Now it seems to pass up that error, and say:

    $ rmLinkMail.pl --config /home/axisd/fido/etc/config --address 723:1/2 Please supply the path to fidoconfig

    Oh, yes. I forgot that a bunch of variables was imported implicitly. Now I import them explicitly. Please, try now.

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20231008
    * Origin: Moscow, Russia (2:5020/1042)
  • From Nicholas Boel@1:154/10 to Michael Dukelsky on Mon Nov 27 21:41:20 2023
    Hello Michael,

    On Monday November 27 2023 21:27, you wrote to me:

    Now it seems to pass up that error, and say:

    $ rmLinkMail.pl --config /home/axisd/fido/etc/config --address
    723:1/2 Please supply the path to fidoconfig

    Oh, yes. I forgot that a bunch of variables was imported implicitly.
    Now I import them explicitly. Please, try now.

    Now I get this on 3 of the 4 scripts updated (showold.pl doesn't show this error):

    $ ./rmLinkMail.pl
    "$huskyBinDir" is not exported by the Husky::Rmfiles module
    Can't continue after import errors at ./rmLinkMail.pl line 17.
    BEGIN failed--compilation aborted at ./rmLinkMail.pl line 21.

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- GoldED+/LNX 1.1.5-b20231112
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
  • From Michael Dukelsky@2:5020/1042 to Nicholas Boel on Tue Nov 28 15:36:54 2023
    Hello Nicholas,

    Monday November 27 2023, Nicholas Boel wrote to Michael Dukelsky:

    Now I get this on 3 of the 4 scripts updated (showold.pl doesn't show
    this error):

    $ ./rmLinkMail.pl
    "$huskyBinDir" is not exported by the Husky::Rmfiles module
    Can't continue after import errors at ./rmLinkMail.pl line 17.
    BEGIN failed--compilation aborted at ./rmLinkMail.pl line 21.

    "$huskyBinDir" IS exported by the Husky::Rmfiles module!

    Delete the whole "util" directory and run build.sh again.

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20231008
    * Origin: Moscow, Russia (2:5020/1042)
  • From Nicholas Boel@1:154/10 to Michael Dukelsky on Tue Nov 28 16:36:18 2023
    Hello Michael,

    On Tuesday November 28 2023 15:36, you wrote to me:

    $ ./rmLinkMail.pl
    "$huskyBinDir" is not exported by the Husky::Rmfiles module
    Can't continue after import errors at ./rmLinkMail.pl line 17.
    BEGIN failed--compilation aborted at ./rmLinkMail.pl line 21.

    "$huskyBinDir" IS exported by the Husky::Rmfiles module!

    Delete the whole "util" directory and run build.sh again.

    makeinfo --no-split "fidoconf/doc/fidoconfig.texi" -o fidoconf/Build/fidoconfig.info
    cd util/Fidoconfig-Token/; perl Build.PL \
    --install_path lib=/home/axisd/fido/share/perl5 \
    --install_path libdoc=/home/axisd/fido/share/man/man3
    Created MYMETA.yml and MYMETA.json
    Creating new 'Build' script for 'Fidoconfig-Token' version '2.5'
    cd util/Fidoconfig-Token/; ./Build
    Building Fidoconfig-Token
    cd util/Husky-Rmfiles/; perl Build.PL \
    --install_path lib=/home/axisd/fido/share/perl5 \
    --install_path libdoc=/home/axisd/fido/share/man/man3
    Checking prerequisites...
    requires:
    ! Fidoconfig::Token (2) is installed, but we need version >= 2.3
    test_requires:
    ! Fidoconfig::Token (2) is installed, but we need version >= 2.2

    ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation

    Run 'Build installdeps' to install missing prerequisites.

    Created MYMETA.yml and MYMETA.json
    Creating new 'Build' script for 'Husky-Rmfiles' version '1.11'
    cd util/Husky-Rmfiles/; export PERL5LIB=../Fidoconfig-Token/blib/lib; ./Build Building Husky-Rmfiles
    cd util/; perl Build.PL \
    --install_path script=/home/axisd/fido/bin/ \
    --install_path bindoc=/home/axisd/fido/share/man/man1
    Checking prerequisites...
    requires:
    ! Fidoconfig::Token (2) is installed, but we need version >= 2.5

    ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation

    Run 'Build installdeps' to install missing prerequisites.

    No 'module_name' was provided and it could not be inferred
    from other properties. This will prevent a packlist from
    being written for this file. Please set either 'module_name'
    or 'dist_version_from' in Build.PL.
    Created MYMETA.yml and MYMETA.json
    Creating new 'Build' script for 'Husky-Util' version '1.8'
    cd util/; \
    export PERL5LIB=Fidoconfig-Token/blib/lib:Husky/Rmfiles/blib/lib; \
    ./Build
    gzip -c fidoconf/Build/fidoconfig.info > fidoconf/Build/fidoconfig.info.gz
    rm -f fidoconf/Build/fidoconfig.info
    Building Husky-Util

    [end]

    Sorry for the long cut/paste, but I don't understand much of it so I figure I'd give you as much as I can. ;(

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- GoldED+/LNX 1.1.5-b20231112
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
  • From Michael Dukelsky@2:5020/1042 to Nicholas Boel on Wed Nov 29 13:58:22 2023
    Hello Nicholas,

    Tuesday November 28 2023, Nicholas Boel wrote to Michael Dukelsky:

    Sorry for the long cut/paste, but I don't understand much of it so I figure I'd give you as much as I can. ;(

    sudo make uninstall
    make distclean
    ./build.sh
    sudo make install

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20231008
    * Origin: Moscow, Russia (2:5020/1042)
  • From Nicholas Boel@1:154/10 to Michael Dukelsky on Wed Nov 29 16:39:46 2023
    Hello Michael,

    On Wednesday November 29 2023 13:58, you wrote to me:

    sudo make uninstall
    make distclean
    ./build.sh
    sudo make install

    $ ./rmLinkMail.pl
    "$huskyBinDir" is not exported by the Husky::Rmfiles module
    Can't continue after import errors at ./rmLinkMail.pl line 17.
    BEGIN failed--compilation aborted at ./rmLinkMail.pl line 21.
    [axisd@reaper bin]$ rmLink.pl

    Same thing after following your instructions above.

    And even as build.sh was running, I saw the same thing in regards to this fly by:

    [start]

    Checking prerequisites...
    requires:
    ! Fidoconfig::Token (2) is installed, but we need version >= 2.3
    test_requires:
    ! Fidoconfig::Token (2) is installed, but we need version >= 2.2

    ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation

    Run 'Build installdeps' to install missing prerequisites.

    [end]

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- GoldED+/LNX 1.1.5-b20231112
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
  • From Michael Dukelsky@2:5020/1042 to Nicholas Boel on Thu Nov 30 09:24:30 2023
    Hello Nicholas,

    Wednesday November 29 2023, Nicholas Boel wrote to Michael Dukelsky:

    sudo make uninstall
    make distclean
    ./build.sh
    sudo make install

    $ ./rmLinkMail.pl
    "$huskyBinDir" is not exported by the Husky::Rmfiles module
    Can't continue after import errors at ./rmLinkMail.pl line 17.
    BEGIN failed--compilation aborted at ./rmLinkMail.pl line 21. [axisd@reaper bin]$ rmLink.pl

    Same thing after following your instructions above.

    And even as build.sh was running, I saw the same thing in regards to
    this fly by:

    [start]

    Checking prerequisites...
    requires:
    ! Fidoconfig::Token (2) is installed, but we need version >= 2.3
    test_requires:
    ! Fidoconfig::Token (2) is installed, but we need version >= 2.2

    ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions
    of the modules indicated above before proceeding with this
    installation

    Run 'Build installdeps' to install missing prerequisites.

    [end]

    Please tell your operating system and its version.

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20231008
    * Origin: Moscow, Russia (2:5020/1042)
  • From Nicholas Boel@1:154/10 to Michael Dukelsky on Thu Nov 30 16:40:30 2023
    Hello Michael,

    On Thu, 30 Nov 2023 15:24:30 +0300, you wrote:

    Please tell your operating system and its version.

    Archlinux:
    Linux version 6.6.2-arch1-1
    GCC 13.2.1 20230801
    Binutils 2.41.0

    Regards,
    Nick

    .... "Take my advice, I don't use it anyway."

    --- Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)
    * Origin: _thePharcyde distribution system (Wisconsin) (1:154/10.0)
  • From Michael Dukelsky@2:5020/1042 to Nicholas Boel on Fri Dec 1 18:31:56 2023
    Hello Nicholas,

    Thursday November 30 2023, Nicholas Boel wrote to Michael Dukelsky:

    Archlinux:
    Linux version 6.6.2-arch1-1

    Have you added the line

    export PERL5LIB=/home/axisd/fido/share/perl5

    to '/home/axisd/.bash_profile' ?

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20231008
    * Origin: Moscow, Russia (2:5020/1042)
  • From Nicholas Boel@1:154/10 to Michael Dukelsky on Fri Dec 1 16:54:30 2023
    Hello Michael,

    On Sat, 2 Dec 2023 00:31:56 +0300, you wrote:

    Have you added the line

    export PERL5LIB=/home/axisd/fido/share/perl5

    to '/home/axisd/.bash_profile' ?

    No sir. I didn't see that anywhere in the documentation (though I may be to blame for 'skimming'), and I'm a noob when it comes to perl. ;)

    Thank you!

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."

    --- Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)
    * Origin: _thePharcyde distribution system (Wisconsin) (1:154/10.0)
  • From Michael Dukelsky@2:5020/1042 to Nicholas Boel on Sat Dec 2 11:22:54 2023
    Hello Nicholas,

    Friday December 01 2023, Nicholas Boel wrote to Michael Dukelsky:

    Have you added the line

    export PERL5LIB=/home/axisd/fido/share/perl5

    to '/home/axisd/.bash_profile' ?

    No sir. I didn't see that anywhere in the documentation (though I may
    be to blame for 'skimming'), and I'm a noob when it comes to perl. ;)

    Maybe the presentaion of this part of the documentation was not enough clear. Now I tried to improve it.

    Thank you!

    You are welcome.

    Michael

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