zsh-workers
 help / color / mirror / code / Atom feed
* 3.1.3 - config.status file generation problems...
@ 1998-05-01 12:39 Andrew J Cosgriff
  1998-05-01 13:04 ` Andrew Main
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Andrew J Cosgriff @ 1998-05-01 12:39 UTC (permalink / raw)
  To: zsh-workers


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 <ajc@bing.wattle.id.au> exterminate all rational thought !
                    disposable guns reconstruction hope trip


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 3.1.3 - config.status file generation problems...
  1998-05-01 12:39 3.1.3 - config.status file generation problems Andrew J Cosgriff
@ 1998-05-01 13:04 ` Andrew Main
  1998-05-01 13:29 ` Andrew Main
  1998-05-01 13:30 ` Bruce Stephens
  2 siblings, 0 replies; 8+ messages in thread
From: Andrew Main @ 1998-05-01 13:04 UTC (permalink / raw)
  To: Andrew J Cosgriff; +Cc: zsh-workers

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 3.1.3 - config.status file generation problems...
  1998-05-01 12:39 3.1.3 - config.status file generation problems Andrew J Cosgriff
  1998-05-01 13:04 ` Andrew Main
@ 1998-05-01 13:29 ` Andrew Main
  1998-05-01 13:46   ` Andrew J Cosgriff
  1998-05-01 14:02   ` Bruce Stephens
  1998-05-01 13:30 ` Bruce Stephens
  2 siblings, 2 replies; 8+ messages in thread
From: Andrew Main @ 1998-05-01 13:29 UTC (permalink / raw)
  To: Andrew J Cosgriff; +Cc: zsh-workers

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 3.1.3 - config.status file generation problems...
  1998-05-01 12:39 3.1.3 - config.status file generation problems Andrew J Cosgriff
  1998-05-01 13:04 ` Andrew Main
  1998-05-01 13:29 ` Andrew Main
@ 1998-05-01 13:30 ` Bruce Stephens
  2 siblings, 0 replies; 8+ messages in thread
From: Bruce Stephens @ 1998-05-01 13:30 UTC (permalink / raw)
  To: zsh-workers

Andrew J Cosgriff <ajc@bing.wattle.id.au> writes:

> 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...

Yes.  Exactly the same problem on sparc-sun-solaris2.5.1.  Haven't
looked at config.status, but configure itself fails in this way.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 3.1.3 - config.status file generation problems...
  1998-05-01 13:29 ` Andrew Main
@ 1998-05-01 13:46   ` Andrew J Cosgriff
  1998-05-01 14:02   ` Bruce Stephens
  1 sibling, 0 replies; 8+ messages in thread
From: Andrew J Cosgriff @ 1998-05-01 13:46 UTC (permalink / raw)
  To: Andrew Main; +Cc: zsh-workers


Andrew Main <zefram@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 <ajc@bing.wattle.id.au> exterminate all rational thought !
                          air rhizome toxic boy blank


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 3.1.3 - config.status file generation problems...
  1998-05-01 13:29 ` Andrew Main
  1998-05-01 13:46   ` Andrew J Cosgriff
@ 1998-05-01 14:02   ` Bruce Stephens
  1998-05-01 14:09     ` Andrew J Cosgriff
  1 sibling, 1 reply; 8+ messages in thread
From: Bruce Stephens @ 1998-05-01 14:02 UTC (permalink / raw)
  To: zsh-workers

Andrew Main <zefram@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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 3.1.3 - config.status file generation problems...
  1998-05-01 14:02   ` Bruce Stephens
@ 1998-05-01 14:09     ` Andrew J Cosgriff
  0 siblings, 0 replies; 8+ messages in thread
From: Andrew J Cosgriff @ 1998-05-01 14:09 UTC (permalink / raw)
  To: zsh-workers


Bruce Stephens <b.stephens@isode.com> wrote:
>Andrew Main <zefram@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 <ajc@bing.wattle.id.au> exterminate all rational thought !
                       when asteroid landfill smile candy


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 3.1.3 - config.status file generation problems...
       [not found] <no.id>
@ 1998-05-01 13:43 ` Andrew Main
  0 siblings, 0 replies; 8+ messages in thread
From: Andrew Main @ 1998-05-01 13:43 UTC (permalink / raw)
  To: zsh-workers; +Cc: ajc

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1998-05-01 14:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-05-01 12:39 3.1.3 - config.status file generation problems Andrew J Cosgriff
1998-05-01 13:04 ` Andrew Main
1998-05-01 13:29 ` Andrew Main
1998-05-01 13:46   ` Andrew J Cosgriff
1998-05-01 14:02   ` Bruce Stephens
1998-05-01 14:09     ` Andrew J Cosgriff
1998-05-01 13:30 ` Bruce Stephens
     [not found] <no.id>
1998-05-01 13:43 ` Andrew Main

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).