delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Date: | 10 Apr 1999 22:53:00 +0100 |
From: | mh AT mike DOT franken DOT de (Michael Hirmke) |
To: | cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <7Eam19F4pfB@mike.franken.de> |
In-Reply-To: | <Pine.SOL.3.95.990408083710.10675A-100000@comp> |
Subject: | Re: ncurses 4.2 and B20.1 install fail (.exe) |
X-Mailer: | CrossPoint v3.11 R/C9763 |
MIME-Version: | 1.0 |
Organization: | Kommunikationsnetz Franken e.V. (Nuernberg) |
x-copyright: | All rights reserved. Unauthorized copying, forwarding or publishing prohibited. |
x-irc-nick: | nobanzai |
x-no-archive: | yes |
X-MIME-Autoconverted: | from 8bit to quoted-printable by aquarius.franken.de id AAA13002 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id SAA23299 |
Vincent P. LaBella [vlabella AT comp DOT uark DOT edu] wrote: >Hello, > I've been having problems installing ncurses 4.2 with cygwin B20.1 >on NT4.0. ------------------------< snip snip snip >----------------------------- - Get some replacement for the original "install" command, so that .exe file extensions are handled properly (see attachement 1). Note: This is still useful or even necessary for B20 ! ------------------------< snip snip snip >----------------------------- #! /bin/sh # file: install # author: earnie email: earnie_boyd AT hotmail DOT com # # Install Preprocessor for the gnuwin "make install" command. # # Purpose: # Automatically add the suffix .exe to filenames that require it # # To use: # Copy this file earlier in the path than the default install.exe # It is recommended that the original install.exe be renamed # cyg_install.exe as otherwise some configure programs may fail # to find this install script # # Note: # No warranty implicit or explicit is given. # You may copy, distribute and use as you see fit. # USE AT YOU OWN RISK. # # changed: M.Hirmke email: mh AT mike DOT franken DOT de # changed ginstall to cyg_install, because some packages are looking # for ginstall # # changed: Dr David Coe email: david AT coent DOT demon DOT co DOT uk # "I seem to remember earnie's script gave trouble (in X11 or lesstif # make install) when both <exec.exe> and <exec> are present # simultaneously). The attached helped." # # changed: Dr Pierre A. Humblet email: humblet AT eurecom DOT fr # Modify logic to work when several files are installed in a directory, # some with the .exe extension and others without. # Issue warning in case of ambiguity # Search for an appropriate install.exe program tstr="" ambiguous="" while test $# -gt 1; do suffix="" if test -e "$1.exe"; then if test \( -f "$1" -o -L "$1" \) -a \ \( "$(ls -ib "$1").exe" != "$(ls -ib "$1".exe)" \) then ambiguous="${ambiguous}'$1' '$1.exe' " else suffix=".exe" fi fi tstr="${tstr}'${1}${suffix}' " shift; done if test -d "$1" then suffix="" fi tstr="${tstr}'${1}${suffix}'" # Issue warning if needed if test "$ambiguous" then echo $0 Warning: ambiguous filenames. Specify '".exe"' if appropriate. 1>&2 echo $0 "$ambiguous" 1>&2 fi # use cyg_install[.exe] if found, otherwise use install.exe type cyg_install >/dev/null 2>&1 if test "$?" = "0" then eval "cyg_install $tstr" else eval "install.exe $tstr" fi exit ------------------------< snip snip snip >----------------------------- *ncurses-4.2* ----------- - what is it? - The curses library routines give the user a terminal-indeˇ pendent method of updating character screens with reasonˇ able optimization. This implementation is ``new curses'' (ncurses) and is the approved replacement for 4.4BSD clasˇ sic curses, which has been discontinued. - The ncurses routines emulate the curses(3X) library of System V Release 4 UNIX, and the XPG4 curses standard (XSI curses) but the ncurses library is freely redistributable in source form. - system - Windows NT4 German / SP3 - Cygwin - for B20 - binary mounts only - CYGWIN=title strip_title binmode glob tty - preliminaries - get the source packages - ncurses-4.2.tar.gz somewhere from the net or your favourite Linux distribution - configure - works without changes - example: ./configure --prefix=/usr/local - make - works without changes - make install - you have to create one directory first - no idea, why it is not created automatically !?!? - mkdir -p <prefix>/share/tabset - notes - none - package availability - on ftp.franken.de - in /pub/win32/develop/gnuwin32/cygwin/porters/Hirmke_Michael/B20 - as ncurses-4.2-cygwin-b20-bin.tar.gz - or ncurses-4.2-cygwin-b20-bin.zip - contributed by - mh AT mike DOT franken DOT de (Michael Hirmke) ------------------------< snip snip snip >----------------------------- [...] > >Thanks > >Vince Bye. Michael. -- Michael Hirmke | Telefon +49 (911) 557999 Georg-Strobel-Strasse 81 | FAX +49 (911) 557664 90489 Nuernberg | E-Mail mailto:mh AT mike DOT franken DOT de | WWW http://aquarius.franken.de/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |