Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » AVR-GCC
  • » [avr-gcc-list] Compiling avr-libc-1_2-branch from cvs [RSS Feed]

#1 Nov. 6, 2005 12:16:21

Uwe F.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] Compiling avr-libc-1_2-branch from cvs


Hello,

I checked out the above branch from cvs.

How can I compile it?

./doconf gave me an error "configure not found" first,
I copied configure into the avr-libc directory, now I get the
message

-bash-3.00# ./doconf --prefix=$PREFIX
creating cache ./config.cache
../configure: line 650: ../config.guess: No such file or directory
configure: error: can not find install-sh or install.sh in .. ../.. ../../..

Compiling avr-libc 1.2.5 works fine.

Any help appreciated.

Regards:

Uwe Fechner


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

#2 Nov. 6, 2005 19:50:38

Joerg W.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] Compiling avr-libc-1_2-branch from cvs


Uwe Fechner <> wrote:

> ./doconf gave me an error "configure not found" first.

You need to run ./reconf first. Keep in mind that the 1.2 branch
requires archaic versions of automake and autoconf around (1.5, 2.59),
so you might need to tune that script a bit so it can find the correct
versions (in case you've got multiple versions installed).

I expect avr-libc 1.4.0 and 1.2.6 to be released ``really soon now'',
as all of the major items on my checklist are done now.

--
cheers, J"org .-.-. --... ...-- -.. . DL8DTLhttp://www.sax.de/~joerg/NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

#3 Nov. 7, 2005 18:56:09

Uwe F.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] Compiling avr-libc-1_2-branch from cvs


Joerg Wunsch schrieb:Uwe Fechner <> wrote:./doconf gave me an error "configure not found" first.You need to run ./reconf first.Hello,

I tried your suggestion, but no positive result:

-bash-3.00# ./reconf
+ aclocal-1.4
+ autoconf
+ automake-1.4 --foreign --add-missing --copy
automake: configure.in: installing `./install-sh'
automake: configure.in: installing `./mkinstalldirs'
automake: configure.in: installing `./missing'
automake: configure.in: installing `./config.guess'
-bash-3.00# ./doconf --prefix=$PREFIX
configure: error: This is libc for the avr target only!

What does this error message mean?

(I am using an uptodate gentoo linux, old versions
of autoconf/ automake should be installed.)

Regards:

Uwe


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

#4 Nov. 7, 2005 19:09:59

Joerg W.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] Compiling avr-libc-1_2-branch from cvs


Uwe Fechner <> wrote:

> -bash-3.00# ./reconf
> + aclocal-1.4
> + autoconf
> + automake-1.4 --foreign --add-missing --copy
> automake: configure.in: installing `./install-sh'
> automake: configure.in: installing `./mkinstalldirs'
> automake: configure.in: installing `./missing'
> automake: configure.in: installing `./config.guess'
> -bash-3.00# ./doconf --prefix=$PREFIX
> configure: error: This is libc for the avr target only!

Are you sure the (default) autoconf it finds is actually autoconf
2.13? What does "autoconf --version" say?

For me (FreeBSD uses slightly different names for the installed
tools), it looks like:

% ./reconf
+ aclocal14
+ autoconf213
+ automake14 --foreign --add-missing --copy
% ./doconf --prefix=/tmp
creating cache ./config.cache
checking host system type... avr-unknown-none
...

--
cheers, J"org .-.-. --... ...-- -.. . DL8DTLhttp://www.sax.de/~joerg/NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

#5 Nov. 7, 2005 19:33:09

Uwe F.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] Compiling avr-libc-1_2-branch from cvs


Joerg Wunsch schrieb:Uwe Fechner <> wrote:-bash-3.00# ./reconf
+ aclocal-1.4
+ autoconf
+ automake-1.4 --foreign --add-missing --copy
automake: configure.in: installing `./install-sh'
automake: configure.in: installing `./mkinstalldirs'
automake: configure.in: installing `./missing'
automake: configure.in: installing `./config.guess'
-bash-3.00# ./doconf --prefix=$PREFIX
configure: error: This is libc for the avr target only!Are you sure the (default) autoconf it finds is actually autoconf
2.13? What does "autoconf --version" say?Well, this still does not work:

-bash-3.00# ./reconf
+ aclocal
+ autoconf
FATAL ERROR: Autoconf version 2.50 or higher is required for this script
+ automake --foreign --add-missing --copy
-bash-3.00# ./doconf
configure: error: This is libc for the avr target only!

-bash-3.00# autoconf --version
Autoconf version 2.13

-bash-3.00# automake --version
automake (GNU automake) 1.4-p6

Copyright (C) 1999, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Written by Tom Tromey <>-bash-3.00#Regards:

UweFor me (FreeBSD uses slightly different names for the installed
tools), it looks like:

% ./reconf
+ aclocal14
+ autoconf213
+ automake14 --foreign --add-missing --copy
% ./doconf --prefix=/tmp
creating cache ./config.cache
checking host system type... avr-unknown-none
..._______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

#6 Nov. 7, 2005 19:47:46

Joerg W.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] Compiling avr-libc-1_2-branch from cvs


