저는 autotools에서 새로 만 들었으며이 다음은 tutorial입니다. 하지만 난 그게 뭐가 잘못된 건지 모르겠다, 내 configure.ac
잘 보이는,automake 오류 : AM_INIT_AUTOMAKE의 적절한 호출이 발견되지 않았습니다.
$ automake
configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found.
..
Makefile.am: error: required file './depcomp' not found
..
/usr/share/automake-1.12/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL
..
/usr/share/automake-1.12/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL
..
내 configure.ac
파일이 내가 인터넷에서 해결책을 확인
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
AM_INIT_AUTOMAKE(hello,1.0)
AC_CONFIG_SRCDIR([config.h.in])
AM_CONFIG_HEADERS(config.h)
# Checks for programs.
AC_PROG_CC
# Checks for libraries.
# Checks for header files.
AC_CHECK_HEADERS([sys/time.h])
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_CHECK_FUNCS([gettimeofday])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
이며,이 오류를 해결할 수 있습니다.
네가 맞다면, 정말 고마워. – arslan
나는 최신 예제를 찾아야한다. – arslan
autoreconf를 사용하는 것이 좋습니다. 나는 그것을 몰랐다. – jmmk