compilation - Why am I getting this aclocal error? -
i'm trying compile libbsd
source on ubuntu 13.04. i'm using toolchain cross-compile, automake on local machine. have aclocal-1.13
in path , everything, i'm still getting error. i've tried looking them can't lead. what's going on here?
<...> config.status: executing libtool commands cdpath="${zsh_version+.}:" && cd .. && /bin/bash /home/me/libbsd/build-aux/missing aclocal-1.13 -i m4 error: cannot project version. configure.ac:9: error: ac_init should called package , version arguments /usr/share/aclocal-1.13/init.m4:23: am_init_automake expanded from... configure.ac:9: top level autom4te: /usr/bin/m4 failed exit status: 1 aclocal-1.13: error: echo failed exit status: 1 make: *** [../aclocal.m4] error 1
any appreciated.
the error here configure.ac:9: error: ac_init should called package , version arguments
. getting error because on line 9 of configure.ac not passing package , version arguments ac_init.
the exact information can found here: https://www.gnu.org/software/automake/manual/automake.html#public-macros
namely,
if configure.ac has: ac_init([src/foo.c]) am_init_automake([mumble], [1.5])
you should correct follows:
ac_init([mumble], [1.5]) ac_config_srcdir([src/foo.c]) am_init_automake
although other notes around important imho.
Comments
Post a Comment