As Uwe Fechner wrote:

> Well, this still does not work:
>
> -bash-3.00# ./reconf
> + aclocal
> + autoconf
> FATAL ERROR: Autoconf version 2.50 or higher is required for this script

Sorry, no idea what you've mixed up. Correct version of aclocal?

configure.in has this:

AC_PREREQ(2.13)

...so it's supposed to require autoconf 2.13, not 2.50+.

I know that auto* backwards compatibility is a pain in the butt, and
I'm more than glad the next version will no longer require those
ancient tools.

--
cheers, J"org .-.-. --... ...-- -.. . DL8DTLhttp://www.sax.de/~joerg/NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

#7 Nov. 8, 2005 03:05:19

John A.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] Compiling avr-libc-1_2-branch from cvs


Joerg Wunsch wrote:As Uwe Fechner wrote:Well, this still does not work:

-bash-3.00# ./reconf
+ aclocal
+ autoconf
FATAL ERROR: Autoconf version 2.50 or higher is required for this scriptSorry, no idea what you've mixed up. Correct version of aclocal?

configure.in has this:

AC_PREREQ(2.13)

...so it's supposed to require autoconf 2.13, not 2.50+.

I know that auto* backwards compatibility is a pain in the butt, and
I'm more than glad the next version will no longer require those
ancient tools.This is the exact problem I reported a few months ago athttp://savannah.nongnu.org/bugs/?func=detailitem&item_id=13416The workaround given in the bug report is to temporarily rename thevarious autoconf files in /usr/bin. E.g.# mv autoconf autoconf.original
# mv autoconf-2.13 autoconfWithout renaming the files as described above, autoconf --version willactually run /usr/lib/misc/ac-wrapper.sh, which will then executeautoconf-2.13 --version.John


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

#8 Nov. 9, 2005 20:38:02

Joerg W.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] Compiling avr-libc-1_2-branch from cvs


As John Altstadt wrote:

> This is the exact problem I reported a few months ago at
>http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13416Yep, these auto tools are not very consistent. While they introduced
major backwards compatibility headaches to anyone using them, they
simply don't manage it to pass the names they have been called with
down into the generated scripts, so e.g. if you ran automake13, it
will later try to call either automake or automake-1.3 (which both
don't exist on my systems).

> The workaround given in the bug report is to temporarily rename the
> various autoconf files in /usr/bin. E.g.
> # mv autoconf autoconf.original
> # mv autoconf-2.13 autoconf

That's why I cannot see that on my FreeBSD machines. The port
maintainers of the auto tools have chosen to never install any of
these tools by their generic names anymore.

--
cheers, J"org .-.-. --... ...-- -.. . DL8DTLhttp://www.sax.de/~joerg/NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

#9 Nov. 10, 2005 01:55:59

John A.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] Compiling avr-libc-1_2-branch from cvs


Joerg Wunsch wrote:As John Altstadt wrote:This is the exact problem I reported a few months ago athttp://savannah.nongnu.org/bugs/?func=detailitem&item_id=13416Yep, these auto tools are not very consistent. While they introduced
major backwards compatibility headaches to anyone using them, they
simply don't manage it to pass the names they have been called with
down into the generated scripts, so e.g. if you ran automake13, it
will later try to call either automake or automake-1.3 (which both
don't exist on my systems).I do have to say that in >20 years of designing large and small embeddedsystems, I have never once felt the urge to use any autotools. :-)The workaround given in the bug report is to temporarily rename the
various autoconf files in /usr/bin. E.g.
# mv autoconf autoconf.original
# mv autoconf-2.13 autoconfThat's why I cannot see that on my FreeBSD machines. The port
maintainers of the auto tools have chosen to never install any of
these tools by their generic names anymore.I was thinking that this particular problem is Gentoo specific. Normallythey do a great job of keeping multiple versions of packages installedon the system. It looks like this package didn't quite work out though.On Gentoo, /usr/bin/autoconf is a soft link to a bash script which triesto figure out which version of autoconf to actually execute. It wouldappear to be optimized for use within ebuilds (similar idea to ports).John


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

#10 Nov. 10, 2005 06:04:47

Joerg W.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] Compiling avr-libc-1_2-branch from cvs


John Altstadt <> wrote:

>> Yep, these auto tools are not very consistent.

> I do have to say that in >20 years of designing large and small
> embedded systems, I have never once felt the urge to use any
> autotools. :-)

Sure, for just your own tool, you don't need that. But if you want
something that can be compiled on different OSes, where you can check
for the prerequisite software, and want to offer the users some
choices including that of the final installation location (configure
--prefix), *something* like these tools is really handy.

> On Gentoo, /usr/bin/autoconf is a soft link to a bash script which
> tries to figure out which version of autoconf to actually execute.

Well, I see the point in that idea, but guess it's hard to impossible
to really do that.

--
cheers, J"org .-.-. --... ...-- -.. . DL8DTLhttp://www.sax.de/~joerg/NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

  • Root
  • » AVR-GCC
  • » [avr-gcc-list] Compiling avr-libc-1_2-branch from cvs [RSS Feed]

Board footer

Moderator control

Enjoy the 20th of November
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support