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

软件和网站开发以及相关技术探讨
回复
vitamin
帖子: 247
注册时间: 2008-09-23 21:13

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

#1

帖子 vitamin » 2009-05-10 14:33

按书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
念几句佛经就以为自己在悟道,引用几句圣经就以为自己是上帝的使者。
躲在阴暗的角落就以为看不见你那肮脏的灵魂?
游走在灰色领域就以为安然无恙?
举头三尺有神明,不是不报是时候未到。
头像
想入非非
帖子: 8078
注册时间: 2008-07-14 22:42
来自: Beijing
联系:

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

#2

帖子 想入非非 » 2009-05-10 19:16

代码: 全选

sudo apt-get install automake
:em20
Ubuntu User
头像
想入非非
帖子: 8078
注册时间: 2008-07-14 22:42
来自: Beijing
联系:

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

#3

帖子 想入非非 » 2009-05-10 19:17

好像是我理解错误了 :em05
Ubuntu User
vitamin
帖子: 247
注册时间: 2008-09-23 21:13

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

#4

帖子 vitamin » 2009-05-11 17:43

yes,you got wrong what i mean,and just tell me what should i do?
念几句佛经就以为自己在悟道,引用几句圣经就以为自己是上帝的使者。
躲在阴暗的角落就以为看不见你那肮脏的灵魂?
游走在灰色领域就以为安然无恙?
举头三尺有神明,不是不报是时候未到。
回复