From: Andy B. <abe...@be...> - 2008-09-24 16:18:59
|
I just noticed that sshguard-1.2 was released. I downloaded it and was unable to compile it. The error is: aclocal.m4:17: error: this file was generated for autoconf 2.61. You have another version of autoconf. If you want to use that, you should regenerate the build system entirely. Has anyone else been able to compile sshguard-1.2? Below is the output when I try to compile. I included a "make distclean" and the configure just for good measure. Thanks, Andy $ make distclean Making distclean in man make[1]: Entering directory `/usr/local/src/sshguard-1.2/man' make[2]: Entering directory `/usr/local/src/sshguard-1.2' make[2]: Leaving directory `/usr/local/src/sshguard-1.2' test -z "" || rm -f rm -f Makefile make[1]: Leaving directory `/usr/local/src/sshguard-1.2/man' Making distclean in src make[1]: Entering directory `/usr/local/src/sshguard-1.2/src' make[2]: Entering directory `/usr/local/src/sshguard-1.2' make[2]: Leaving directory `/usr/local/src/sshguard-1.2' Making distclean in fwalls make[2]: Entering directory `/usr/local/src/sshguard-1.2/src/fwalls' make[3]: Entering directory `/usr/local/src/sshguard-1.2' make[3]: Leaving directory `/usr/local/src/sshguard-1.2' test -z "libfwall.a" || rm -f libfwall.a rm -f *.o rm -f *.tab.c test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags rm -rf ./.deps rm -f Makefile make[2]: Leaving directory `/usr/local/src/sshguard-1.2/src/fwalls' Making distclean in . make[2]: Entering directory `/usr/local/src/sshguard-1.2/src' make[3]: Entering directory `/usr/local/src/sshguard-1.2' make[3]: Leaving directory `/usr/local/src/sshguard-1.2' test -z "sshguard" || rm -f sshguard rm -f *.o rm -f *.tab.c test -z "" || rm -f rm -f config.h stamp-h1 rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags make[2]: Leaving directory `/usr/local/src/sshguard-1.2/src' rm -rf ./.deps rm -f Makefile make[1]: Leaving directory `/usr/local/src/sshguard-1.2/src' Making distclean in . make[1]: Entering directory `/usr/local/src/sshguard-1.2' test -z "" || rm -f rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags make[1]: Leaving directory `/usr/local/src/sshguard-1.2' rm -f config.status config.cache config.log configure.lineno config.status.lineno rm -f Makefile aberkvam@noir:/usr/local/src/sshguard-1.2$ ./configure --with-firewall=hosts checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for ranlib... ranlib checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for pthread_create in -lpthread... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking return type of signal handlers... void checking for gethostbyname... yes checking for inet_ntoa... yes checking for strerror... yes checking for strstr... yes checking for strtol... yes configure: Using /etc/hosts.allow as hosts.allow file configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating src/Makefile config.status: creating src/fwalls/Makefile config.status: creating src/config.h config.status: executing depfiles commands $ make Making all in src make[1]: Entering directory `/usr/local/src/sshguard-1.2/src' make[2]: Entering directory `/usr/local/src/sshguard-1.2' make[2]: Leaving directory `/usr/local/src/sshguard-1.2' cd .. && /bin/sh /usr/local/src/sshguard-1.2/missing --run autoheader aclocal.m4:17: error: this file was generated for autoconf 2.61. You have another version of autoconf. If you want to use that, you should regenerate the build system entirely. aclocal.m4:17: the top level autom4te: /usr/bin/m4 failed with exit status: 63 autoheader: /usr/bin/autom4te failed with exit status: 63 make[1]: *** [config.h.in] Error 1 make[1]: Leaving directory `/usr/local/src/sshguard-1.2/src' make: *** [all-recursive] Error 1 $ |
From: David H. <dho...@gm...> - 2008-09-24 16:45:22
|
On Wed, Sep 24, 2008 at 11:53 AM, Andy Berkvam <abe...@be...> wrote: > I just noticed that sshguard-1.2 was released. I downloaded it and was > unable to compile it. The error is: > > aclocal.m4:17: error: this file was generated for autoconf 2.61. > You have another version of autoconf. If you want to use that, > you should regenerate the build system entirely. The error message should probably say something along the lines of: this file was generated for autoconf 2.61. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'. In other words, just run autoreconf (part of the gnu autoconf utilities package), then you can re-run your ./configure and make as you normally would. You may want to ensure you have at LEAST version 2.61 or higher of autoconf installed (autoconf --version). If not, it is time to upgrade your gnu build tools. FYI, here is the autoreconf-2.62(1) man page header: NAME autoreconf - Update generated configuration files SYNOPSIS autoreconf-2.62 [OPTION] ... [DIRECTORY] ... DESCRIPTION Run `autoconf-2.62' (and `autoheader-2.62', `aclocal', `automake-2.62', `autopoint' (formerly `gettextize'), and `libtoolize' where appropri- ate) repeatedly to remake the GNU Build System files in specified DIRECTORIES and their subdirectories (defaulting to `.'). By default, it only remakes those files that are older than their sources. If you install new versions of the GNU Build System, you can make `autoreconf-2.62' remake all of the files by giving it the `--force' option. Good Luck. --_Dave H > > Has anyone else been able to compile sshguard-1.2? > > Below is the output when I try to compile. I included a "make > distclean" and the configure just for good measure. > > Thanks, > > Andy > > $ make distclean > Making distclean in man > make[1]: Entering directory `/usr/local/src/sshguard-1.2/man' > make[2]: Entering directory `/usr/local/src/sshguard-1.2' > make[2]: Leaving directory `/usr/local/src/sshguard-1.2' > test -z "" || rm -f > rm -f Makefile > make[1]: Leaving directory `/usr/local/src/sshguard-1.2/man' > Making distclean in src > make[1]: Entering directory `/usr/local/src/sshguard-1.2/src' > make[2]: Entering directory `/usr/local/src/sshguard-1.2' > make[2]: Leaving directory `/usr/local/src/sshguard-1.2' > Making distclean in fwalls > make[2]: Entering directory `/usr/local/src/sshguard-1.2/src/fwalls' > make[3]: Entering directory `/usr/local/src/sshguard-1.2' > make[3]: Leaving directory `/usr/local/src/sshguard-1.2' > test -z "libfwall.a" || rm -f libfwall.a > rm -f *.o > rm -f *.tab.c > test -z "" || rm -f > rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags > rm -rf ./.deps > rm -f Makefile > make[2]: Leaving directory `/usr/local/src/sshguard-1.2/src/fwalls' > Making distclean in . > make[2]: Entering directory `/usr/local/src/sshguard-1.2/src' > make[3]: Entering directory `/usr/local/src/sshguard-1.2' > make[3]: Leaving directory `/usr/local/src/sshguard-1.2' > test -z "sshguard" || rm -f sshguard > rm -f *.o > rm -f *.tab.c > test -z "" || rm -f > rm -f config.h stamp-h1 > rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags > make[2]: Leaving directory `/usr/local/src/sshguard-1.2/src' > rm -rf ./.deps > rm -f Makefile > make[1]: Leaving directory `/usr/local/src/sshguard-1.2/src' > Making distclean in . > make[1]: Entering directory `/usr/local/src/sshguard-1.2' > test -z "" || rm -f > rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags > make[1]: Leaving directory `/usr/local/src/sshguard-1.2' > rm -f config.status config.cache config.log configure.lineno > config.status.lineno > rm -f Makefile > aberkvam@noir:/usr/local/src/sshguard-1.2$ ./configure > --with-firewall=hosts > checking for a BSD-compatible install... /usr/bin/ginstall -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /usr/bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for style of include used by make... GNU > checking dependency style of gcc... gcc3 > checking for ranlib... ranlib > checking for bison... bison -y > checking for flex... flex > checking lex output file root... lex.yy > checking lex library... -lfl > checking whether yytext is a pointer... yes > checking for pthread_create in -lpthread... yes > checking how to run the C preprocessor... gcc -E > checking for grep that handles long lines and -e... /usr/bin/grep > checking for egrep... /usr/bin/grep -E > checking for ANSI C header files... yes > checking for sys/wait.h that is POSIX.1 compatible... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking arpa/inet.h usability... yes > checking arpa/inet.h presence... yes > checking for arpa/inet.h... yes > checking malloc.h usability... yes > checking malloc.h presence... yes > checking for malloc.h... yes > checking netdb.h usability... yes > checking netdb.h presence... yes > checking for netdb.h... yes > checking netinet/in.h usability... yes > checking netinet/in.h presence... yes > checking for netinet/in.h... yes > checking for stdlib.h... (cached) yes > checking for string.h... (cached) yes > checking sys/socket.h usability... yes > checking sys/socket.h presence... yes > checking for sys/socket.h... yes > checking syslog.h usability... yes > checking syslog.h presence... yes > checking for syslog.h... yes > checking for unistd.h... (cached) yes > checking for an ANSI C-conforming const... yes > checking for inline... inline > checking for off_t... yes > checking for pid_t... yes > checking for size_t... yes > checking vfork.h usability... no > checking vfork.h presence... no > checking for vfork.h... no > checking for fork... yes > checking for vfork... yes > checking for working fork... yes > checking for working vfork... (cached) yes > checking for stdlib.h... (cached) yes > checking for GNU libc compatible malloc... yes > checking return type of signal handlers... void > checking for gethostbyname... yes > checking for inet_ntoa... yes > checking for strerror... yes > checking for strstr... yes > checking for strtol... yes > configure: Using /etc/hosts.allow as hosts.allow file > configure: creating ./config.status > config.status: creating Makefile > config.status: creating man/Makefile > config.status: creating src/Makefile > config.status: creating src/fwalls/Makefile > config.status: creating src/config.h > config.status: executing depfiles commands > $ make > Making all in src > make[1]: Entering directory `/usr/local/src/sshguard-1.2/src' > make[2]: Entering directory `/usr/local/src/sshguard-1.2' > make[2]: Leaving directory `/usr/local/src/sshguard-1.2' > cd .. && /bin/sh /usr/local/src/sshguard-1.2/missing --run autoheader > aclocal.m4:17: error: this file was generated for autoconf 2.61. > You have another version of autoconf. If you want to use that, > you should regenerate the build system entirely. > aclocal.m4:17: the top level > autom4te: /usr/bin/m4 failed with exit status: 63 > autoheader: /usr/bin/autom4te failed with exit status: 63 > make[1]: *** [config.h.in] Error 1 > make[1]: Leaving directory `/usr/local/src/sshguard-1.2/src' > make: *** [all-recursive] Error 1 > $ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Sshguard-users mailing list > Ssh...@li... > https://lists.sourceforge.net/lists/listinfo/sshguard-users > |
From: Andy B. <abe...@be...> - 2008-09-24 18:18:51
|
On Wed, 24 Sep 2008, David Horn wrote: > On Wed, Sep 24, 2008 at 11:53 AM, Andy Berkvam <abe...@be...> wrote: >> I just noticed that sshguard-1.2 was released. I downloaded it and was >> unable to compile it. The error is: >> >> aclocal.m4:17: error: this file was generated for autoconf 2.61. >> You have another version of autoconf. If you want to use that, >> you should regenerate the build system entirely. > > The error message should probably say something along the lines of: > > this file was generated for autoconf 2.61. > You have another version of autoconf. It may work, but is not guaranteed to. > If you have problems, you may need to regenerate the build system entirely. > To do so, use the procedure documented by the package, typically `autoreconf'. > > > In other words, just run autoreconf (part of the gnu autoconf > utilities package), then you can re-run your ./configure and make as > you normally would. You may want to ensure you have at LEAST version > 2.61 or higher of autoconf installed (autoconf --version). If not, it > is time to upgrade your gnu build tools. > > That did the trick. I have GNU autoconf 2.59 so I am guessing that the newer format confused it. I ran autoreconf and then the configure/make process worked as expected. Thank you, Andy |