bootstrap

Ralf Corsepius corsepiu at faw.uni-ulm.de
Wed Nov 6 03:22:19 UTC 2002


Am Mit, 2002-11-06 um 04.14 schrieb gregory.menke at gsfc.nasa.gov:
> 
> Hi,
> 
> I'm trying to work up a bsp for the Motorola MTX-60x boards, based on
> the motorola_powerpc bsp- that part is under control but I'm having
> trouble doing the bootstrap that sets up the new
> directories/makefiles/configure scripts.  After bootstrapping, when I
> configure, I get this error right away;
> 
> configure: creating ./config.status
> configure: configuring in ./tools/update
> configure: running /bin/sh
> '../../../../opt/rtems/rtems-ss/tools/update/configure' --prefix=/opt/rtems/build/mcp750 
>    --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=powerpc-rtems '--prefix=/opt/rtems/build/mcp750' 
>   '--disable-itron' '--enable-network' '--enable-rtemsbsp=mcp750' ' '--enable-cxx'            --cache-file=/dev/null 
>    --srcdir=../../../../opt/rtems/rtems-ss/tools/update
> ../../opt/rtems/rtems-ss/configure: eval: line 1: unexpected EOF while looking for matching `''
> ../../opt/rtems/rtems-ss/configure: eval: line 2: syntax error: unexpected end of file
> configure: error: /bin/sh '../../../../opt/rtems/rtems-ss/tools/update/configure' failed for tools/update
> 
> Indents added by me.  There seems to be a mismatched quote between the
> enable-rtemsbsp and the enable-cxx.  It looks like configure isn't
> handling the quotes right when it passes the cmdline to the subsequent
> invocations.
Yep, autoconf has changed it's internal /bin/sh quoting between 
autoconf-2.53 and autoconf-2.54 and thereby has broken RTEMS
configuration.

[autoconf-2.53 is broken in other ways.]

>  When building a bsp normally from an unmodified
> snapshot, configure & make complete OK.  I'm using;

This is the culprit:
> automake 1.7.1
> autoconf 2.54
RTEMS-snapshot requires autoconf-2.52 + automake-1.6.x

> m4 1.4
> 
> The error has been identical on 2 different machines and I've tried a
> few different versions of automake/autoconf as well- no changes in the
> error.  bootstrap runs to completion with a couple warnings related to
> the 386 bsp's.  README.configure looks more or less hopelessly out of
> date,
Exactly, it still refers to rtems-4.5.0,

Ralf





More information about the users mailing list