Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: problem building zsh in background
- X-seq: zsh-users 6818
- From: Philippe Troin <phil@xxxxxxxx>
- To: Jens Petersen <petersen@xxxxxxxxxx>
- Subject: Re: problem building zsh in background
- Date: 29 Nov 2003 21:43:50 -0800
- Cc: Zsh-users <zsh-users@xxxxxxxxxx>
- In-reply-to: <m3y8u26r3t.wl%petersen@xxxxxxxxxx>
- Mail-copies-to: nobody
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <m3d6bgq2tk.wl%petersen@xxxxxxxxxx> <87d6bgrxml.fsf@xxxxxxxxxxxxxxxx> <m3vfp7o6c8.wl%petersen@xxxxxxxxxx> <877k1ngcp5.fsf@xxxxxxxxxxxxxxxx> <m365h68uk6.wl%petersen@xxxxxxxxxx> <m3y8u26r3t.wl%petersen@xxxxxxxxxx>
- Sender: Philippe Troin <phil@xxxxxxxx>
Jens Petersen <petersen@xxxxxxxxxx> writes:
> >>>>> "juhp" == Jens Petersen <petersen@xxxxxxxxxx> writes:
>
> >>>>> "PT" == Philippe Troin <phil@xxxxxxxx> writes:
>
> >>> >> works... yes checking if tcsetpgrp() actually
> >>> >> works... [1] + suspended (tty output)
> >>> >> ./configure
> >>>
> PT> Check-out the thread at
> PT> http://www.zsh.org/mla/workers/2003/msg00895.html
>
> Ok, I have no problems with the first weaker patch, but with
> the second patch (msg00896.html) when there is no tty I see:
>
> :
> checking if kill(pid, 0) returns ESRCH correctly... yes
> checking if POSIX sigsuspend() works... yes
> checking if tcsetpgrp() actually works... notty
> configure: error: no controlling tty
> %
Yes, I know.
The first patch fails to detect if configure runs without a
controlling tty, does not run the test and assumes that tcsetpgrp()
works correctly.
The second patch aborts the configure run in that case.
The first patch was a work in progress, the second patch is supposed
to be an improvement :-)
Why do you want to run configure with nohup?
I guess I could run the test in a separate, created pty, but that is
going to be messy to do portably in configure.
Phil.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author