autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure.ac:27: error: possibly undefined macro: AS_IF


From: Jason Curl
Subject: Re: configure.ac:27: error: possibly undefined macro: AS_IF
Date: Fri, 17 Aug 2007 01:06:37 +0200
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

ying lcs wrote:
Hi,

I am running '.bootstrap' of VLC source under RHEL4.  But I am getting
the following error:

I have 'automake 1.9.6' 'autoconf 2.61' 'aclocal 1.9.6' 'm4 1.4.8' in
my system:
I've got autoconf-2.61, libtool-1.5.24, automake-1.10 and it works for my on SuSE 10.0
Copying file po/Makevars.template
+ rm -f po/Makevars.template
+ aclocal-1.9 -I /root/build-bin/share/aclocal-1.9 -I
/root/build-bin/share/aclocal -I /root/build-bin/share/autoconf -I
/root/video-dep-bin/share/aclocal -I m4
+ 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.
This line itself is pretty suspicious. dnl is usually used for comments.
configure.ac:27: error: possibly undefined macro: AS_IF
configure.ac:41: error: possibly undefined macro: AC_DEFINE
configure.ac:78: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:81: error: possibly undefined macro: AC_MSG_WARN
configure.ac:181: error: possibly undefined macro: AC_ARG_ENABLE
configure.ac:379: error: possibly undefined macro: AC_CHECK_LIB
configure.ac:449: error: possibly undefined macro: AC_CHECK_HEADERS
configure.ac:2089: error: possibly undefined macro: AC_PATH_PROG
configure.ac:5094: error: possibly undefined macro: AC_PATH_PROGS

Can someone please help me about how/what can i do to fix my problem?
Seeing as you're trying to compile somebody else's program and not developing your own package, the VLC group may be able to help you faster.

I'd probably open the ./configure.ac file and check for obvious errors, try to debug it and do 'autoreconf' on it to figure out where the problems are. Check the autoconf manual here: http://www.gnu.org/software/autoconf/manual/

Check also that your autotools are installed correctly.

But if all you're trying to do is to compile the software for RHEL4, just do a "./configure; make".
Thank you.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]