Bernd Schubert <[EMAIL PROTECTED]> writes:

> > Your system is really broken.
> 
> Well then my system is broken the same way - and I don't believe that.
> I get the following error when I have autoconf-2.50 installed:
> 
> [schubert@bathl avifile-0.6]$ ./autogen.sh
> Generating build information using aclocal, automake and autoconf
> This may take a while ...
> aclocal: /usr/local/share/aclocal/xmms.m4: 17: duplicated macro 
> `XMMS_TEST_VERSION'
> aclocal: /usr/local/share/aclocal/xmms.m4: 62: duplicated macro
> `AM_PATH_XMMS'
avifile doesn't use or contains such macros. 

But _probably_ I know what's the problem. Please tell me what
aclocal --print-ac-dir displays for you?

Whole problem is that if aclocal by default search for macros in
/usr/XXX dir and you add this directory again by -I /usr/XXX switch
then it check this dir twice and finds duplicate marcos.

For example:
[misiek@arm misiek]$ aclocal --print-ac-dir
/usr/share/aclocal
[misiek@arm misiek]$ aclocal -I /usr/share/aclocal 
aclocal: /usr/share/aclocal/ORBit.m4: 4: duplicated macro `AM_PATH_ORBIT'
aclocal: /usr/share/aclocal/aalib.m4: 12: duplicated macro `AM_PATH_AALIB'
aclocal: /usr/share/aclocal/alsa.m4: 8: duplicated macro `AM_PATH_ALSA'
aclocal: /usr/share/aclocal/ao.m4: 9: duplicated macro `AM_PATH_AO'
aclocal: /usr/share/aclocal/audiofile.m4: 12: duplicated macro `AM_PATH_AUDIOFILE'
..
etc..

There is check to avoid this in autogen.sh but maybe your aclocal
--print-ac-dir returns for example "/usr/local/share/aclocal/"
(last slash will cause problems in this example)

> I have deleted the lines for the 2 definetions (AM_FUNC_OBSTACK and 
> AM_FUNC_ERROR_AT_LINE) in the acinclude.m4 but still get the following errors:
> 
> [schubert@bathl avifile-0.6]$ aclocal
> aclocal: configure.in: 427: macro `AM_PATH_SDL' not found in library
[misiek@arm avifile-0.6]$ grep AM_PATH_SDL /usr/share/aclocal/sdl.m4 
dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
AC_DEFUN(AM_PATH_SDL,
[misiek@arm avifile-0.6]$ rpm -qf /usr/share/aclocal/sdl.m4 
SDL-devel-1.2.1-2

so install SDL properly (sdl.m4 should be in place visible for your
aclocal ie in /usr/local/share/aclocal).

> [schubert@bathl avifile-0.6]$ autoheader
> autoheader: error: AC_CONFIG_HEADERS not found in configure.in
[misiek@arm avifile-0.6]$ autoheader 
autoheader: error: AC_CONFIG_HEADERS not found in configure.in
[misiek@arm avifile-0.6]$ aclocal
[misiek@arm avifile-0.6]$ autoheader 
[misiek@arm avifile-0.6]$ 

Updating macros via aclocal should do the trick (but first fix
SDL problem).

> Since about 2 weeks autogen.sh even dosn't run when autoconf-2.13 is 
> installed, I get less and other error messages then.
Unfortunately I no longer have autoconf 2.13, so I can't check it.

> Bernd

-- 
 Arkadiusz Miśkiewicz, AM2-6BONE, 1024/3DB19BBD
 IPv6 ready PLD Linux at http://www.pld.org.pl/
My jsme Borg. Odpor je marný, budete asimilováni

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to