Re: [ipv6calc] Re: Release 4.3.0 - IP2Location(MMDB) support + fixes
Am 30.01.25 um 20:51 schrieb David Niklas:
Hello,
% gcc --version gcc (Debian 10.2.1-6) 10.2.1 20210110
Editing the source code so that the #if statement is always true enables successful compilation. If gcc is at fault here, maybe we should report a bug upstream instead of just working around the problem?
gcc 8.5 to 10.2 are no longer supported releases, would not assume that someone from upstream digs into for such issue: https://gcc.gnu.org/ 4.3.0 was tested against: EL7: gcc 4.8.5 EL8: gcc 8.5.0 -> only one having problems EL9: gcc 11.5.0 EL10: gcc 14.2.1 F39: gcc 13.3.1 F40: gcc 14.2.1 F41: gcc 14.2.1 F42: gcc 15.0.1 It was also tested against the "clang" version of the OS versions above, they did not report any issue.
Running tests gives me one error:
# Test script (no sleeps and no Anti-DoS) LD_LIBRARY_PATH= HTTP_IPV6CALCWEB_DEBUG="0x5000" ./ipv6calcweb.cgi >/dev/null Can't locate Digest/SHA1.pm in @INC (you may need to install the Digest::SHA1 module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at ./ipv6calcweb.cgi line 173. BEGIN failed--compilation aborted at ./ipv6calcweb.cgi line 173. make[1]: *** [Makefile:31: test] Error 2
You have to install an additional Perl module named Digest::SHA1 Hope this helps, Peter
participants (1)
-
Peter Bieringer