You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'. aclocal: configure.ac: 19: macro `AM_PROG_INSTALL_STRIP' not found in library configure.ac:3: 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:4: error: possibly undefined macro: AM_CONFIG_HEADER configure.ac:19: error: possibly undefined macro: AM_PROG_INSTALL_STRIP configure.ac:20: error: possibly undefined macro: AC_PROG_LIBTOOL autoheader: error: AC_CONFIG_HEADERS not found in configure.ac configure.ac: 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). configure.ac: installing `./install-sh' configure.ac: installing `./missing' libbb/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined libbb/Makefile.am:5: libbb/Makefile.am:5: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' libbb/Makefile.am:5: to `configure.ac' and run `aclocal' and `autoconf' again. /usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL Makefile.am:10: Libtool library used but `LIBTOOL' is undefined Makefile.am:10: Makefile.am:10: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' Makefile.am:10: to `configure.ac' and run `aclocal' and `autoconf' again. /usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. ./configure: line 1291: syntax error near unexpected token `ipkg,' ./configure: line 1291: `AM_INIT_AUTOMAKE(ipkg, 0.99.148)' make: *** [/home/repvik/nslu2/optware/builds/ipkg/.configured] Error 2