This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
Re: ncurses 4.2 and B20.1 install fail (.exe)
- To: cygwin@sourceware.cygnus.com
- Subject: Re: ncurses 4.2 and B20.1 install fail (.exe)
- From: mh@mike.franken.de (Michael Hirmke)
- Date: 10 Apr 1999 22:53:00 +0100
- Organization: Kommunikationsnetz Franken e.V. (Nuernberg)
Vincent P. LaBella [vlabella@comp.uark.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@hotmail.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@mike.franken.de
# changed ginstall to cyg_install, because some packages are looking
# for ginstall
#
# changed: Dr David Coe email: david@coent.demon.co.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@eurecom.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@mike.franken.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@mike.franken.de
| WWW http://aquarius.franken.de/
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com