irrdnet / irrd-legacy

the Internet Routing Registry daemon
http://irrd.net/
Other
36 stars 26 forks source link

Failure to make without autotools #35

Closed job closed 8 years ago

job commented 8 years ago

On Ubuntu 12 and Ubuntu 14 and FreeBSD, the ./configure script works, but 'make' seems to fail because aclocal-1.15 is expected. It is not clear why the Makefile script expects aclocal-1.15

Example run:

root@ubuntu12-512mb-nyc3-01:~# git clone https://github.com/irrdnet/irrd.git; cd irrd/src; ./configure
Cloning into 'irrd'...
remote: Counting objects: 1611, done.
remote: Compressing objects: 100% (167/167), done.
remote: Total 1611 (delta 85), reused 0 (delta 0), pack-reused 1443
Receiving objects: 100% (1611/1611), 5.68 MiB | 11.13 MiB/s, done.
Resolving deltas: 100% (870/870), done.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
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 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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... 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
./configure: line 4369: #include: command not found
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking how to run the C preprocessor... gcc -E
checking for -Wall option... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for makedepend... no
checking for mkdep... no
checking for pthread_create in -lpthread... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for thread support... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTHREADS... yes
found
checking for pthread_attr_setscope in -lpthread... yes
checking for thr_setconcurrency... no
checking for gethostbyname... yes
checking for socket... yes
checking for inet_ntop... yes
checking for flex... /usr/bin/flex
checking for yacc... /usr/bin/yacc
checking for bison... bison -y
checking for sendmail... no
checking for mail... no
checking for gpg... /usr/bin/gpg
checking for gzip... /bin/gzip
checking for irrdcacher... no
checking for wget... /usr/bin/wget
checking for ANSI C header files... (cached) yes
checking whether setpgrp takes no argument... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking sys/stropts.h usability... yes
checking sys/stropts.h presence... yes
checking for sys/stropts.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking u_char, u_int, u_short, and u_long... yes
checking for localtime_r... yes
checking for strtok_r... yes
checking for gethostbyname_r... yes
checking for gethostbyaddr_r... yes
checking for sigaction... yes
checking for sigset... yes
checking for sigprocmask... yes
checking for memmove... yes
checking for strerror... yes
checking for setsid... yes
checking for mkstemp... yes
checking for mkdtemp... yes
checking for snprintf... yes
checking for dirname... yes
checking for basename... yes
checking for GLIB... yes
found
checking for postgres... --with-postgres not specified
checking whether utimes is declared... yes
checking whether inet_ntop is declared... yes
checking whether mkstemp is declared... yes
checking whether mkdtemp is declared... yes
checking whether getdtablesize is declared... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Make.include
config.status: creating include/pipeline_defs.h
config.status: creating include/irr_defs.h
config.status: creating include/config.h
config.status: executing depfiles commands
root@ubuntu12-512mb-nyc3-01:~/irrd/src# make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /root/irrd/src/aconf/missing aclocal-1.15 -I m4
/root/irrd/src/aconf/missing: 81: /root/irrd/src/aconf/missing: aclocal-1.15: not found
WARNING: 'aclocal-1.15' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
make: *** [aclocal.m4] Error 127
root@ubuntu12-512mb-nyc3-01:~/irrd/src#
job commented 8 years ago

fixed via c36f213abda8f6bf2f46aa4a7dc32b3ba6701b17