autoconf
[Top][All Lists]
Advanced

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

Re: autogen on macosx/darwin


From: Bruce Korb
Subject: Re: autogen on macosx/darwin
Date: Sat, 03 Nov 2001 12:29:47 -0800

Todd Gureckis wrote:
> [[...]] the configure/automake seems unable to correctly
> generate the Makefiles.  after running configure
> on my machine the Makefiles are empty. there is a message from sed in
> the ./configure output:
> 
> configure: creating ./config.status
> config.status: creating Makefile
> sed: file /tmp/cs29575-17041/subs-1.sed line 37: Unterminated `s' command
[[...]]
> I have tried it using both the sed that Apple ships and with the GNU sed
> version 3.02.

My guess is that the sed script has an unterminated `s' command.  ;-)
The question is not, "Which version of sed do you have?", but
"Where is `configure' going awry in constructing the sed commands?"

> At the end of the email I included the full output from my configure.
> 
> here are the versions of automake/autoconf/libtool i have
> automake (GNU automake) 1.4-p5
> Autoconf version 2.13
> ii  libtool        1.3.5-8        Shared library build helper

These should also make no difference, unless you have modified
autoconf predecessor files (configure.in or config/*.m4 files).
The sed script builder is ``config.status'', built by ``configure''
which is a product of _my_ autoconf, plus some autogen-specific
autoconf macros (see config/*.m4):

> $ autoconf --version
> autoconf (GNU Autoconf) 2.50

So, let's have a look at the sed script file, along with the current
message, since I noticed a different line number on your later run:

> config.status: creating Makefile
> sed: file /tmp/cs10164-30298/subs-2.sed line 7: Unterminated `s' command

(Type ^z to suspend the process while these messages print,
then copy the file off before it gets deleted.)  Or, just edit
the "configure" file to copy it aside, a la:

> $ diff -U5 configure~ configure
> --- configure~  Sat Nov  3 11:38:54 2001
> +++ configure   Sat Nov  3 12:27:52 2001
> @@ -10715,10 +10715,12 @@
>  cat >>$CONFIG_STATUS <<\EOF
>  
>  #
>  # CONFIG_COMMANDS section.
>  #
> +(cd $tmp/.. ; tar cvf - `basename $tmp`) | gzip > /tmp/CONFIGTMP.tgz
> +
>  for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
>    ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
>    ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
>  
>    case $ac_dest in



reply via email to

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