पाया गया था, मैं autotools में नया हूं, और इस tutorial का पालन करता हूं। लेकिन मैं इस त्रुटियों का समाधान कर सकता नहीं,ऑटोमैटिक त्रुटि: 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
मैं इंटरनेट पर समाधान के लिए जाँच की है, मेरे configure.ac
ठीक लग रहा है, नहीं पता है कि यह गलत है।
आप सही हैं, यह काम किया, बहुत बहुत धन्यवाद। – arslan
मुझे नवीनतम उदाहरणों की तलाश करनी चाहिए। – arslan
autoreconf का उपयोग करने के लिए अच्छा बिंदु। मुझे यह नहीं पता था। – jmmk