Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

3.1.3 - config.status file generation problems...

1 view
Skip to first unread message

Andrew J Cosgriff

unread,
May 1, 1998, 3:00:00 AM5/1/98
to Andrew Main

Andrew Main <zef...@tao.co.uk> wrote:
>Andrew J Cosgriff wrote:
>>2 goaway/2:a2 303 % ./config.status
>>creating Makefile
>>sed: Cannot find or open file :Makefile.in.
>
>As I suspected, you have a duff config.status, caused by bogus editing.
>It looks as if the shell you used to run the configure script has
>translated '\\' to '\' within single quotes, which is well out of order.
>Alternatively your ed has done the equivalent, which is also wrong.
>
>Please try replacing ed with GNU ed, so tht we can eliminate that
>possibility. And what is your /bin/sh?

3 goaway/2:b9 43 % which ed
/usr/local/bin/ed

3 goaway/2:b9 44 % ed --version
GNU ed version 0.1

(looks like i was already using it...)

/bin/sh is the ordinary DU 4.0B /bin/sh

I'm just rerunning configure with zsh (3.0.5) - it'll take a little while to
run, so i'll report back a bit later with what happened.


--
Andrew J Cosgriff <a...@bing.wattle.id.au> exterminate all rational thought !
air rhizome toxic boy blank


Bruce Stephens

unread,
May 1, 1998, 3:00:00 AM5/1/98
to zsh-w...@math.gatech.edu

Andrew Main <zef...@tao.co.uk> writes:

> As I suspected, you have a duff config.status, caused by bogus
> editing. It looks as if the shell you used to run the configure
> script has translated '\\' to '\' within single quotes, which is
> well out of order.

Yes, that was it. /bin/sh on Solaris 2.5.1 seems to do this (as does
zsh-3.1.2-zefram3). Explicitly using bash seems to have fixed it.


Andrew Main

unread,
May 1, 1998, 3:00:00 AM5/1/98
to zsh-w...@math.gatech.edu

zefram wrote:
>It looks as if the shell you used to run the configure script has
>translated '\\' to '\' within single quotes, which is well out of order.
>Alternatively your ed has done the equivalent, which is also wrong.

On second thoughts, scratch that. It's almost certainly echo that's
translating '\\' to '\'. So the advice is, don't configure 3.1.3 with
a SysV sh. zsh and bash will both work as intended (if invoked as sh).

Temporary fix: in the ed input in configure.in, change each '\' to '#',
and change ') | ed' to ') | sed s/\#/\\\\/g | ed'. I'll produce a proper
patch when I have a chance to analyse it more thoroughly.

-zefram


Andrew Main

unread,
May 1, 1998, 3:00:00 AM5/1/98
to Andrew J Cosgriff

Andrew J Cosgriff wrote:
>2 goaway/2:a2 303 % ./config.status
>creating Makefile
>sed: Cannot find or open file :Makefile.in.

Please send me your config.status. It's possible that your ed behaves
differently from mine (GNU ed 0.2) and has mangled it.

>has this happened to anyone else ? the zefram4 release didn't have this
>problem...

zefram4 wasn't editing config.status after autoconf has had a go at it.

-zefram


Andrew Main

unread,
May 1, 1998, 3:00:00 AM5/1/98
to Andrew J Cosgriff

Andrew J Cosgriff wrote:
>2 goaway/2:a2 303 % ./config.status
>creating Makefile
>sed: Cannot find or open file :Makefile.in.

As I suspected, you have a duff config.status, caused by bogus editing.


It looks as if the shell you used to run the configure script has
translated '\\' to '\' within single quotes, which is well out of order.
Alternatively your ed has done the equivalent, which is also wrong.

Please try replacing ed with GNU ed, so tht we can eliminate that


possibility. And what is your /bin/sh?

-zefram


Andrew J Cosgriff

unread,
May 1, 1998, 3:00:00 AM5/1/98
to zsh-w...@math.gatech.edu

building on alpha-dec-osf4.0 with gcc 2.8.1 (not that it gets that far :)

when configure goes to create the files :

2 goaway/2:a2 303 % ./config.status
creating Makefile
sed: Cannot find or open file :Makefile.in.

creating Doc/Makefile
sed: Cannot find or open file :Doc/Makefile.in.
creating Etc/Makefile
sed: Cannot find or open file :Etc/Makefile.in.
creating Src/Makefile
sed: Cannot find or open file :Src/Makefile.in.
creating config.h
cat: :config.h.in: No such file or directory
config.h is unchanged

the sed in question is the ordinary one from DU 4.0B.

changing my path so it uses GNU sed 2.05 doesn't help any...

has this happened to anyone else ? the zefram4 release didn't have this
problem...

Thanks,
Andrew


--
Andrew J Cosgriff <a...@bing.wattle.id.au> exterminate all rational thought !

disposable guns reconstruction hope trip


Andrew J Cosgriff

unread,
May 2, 1998, 3:00:00 AM5/2/98
to zsh-w...@math.gatech.edu

Bruce Stephens <b.ste...@isode.com> wrote:


>Andrew Main <zef...@tao.co.uk> writes:
>
>> As I suspected, you have a duff config.status, caused by bogus
>> editing. It looks as if the shell you used to run the configure
>> script has translated '\\' to '\' within single quotes, which is
>> well out of order.
>

>Yes, that was it. /bin/sh on Solaris 2.5.1 seems to do this (as does
>zsh-3.1.2-zefram3). Explicitly using bash seems to have fixed it.


yup, same here :)


--
Andrew J Cosgriff <a...@bing.wattle.id.au> exterminate all rational thought !

when asteroid landfill smile candy


0 new messages