分页: 1 / 1

aclocal 不懂,啥子意思嘛,为啥就不行呢?

发表于 : 2009-05-10 14:33
vitamin
按书aclocal 说:(看不懂,怎么样才能看懂呢?)
maxwu@maxwu-desktop:~/ccc/autome$ ls
2.7.avg.c 2.7.main.c autoscan.log configure.in
maxwu@maxwu-desktop:~/ccc/autome$ aclocal
configure.in:6: error: m4_init: unbalanced m4_divert_push:
configure.in:5: m4_divert_push: BODY
configure.in:6: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1


一下是按书修改的configure.in的内容
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.61)
AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
AC_INIT(test, 1.0)
AM_INIT_AUTOMAKE(test, 1.0)

AC_CONFIG_SRCDIR([2.7.main.c])
AM_CONFIG_HEADER([config.h])

# Checks for programs.
AC_PROG_CC

# Checks for libraries.

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h])

# Checks for typedefs, structures, and compiler characteristics.

# Checks for library functions.

AC_CONFIG_FILES([.Trash/Makefile])
AC_OUTPUT

Re: aclocal 不懂,啥子意思嘛,为啥就不行呢?

发表于 : 2009-05-10 19:16
想入非非

代码: 全选

sudo apt-get install automake
:em20

Re: aclocal 不懂,啥子意思嘛,为啥就不行呢?

发表于 : 2009-05-10 19:17
想入非非
好像是我理解错误了 :em05

Re: aclocal 不懂,啥子意思嘛,为啥就不行呢?

发表于 : 2009-05-11 17:43
vitamin
yes,you got wrong what i mean,and just tell me what should i do?