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 13:34:34 +0200
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

ying lcs wrote:
On 8/16/07, Jason Curl <address@hidden> wrote:
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

Were you able to run '.bootstrap' of vlc successfully?
Of course, that's what I meant by it worked for me. It complained during the "configure" stage I didn't have the "mad" library, but confirmed that the bootstrap works for me.
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 tried. But they don't know the answer either.
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.

how can i check that?
Make a very simple autoconf script and test it. Or try running "autoreconf" on some other opensource projects to see if you have success or not. As I said, I'm using a stock standard build of SuSE 10.0 with my own installed versions of libtool, automake and autoconf (first of course uninstalling those provided by the system cd's).

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


Did you try to just ./configure? This should work as it's the goal of autotools not to have to install them except for a development environment.





reply via email to

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