delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/17/12:52:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20040917165249.3402.qmail@web25407.mail.ukl.yahoo.com>
Date: Fri, 17 Sep 2004 17:52:49 +0100 (BST)
From: Adrian Ford <adrian_ford AT yahoo DOT co DOT uk>
Subject: Problem with ncurses-5.3-20030719-patch.sh
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

Dear All,

I came across a problem when installing ncurses-5.3
source using the setup utility. The problem is in the
ncurses-5.3-20030719-patch.sh script which is called
by the primary install script ncurses-5.3-4.sh. The
patch script begins by unconditionally deleting some
extracted files e.g. lib_insstr.c extracted and then
calls the command "patch" expected in /bin. On my
system at the time of installation I did not have the
patch utility installed - in setup this is a seperate
download, so the script ran something like this:

Patching....
patch: not found
patch: not found
patch: not found
.
.
.
...unable to make target lib_insstr.c required by
lib_insstr.o....

Basically because the file was deleted and /bin/patch
not available to apply the corrections to the make
files, control is passed back to the parent shell
script then the subsequent make process falls over
with a fatal error. (Interestingly the patch script
seems to exit with status 0 or the install script
would fail?).

Naturally I was able to correct the problem by
installing the patch utility and reinstalling, but in
the supplied INSTALL document, it was not listed as a
prerequisite.

I see two ways of fixing this issue:

1. Modify ncurses-5.3-20030719-patch.sh to check for
existence of patch utility, if not then exit with
non-zero exit status and appropriate error message.
2. Include patch utility with the package (maybe
modify setup utility?)

(I suppose there would be a third option just to
modify the INSTALL document to list patch as a
prerequisite).

Thanks and regards,

Adrian Ford


	
	
		
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019