$ 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.
$ 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.
$ 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.
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)
Also FYI, 221/6 is refusing connection.
I have a feeling this was all that was needed:
my ($huskyBinDir);
$ 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
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.
$ ./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.
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
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.
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' ?
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!
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 991 |
Nodes: | 10 (0 / 10) |
Uptime: | 119:00:23 |
Calls: | 12,958 |
Files: | 186,574 |
Messages: | 3,265,631 |