Shorewall won't install
I've been away from my Slackware64-current machine for a month and just ran the "slackpkg update/slackpkg upgrade-all" sequence. All went fine. Then noticed that there was a newer version of Shorewall available - 4.5.17.1. Installed the -core first without incident but when I run the install script for the main package I get -
Code:
root@missi:/data/patches/shorewall-4.5.17.1$ ./install.sh shorewallrc.slackware Code:
root@missi:/data/patches/shorewall-4.5.17.1$ perl -c /data/patches/shorewall-4.5.17.1/Perl/compiler.pl Code:
root@missi:/data/patches/shorewall-4.5.17.1$ perl -v |
Are you SURE Digest::SHA1 is built and installed?
|
Yes it definitely is. What I've done now is to uninstall the perl package and then delete the bits that were left over in /usr/lib64/perl5/. Now when I try to install Shorewall I get -
root@missi:/data/patches/shorewall-4.5.17.1$ ./install.sh Installing Slackware-specific configuration... Compiling the Shorewall Perl Modules with Digest::SHA1 Perl API version v5.16.0 of Socket does not match v5.18.0 at /usr/share/perl5/XSLoader.pm line 92. Compilation failed in require at /data/patches/shorewall-4.5.17.1/Perl/Shorewall/IPAddrs.pm line 30. BEGIN failed--compilation aborted at /data/patches/shorewall-4.5.17.1/Perl/Shorewall/IPAddrs.pm line 30. Compilation failed in require at /data/patches/shorewall-4.5.17.1/Perl/Shorewall/Zones.pm line 29. BEGIN failed--compilation aborted at /data/patches/shorewall-4.5.17.1/Perl/Shorewall/Zones.pm line 29. Compilation failed in require at /data/patches/shorewall-4.5.17.1/Perl/Shorewall/Chains.pm line 34. BEGIN failed--compilation aborted at /data/patches/shorewall-4.5.17.1/Perl/Shorewall/Chains.pm line 34. Compilation failed in require at /data/patches/shorewall-4.5.17.1/Perl/Shorewall/Compiler.pm line 27. BEGIN failed--compilation aborted at /data/patches/shorewall-4.5.17.1/Perl/Shorewall/Compiler.pm line 27. Compilation failed in require at Perl/compiler.pl line 47. BEGIN failed--compilation aborted at Perl/compiler.pl line 47. ERROR: Shorewall 4.5.17.1 requires Perl which either is not installed or is not able to compile the Shorewall Perl code Try perl -c /data/patches/shorewall-4.5.17.1/Perl/compiler.pl Clearly there is something left over from the old 5.16 installation. Will attempt to track it down- |
Got it sorted. Turns out there was some old Perl stuff in /usr/local/lib64/perl5 and the installer was using that version of Socket.pm. Removed all of that and the Shorewall install runs fine now.
|
All times are GMT -5. The time now is 03:10 AM. |