Tentando construir e instalar o apinger

1

Estou executando o servidor 14.04 (instalação mínima) e estou tentando criar um apinger ( link ).

Aqui está um registro do que eu recebo quando eu corro ./autogen.sh:

O primeiro par de linhas aponta para alguns autoconf lib que parece não existir no meu sistema.
Se eu fosse consertar, presumo que o resto dos erros também desapareceria. Agradecemos antecipadamente por qualquer ajuda.

configure.ac:31: error: AC_CHECK_MEMBER: requires literal arguments
../../lib/autoconf/types.m4:888: AC_CHECK_MEMBER is expanded from...
../../lib/autoconf/types.m4:921: AC_CHECK_MEMBERS is expanded from...
acinclude.m4:21: JK_AP_INET is expanded from...
configure.ac:31: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoheader: error: AC_CONFIG_HEADERS not found in configure.ac
configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal)
Makefile.am: installing './INSTALL'
Makefile.am: installing './COPYING' using GNU General Public License v3 file
Makefile.am:     Consider adding the COPYING file to the version control system
Makefile.am:     for your code, to avoid questions about which license your project uses
src/Makefile.am: installing './depcomp'
/usr/share/automake-1.14/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.14/am/depend2.am:   The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC'
/usr/share/automake-1.14/am/depend2.am:   to 'configure.ac' and run 'aclocal' and 'autoconf' again
/usr/share/automake-1.14/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.14/am/depend2.am:   The usual way to define 'AMDEP' is to add one of the compiler tests
/usr/share/automake-1.14/am/depend2.am:     AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,
/usr/share/automake-1.14/am/depend2.am:     AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
/usr/share/automake-1.14/am/depend2.am:   to 'configure.ac' and run 'aclocal' and 'autoconf' again
src/Makefile.am: error: Lex source seen but 'LEX' is undefined
src/Makefile.am:   The usual way to define 'LEX' is to add 'AM_PROG_LEX'
src/Makefile.am:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
configure.ac: installing './ylwrap'
configure.ac:5: error: possibly undefined macro: AM_INIT_AUTOMAKE
    If this token and others are legitimate, please use m4_pattern_allow.
    See the Autoconf documentation.
configure.ac:6: error: possibly undefined macro: AM_CONFIG_HEADER
configure.ac:11: error: possibly undefined macro: AM_PROG_LEX
./configure: line 2173: AM_INIT_AUTOMAKE: command not found
./configure: line 2174: syntax error near unexpected token 'config.h'
./configure: line 2174: 'AM_CONFIG_HEADER(config.h)'
    
por LaikaN57 21.09.2014 / 02:57

1 resposta

0

Editar:

Então, aparentemente, existe um método ainda mais fácil. A aclocal não gostou dos caracteres de quebra de linha em acinclude.m4 nas linhas 41 e 42:

41: AC_CHECK_MEMBERS([struct icmp.icmp_type, struct icmp.icmp_code,\
42: struct icmp.icmp_cksum, struct icmp.icmp_seq,\
43: struct icmp.icmp_id],[],

A única outra coisa que você precisa corrigir (não relacionada ao erro acima) está em doc / Makefile.am . Apenas mude esta linha:

STYLESHEET_DIR=/usr/share/sgml/docbook/xsl-stylesheets

para isso:

STYLESHEET_DIR=/usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl
    
por LaikaN57 26.10.2014 / 04:29