QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1597|回复: 3

help:cvs 源码编译的问题

[复制链接]
发表于 2006-5-22 18:55:34 | 显示全部楼层 |阅读模式
从cvs下载的vlc的源码,autogen后总出现如下错误,是缺少什么包吗,还是那里没有配置好?之前从源码按部就班成功编译gcc 4.1,但是以前系统自带的gcc 4.1可以自动编译的
[root@fc5 vlc-0.8.6-playlist]# ./autogen
+ AUTOMAKESUCKS=no
+ INSTALLSUCKS=no
+ ACLOCAL_ARGS='-I m4'
+ test -d extras/contrib/bin
+ amvers=none
+ automake-1.9 --version
+ amvers=-1.9
+ test -1.9 = none
+ libtoolize=no
+ glibtoolize --version
+ libtoolize --version
+ libtoolize=libtoolize
+ test libtoolize = no
+ gettextize --version
++ gettextize --version
++ sed -e '1s/[^0-9]*//' -e q
+ expr 0.14.5 '>=' 0.11.5
+ autopoint=autopoint
+ GETTEXT=yes
+ pkg-config --version
+ PKGCONFIG=yes
+ aclocal=aclocal-1.9
+ automake=automake-1.9
+ autoconf=autoconf
+ autoheader=autoheader
+ set +x
generating modules/**/Makefile.am and m4/private.m4
.................................................................. done.
+ rm -f aclocal.m4 configure config.log config.h config.h.in
+ rm -Rf autom4te.cache
+ rm -f config.guess config.sub missing mkinstalldirs compile depcomp install-sh
+ rm -Rf autotools
+ mkdir autotools
+ rm -f ltmain.sh libtool ltconfig
+ rm -f ABOUT-NLS
+ rm -Rf intl
+ rm -f m4/oldgettext.m4 stamp-pic configure.ac.in Modules.am
+ rm -f stamp-builtin 'stamp-h*' mozilla/stamp-pic
+ rm -f vlc-config.in
+ printf ''
+ '[' yes '!=' yes ']'
+ libtoolize --copy --force
You should add the contents of `/usr/local/share/aclocal/libtool.m4' to `aclocal.m4'.
Putting files in AC_CONFIG_AUX_DIR, `autotools'.
+ test -f ltmain.sh
+ autopoint -f
Copying file ABOUT-NLS
Copying file autotools/config.rpath
Creating directory intl
Copying file intl/ChangeLog
Copying file intl/Makefile.in
Copying file intl/VERSION
Copying file intl/bindtextdom.c
Copying file intl/config.charset
Copying file intl/dcgettext.c
Copying file intl/dcigettext.c
Copying file intl/dcngettext.c
Copying file intl/dgettext.c
Copying file intl/dngettext.c
Copying file intl/eval-plural.h
Copying file intl/explodename.c
Copying file intl/finddomain.c
Copying file intl/gettext.c
Copying file intl/gettextP.h
Copying file intl/gmo.h
Copying file intl/hash-string.h
Copying file intl/intl-compat.c
Copying file intl/l10nflist.c
Copying file intl/libgnuintl.h
Copying file intl/loadinfo.h
Copying file intl/loadmsgcat.c
Copying file intl/localcharset.c
Copying file intl/locale.alias
Copying file intl/localealias.c
Copying file intl/localename.c
Copying file intl/ngettext.c
Copying file intl/os2compat.c
Copying file intl/os2compat.h
Copying file intl/osdep.c
Copying file intl/plural-exp.c
Copying file intl/plural-exp.h
Copying file intl/plural.c
Copying file intl/plural.y
Copying file intl/ref-add.sin
Copying file intl/ref-del.sin
Copying file intl/textdomain.c
Copying file autotools/mkinstalldirs
+ aclocal-1.9 -I m4
/usr/local/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
+ autoconf
configure.ac:1: error: possibly undefined macro: dnl
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:295: error: possibly undefined macro: AC_DEFINE
configure.ac:314: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:326: error: possibly undefined macro: AC_CHECK_LIB
configure.ac:414: error: possibly undefined macro: AC_CHECK_HEADERS
configure.ac:812: error: possibly undefined macro: AC_MSG_WARN
[root@fc5 vlc-0.8.6-playlist]#
发表于 2006-5-22 19:53:28 | 显示全部楼层
有依赖没满足?
回复

使用道具 举报

发表于 2006-5-22 20:17:27 | 显示全部楼层
I’d love it just one time when I tried editing a configure.ac I didn’t end up with this sort of thing:

configure.ac:1: error: possibly undefined macro: dnl

The actual problem? In the middle of the file, I had something like:

AC_CHECK_HEADER (blah, [

dnl ** OK, found it ***

])

Note the extra space between the macro name and the parenthesis. Because of the extra space character, autoconf couldn’t expand the entry correctly and misinterpreted the ‘dnl’ comment and then proceeded to tell me THE FIRST PLACE IT SAW THAT STRING, which happened to be line 1 of the file.

I hate you, autotools.

google来的,也许有效
回复

使用道具 举报

 楼主| 发表于 2006-5-22 21:40:57 | 显示全部楼层
谢谢二位,正在google中...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-9 20:30 , Processed in 0.147914 second(s), 24 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表