From: Nico S. <nic...@un...> - 2021-08-04 08:46:50
|
Hey Kevin, that's great! I just tried to compile sshguard on Alpine Linux using autoreconf -i ./configure make However there seems to be a rule missing: -------------------------------------------------------------------------------- 506 sets of reallocations needed 819121 total table entries needed CC attack_scanner.o CC parser.o CCLD sshg-parser make[3]: Leaving directory '/home/nico/temp/sshguard/src/parser' make[2]: Leaving directory '/home/nico/temp/sshguard/src/parser' make[2]: Entering directory '/home/nico/temp/sshguard/src' sed -e 's|@libexecdir[@]|/usr/local/libexec|g' -e 's|@sysconfdir[@]|/usr/local/etc|g' -e 's|@sshguardversion[@]|2.4.2|g' ./sshguard.in > sshguard make[2]: Leaving directory '/home/nico/temp/sshguard/src' make[1]: Leaving directory '/home/nico/temp/sshguard/src' make[1]: Entering directory '/home/nico/temp/sshguard' make[1]: *** No rule to make target 'doc/sshguard-setup.7', needed by 'all-am'. Stop. make[1]: Leaving directory '/home/nico/temp/sshguard' make: *** [Makefile:481: all-recursive] Error 1 -------------------------------------------------------------------------------- I've below attached the full output - in case this is helpful. Not urgent from my side, just wanted to give a heads up. Best regards, Nico [10:42] nb3:sshguard% autoreconf -i configure.ac:6: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:6: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:855: AM_CONFIG_HEADER is expanded from... configure.ac:6: the top level configure.ac:15: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:15: You should run autoupdate. ./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... configure.ac:15: the top level configure.ac:19: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from... aclocal.m4:724: AM_PROG_LEX is expanded from... configure.ac:19: the top level configure.ac:40: warning: AC_OUTPUT should be used without arguments. configure.ac:40: You should run autoupdate. configure.ac:18: installing './ar-lib' configure.ac:12: installing './compile' configure.ac:7: installing './install-sh' configure.ac:7: installing './missing' configure.ac:9: installing './tap-driver.sh' src/blocker/Makefile.am:5: warning: source file '../common/service_names.c' is in a subdirectory, src/blocker/Makefile.am:5: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least one source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, this automake: behavior may change in a future Automake major version, with object automake: files being placed in the same subdirectory as the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. src/blocker/Makefile.am:5: warning: source file '../common/simclist.c' is in a subdirectory, src/blocker/Makefile.am:5: but option 'subdir-objects' is disabled src/blocker/Makefile.am: installing './depcomp' src/fw/Makefile.am:26: warning: source file '../common/simclist.c' is in a subdirectory, src/fw/Makefile.am:26: but option 'subdir-objects' is disabled configure.ac: installing './ylwrap' parallel-tests: installing './test-driver' [10:42] nb3:sshguard% ./configure && make checking whether to enable maintainer-specific portions of Makefiles... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no ## -------------- ## ## Program Checks ## ## -------------- ## checking for ranlib... ranlib checking for bison... bison -y checking for ar... ar checking the archiver (ar) interface... ar checking for flex... flex checking for lex output file root... lex.yy checking for lex library... none needed checking for library containing yywrap... no checking whether yytext is a pointer... yes ## ----------------------------------- ## ## Headers, Types, and Compiler Checks ## ## ----------------------------------- ## checking for getopt.h... yes checking for sys/capsicum.h... no checking for sys/capability.h... yes checking for cap_enter... no checking for cap_rights_limit... no checking for rst2man... no checking for rst2man.py... no configure: WARNING: rst2man not found; using pre-built man pages ## ----------------- ## ## Library Functions ## ## ----------------- ## checking for library containing gethostbyname... none required checking for library containing pthread_create... none required checking for library containing socket... none required checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/blocker/Makefile config.status: creating src/fw/Makefile config.status: creating src/parser/Makefile config.status: creating src/common/config.h config.status: executing depfiles commands Making all in src make[1]: Entering directory '/home/nico/temp/sshguard/src' Making all in blocker make[2]: Entering directory '/home/nico/temp/sshguard/src/blocker' CC service_names.o CC simclist.o CC attack.o CC blocker.o CC blocklist.o CC hash_32a.o CC sshguard_blacklist.o CC sshguard_options.o CC sshguard_whitelist.o CCLD sshg-blocker make[2]: Leaving directory '/home/nico/temp/sshguard/src/blocker' Making all in fw make[2]: Entering directory '/home/nico/temp/sshguard/src/fw' CC hosts.o CC simclist.o CCLD sshg-fw-hosts cat sshg-fw-firewalld.sh ./sshg-fw.in > sshg-fw-firewalld cat sshg-fw-ipfilter.sh ./sshg-fw.in > sshg-fw-ipfilter cat sshg-fw-ipfw.sh ./sshg-fw.in > sshg-fw-ipfw cat sshg-fw-ipset.sh ./sshg-fw.in > sshg-fw-ipset cat sshg-fw-iptables.sh ./sshg-fw.in > sshg-fw-iptables cat sshg-fw-nft-sets.sh ./sshg-fw.in > sshg-fw-nft-sets cat sshg-fw-null.sh ./sshg-fw.in > sshg-fw-null cat sshg-fw-pf.sh ./sshg-fw.in > sshg-fw-pf make[2]: Leaving directory '/home/nico/temp/sshguard/src/fw' Making all in parser make[2]: Entering directory '/home/nico/temp/sshguard/src/parser' YACC attack_parser.c updating attack_parser.h make all-am make[3]: Entering directory '/home/nico/temp/sshguard/src/parser' CC attack.o CC attack_parser.o LEX attack_scanner.c flex version 2.6.4 usage statistics: scanner options: -dvI8 -Cem 18166/19000 NFA states 22041/27000 DFA states (375740 words) 97 rules Compressed tables always back-up 29/40 start conditions 8595 epsilon states, 5778 double epsilon states 1390/1400 character classes needed 29476/29500 words of storage, 0 reused 1806822 state/nextstate pairs created 161491/1645331 unique/duplicate transitions 26373/27000 base-def entries created 383018/384000 (peak 720753) nxt-chk entries created 21660/360000 (peak 359556) template nxt-chk entries created 163083 empty table entries 7356 protos created 4332 templates created, 12219 uses 83/256 equivalence classes created 5/256 meta-equivalence classes created 4184 (4800 saved) hash collisions, 139509 DFAs equal 506 sets of reallocations needed 819121 total table entries needed CC attack_scanner.o CC parser.o CCLD sshg-parser make[3]: Leaving directory '/home/nico/temp/sshguard/src/parser' make[2]: Leaving directory '/home/nico/temp/sshguard/src/parser' make[2]: Entering directory '/home/nico/temp/sshguard/src' sed -e 's|@libexecdir[@]|/usr/local/libexec|g' -e 's|@sysconfdir[@]|/usr/local/etc|g' -e 's|@sshguardversion[@]|2.4.2|g' ./sshguard.in > sshguard make[2]: Leaving directory '/home/nico/temp/sshguard/src' make[1]: Leaving directory '/home/nico/temp/sshguard/src' make[1]: Entering directory '/home/nico/temp/sshguard' make[1]: *** No rule to make target 'doc/sshguard-setup.7', needed by 'all-am'. Stop. make[1]: Leaving directory '/home/nico/temp/sshguard' make: *** [Makefile:481: all-recursive] Error 1 Kevin Zheng <kev...@gm...> writes: > Hi Nico, > > I've added the "query denied" signature for named in 961b590. > > Regards, > Kevin -- Sustainable and modern Infrastructures by ungleich.ch |