avr-libc-dev
[Top][All Lists]
Advanced

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

[avr-libc-dev] [bug #13416] autoconf version does not match various AVR


From: anonymous
Subject: [avr-libc-dev] [bug #13416] autoconf version does not match various AVR Libc config files
Date: Thu, 16 Jun 2005 05:31:33 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Firefox/1.0.4

URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13416>

                 Summary: autoconf version does not match various AVR Libc
config files
                 Project: AVR C Runtime Library
            Submitted by: None
            Submitted on: Thu 06/16/2005 at 05:31
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Percent Complete: 0%
        Originator Email: address@hidden
             Open/Closed: Open

    _______________________________________________________

Details:

While trying to build the AVR toolchain for Linux using the Moffitt/Erasmus
shell scripts on an up to date Gentoo system, I ran in to the problem where
the AVR Libc build failed with the error:

cd ../../source/avr-libc-1.2.3 && autoconf
FATAL ERROR: Autoconf version 2.50 or higher is required for this script
make: *** [../../source/avr-libc-1.2.3/configure] Error 2
(./buildavr.sh) libc build failed

In Gentoo, autoconf is actually a wrapper script that tries to intelligently
choose the expected version of autoconf depending on a number of factors,
including the version of autoconf that was used to create the "configure"
file.

In avr-libc-1.2.3, the configure file was created using autoconf version 2.13
(according to the comments in the file header), so the wrapper sensibly
attempts to use this version of autoconf. Unfortunately, aclocal.m4 states
that it needs version 2.50 with the line AC_PREREQ(2.50), so the build
fails.

I tried to work around this problem by changing the shell script to remove the
configure file and then run autoconf just after untarring the archive. But
then the build failed after reconf insisted on once again using autoconf213:

+ aclocal
+ autoconf-2.13
FATAL ERROR: Autoconf version 2.50 or higher is required for this script
+ automake --foreign --add-missing --copy
(./buildavr.sh) configuring libc source
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
configure: error: C compiler cannot create executables
See `config.log' for more details.
(./buildavr.sh) libc configuration failed

Could the various configuration files bundled with AVR Libc please be created
with the same version of autoconf?




    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
altstadt --AT-- telus --DOT-- net   | Originator Email




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13416>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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