zsh-users
 help / color / mirror / code / Atom feed
* 4.2.3
@ 2005-01-27  9:43 djh
  2005-01-27 10:44 ` 4.2.3 Peter Stephenson
  2005-01-27 17:20 ` 4.2.3 Peter A. Castro
  0 siblings, 2 replies; 4+ messages in thread
From: djh @ 2005-01-27  9:43 UTC (permalink / raw)
  To: zsh-users


I just downloaded zsh-4.2.3 and tried to build it on a new version of 
cygwin, but the
configure script dies somewhere after printing  a message like,  "Now 
checking FIFO"..

Does anyone know of a fix for this yet?

--------------
Darel


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

* Re: 4.2.3
  2005-01-27  9:43 4.2.3 djh
@ 2005-01-27 10:44 ` Peter Stephenson
  2005-01-27 11:57   ` 4.2.3 Peter Stephenson
  2005-01-27 17:20 ` 4.2.3 Peter A. Castro
  1 sibling, 1 reply; 4+ messages in thread
From: Peter Stephenson @ 2005-01-27 10:44 UTC (permalink / raw)
  To: zsh-users

djh wrote:
> I just downloaded zsh-4.2.3 and tried to build it on a new version of 
> cygwin, but the
> configure script dies somewhere after printing  a message like,  "Now 
> checking FIFO"..
> 
> Does anyone know of a fix for this yet?

Looks like this is is a change in Cygwin.  It doesn't happen on my setup
which is several months old and the test in zsh hasn't changed for a
long time.

I think Peter Castro is going to be looking at problems with 4.2.3 at
the Cygwin end.  Meanwhile, if FIFOs are the problem it should be
possible to doctor the script to tell them they don't work under
Cygwin.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


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

* Re: 4.2.3
  2005-01-27 10:44 ` 4.2.3 Peter Stephenson
@ 2005-01-27 11:57   ` Peter Stephenson
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Stephenson @ 2005-01-27 11:57 UTC (permalink / raw)
  To: zsh-users

Peter Stephenson wrote:
> djh wrote:
> > I just downloaded zsh-4.2.3 and tried to build it on a new version of 
> > cygwin, but the
> > configure script dies somewhere after printing  a message like,  "Now 
> > checking FIFO"..
> > 
> > Does anyone know of a fix for this yet?
> 
> Meanwhile, if FIFOs are the problem it should be
> possible to doctor the script to tell them they don't work under
                                        ^^^^ it, as we say in English
> Cygwin.

Yes, this works... I upgraded a sacrificial laptop.  FIFOs never worked
anyway and every test that should pass does.  If stout-heartedness
prevails, we may produce a 4.2.4 with this fix and the fix for the
-nt/-ot test problem.

If you apply this to 4.2.3, you'll need autoconf 2.5x.  Otherwise you
can cheat by doctoring configure by hand...

After the lines at around 14722:

echo "$as_me:$LINENO: checking if named FIFOs work" >&5
echo $ECHO_N "checking if named FIFOs work... $ECHO_C" >&6
if test "${zsh_cv_sys_fifo+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

insert:

  if test "$host_os" = cygwin; then
zsh_cv_sys_fifo=no
else

and insert an extra

fi

(there should already be two) before the lines at the end of the same block:

echo "$as_me:$LINENO: result: $zsh_cv_sys_fifo" >&5
echo "${ECHO_T}$zsh_cv_sys_fifo" >&6


Index: configure.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.ac,v
retrieving revision 1.23
diff -u -r1.23 configure.ac
--- configure.ac	19 Jan 2005 13:03:36 -0000	1.23
+++ configure.ac	27 Jan 2005 11:48:56 -0000
@@ -1635,7 +1635,10 @@
 dnl -----------
 AC_CACHE_CHECK(if named FIFOs work,
 zsh_cv_sys_fifo,
-[AC_TRY_RUN([
+[if test "$host_os" = cygwin; then
+zsh_cv_sys_fifo=no
+else
+AC_TRY_RUN([
 #include <fcntl.h>
 #include <signal.h>
 main()
@@ -1665,7 +1668,8 @@
 ],
   zsh_cv_sys_fifo=yes,
   zsh_cv_sys_fifo=no,
-  zsh_cv_sys_fifo=yes)])
+  zsh_cv_sys_fifo=yes)
+fi])
 AH_TEMPLATE([HAVE_FIFOS],
 [Define to 1 if system has working FIFOs.])
 if test $zsh_cv_sys_fifo = yes; then

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


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

* Re: 4.2.3
  2005-01-27  9:43 4.2.3 djh
  2005-01-27 10:44 ` 4.2.3 Peter Stephenson
@ 2005-01-27 17:20 ` Peter A. Castro
  1 sibling, 0 replies; 4+ messages in thread
From: Peter A. Castro @ 2005-01-27 17:20 UTC (permalink / raw)
  To: djh; +Cc: zsh-users

On Thu, 27 Jan 2005, djh wrote:

>
> I just downloaded zsh-4.2.3 and tried to build it on a new version of
> cygwin, but the
> configure script dies somewhere after printing  a message like,  "Now
> checking FIFO"..
>
> Does anyone know of a fix for this yet?

I have a fix in the works for this and a few other things.
Patience, please.

> --------------
> Darel

-- 
Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
	"Cats are just autistic Dogs" -- Dr. Tony Attwood


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

end of thread, other threads:[~2005-01-27 17:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-27  9:43 4.2.3 djh
2005-01-27 10:44 ` 4.2.3 Peter Stephenson
2005-01-27 11:57   ` 4.2.3 Peter Stephenson
2005-01-27 17:20 ` 4.2.3 Peter A. Castro

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