首页 > 代码库 > 编译华硕asuswrt固件时遇到的问题 configure not supporting AM_INIT_AUTOMAKE

编译华硕asuswrt固件时遇到的问题 configure not supporting AM_INIT_AUTOMAKE

Description

Configure of icinga-reports-1.8.0 throws the following error:

root@localhost:/usr/src/icinga-reports-1.8.0# ./configure --with-jasper-server=/opt/jasperreports-server-cp-4.7.0
./configure: line 1682: AM_INIT_AUTOMAKE: command not found
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for jasperserver... configure: creating ./config.status
config.status: creating Makefile

The fix provided in Bug #2623 works here too -> https://git.icinga.org/?p=icinga-reports.git;a=commit;h=c4e2d2b686eada065066b36bf5080640e0f58cbf

root@localhost:/usr/src/icinga-reports-1.8.0# rm configure
root@localhost:/usr/src/icinga-reports-1.8.0# aclocal
root@localhost:/usr/src/icinga-reports-1.8.0# autoconf 

root@localhost:/usr/src/icinga-reports-1.8.0# ./configure --with-jasper-server=/opt/jasperreports-server-cp-4.7.0
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 build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for jasperserver... configure: creating ./config.status
config.status: creating Makefile

Maybee it‘s better to provide an install.sh for this which creates the configure script in the local environment.



【参考: https://dev.icinga.org/issues/3313】

编译华硕asuswrt固件时遇到的问题 configure not supporting AM_INIT_AUTOMAKE