Mail Archives: cygwin/1998/03/27/01:58:12
GNUWin32 package report
author: mh AT mike DOT franken DOT de (Michael Hirmke)
URL: http://minimike.franken.de/docs/develop/gnuwin32/GNUWin32.txt
version: 1.02
date: 22.03.1998
------------------------< snip snip snip >-----------------------------
0. *introduction*
============
This is a status report for packages compiled with *Cygnus CDK* - at
the moment with version B19.
For every package there might be different, even better ways to build
them, but this is how I (and the other contributors) did it.
If you know a better way, please share your knowledge with us.
If you have built some more packages and would like me to add them to
this report, please send me an email with the appropriate
description.
If you have any further suggestion on this report, feel free to send
me an email, too.
1. *preliminaries*
=============
- All the packages are original source packages you can get from
many ftp servers on the net. All the changes to these packages,
which are necessary to build the binaries should be documented in
this report.
- You should have installed and properly configured the latest
Cygnus CDK - at the moment version B19 - and perhaps Sergey
Okhapkin's latest coolview package
(available for example
- on ftp.franken.de
in /pub/win32/develop/gnuwin32/porters/Okhapkin_Sergey
as coolview.tar.gz)
- I assume you know how to unpack the source packages, i.e.
"tar -xvzf <package>.tar.gz".
- Get some replacement for the original "install" command, so that
.exe file extensions are handled properly (see attachement 1).
2. *packages*
========
*ghostview-1.5*
-------------
- system
- ???
- preliminaries
- tar -xzvf ghostview-1.5.tar.gz; cd ghostview-1.5
- xmkmf
- change in file Dir.c ( comment several lines):
/*
#if defined(SVR4) || defined(SYSV) || defined(USG) || defined(__osf__)
*/
#include <dirent.h>
/*
#else */ /* defined(SVR4) || defined(SYSV) || defined(USG) */ /*
#include <sys/dir.h>
#define dirent direct
#endif */ /* defined(SVR4) || defined(SYSV) || defined(USG) */ /*
*/
- make
- works without changes
- make install
- works without changes
- notes
- none
- package availability
- on -
- in -
- as -
- contributed by
- wku1 AT utk DOT edu (Wei Ku)
*groff-1.10*
----------
- system
- Windows NT4 German / SP3
- preliminaries
- /bin/sh has to be *bash, not ash*
- umount /bin (if mounted)
- cp <cygnus>/bash.exe /bin/sh.exe
- configure
- works without changes
- make
- edit ./Makefile
- turn off optimization (-O in CFLAGS and CCFLAGS);
with optimization turned on, you may run into trouble with
random crashes - for example with large man pages
(due to a hint from Andy Piper)
- edit ./tmac/Makefile.sub
- create a new first line "SHELL=/usr/bin/ash"
(or whatever your "ash" is); this is necessay, because
"bash" can't handle a "for" loop with an empty list in
this Makefile
- run "make" as normal
- make install
- works without changes
- notes
- it is a bit crazy, but you really need both shells to build
this package - of course you could also change the Makefiles,oe
so they all work with one shell
- package availability
- on ftp.franken.de
in /pub/win32/develop/gnuwin32/porters/Hirmke_Michael
as groff-1.10-win32-bin.tar.gz
or groff-1.10-win32-bin.zip
- contributed by
- mh AT mike DOT franken DOT de (Michael Hirmke)
*less-321*
--------
- system
- Windows NT4 German / SP3
- preliminaries
- replace all "iprintf" in "output.c" with a different,
but unique name, for example "less_iprintf"
- configure
- works without changes
- make
- works without changes
- make install
- works without changes
- notes
- none
- package availability
- on -
- in -
- as -
- contributed by
- mh AT mike DOT franken DOT de (Michael Hirmke)
*ncurses-4.1*
-----------
- system
- Windows NT4 German / SP3
- preliminaries
- /bin/sh has to be *bash, not ash*
- umount /bin (if mounted)
- cp <cygnus>/bash.exe /bin/sh.exe
- configure
- works without changes
- make
- works without changes
- make install
- works without changes
- notes
- none
- package availability
- on ftp.franken.de
in /pub/win32/develop/gnuwin32/porters/Hirmke_Michael
as ncurses-4.1-win32-bin.tar.gz
or ncurses-4.1-win32-bin.zip
- contributed by
- mh AT mike DOT franken DOT de (Michael Hirmke)
*recode-3.4.1-7*
--------------
- system
- Windows NT4 German / SP3
- preliminaries
- none
- configure
- works without changes
- make
- "make recode" is necessary, if you don't have texinfo
installed, but otherwise
- works without changes
- make install
- works without changes
- notes
- make for recode-3.4.1 (without -7) does *not* work
- package availability
- on -
- in -
- as -
- contributed by
- mh AT mike DOT franken DOT de (Michael Hirmke)
*rcs-5.7*
-------
- system
- ???
- preliminaries
- in src/conf.sh line 1039 change has_mmap=1 to has_mmap=0
- in src/Makefile change line 90 to look like x = .exe
- make
- works without changes
- make install
- works without changes
- notes
- Is is a cygnus bug or an rcs problem that we have to turn off
the mmap feature?
- package availability
- on -
- in -
- as -
- contributed by
- acherman AT inf DOT ethz DOT ch (Erwin Achermann)
*termcap-1.3*
-----------
- system
- ???
- preliminaries
- gunzip termcap-1.3.tar; tar -xvf termcap-1.3.tar; cd termcap-1.3
- configure
- works without changes
- make
- change in Makefile:
add -D_STRICT_ANSI in DEFS so that it looks like
DEFS = -D_STRICT_ANSI -DHAVE_STRING_H=1 ...( omitted )
- make install
- mkdir /usr/include; mkdir /usr/lib
- make include
- notes
- none
- package availability
- on -
- in -
- as -
- contributed by
- wku1 AT utk DOT edu (Wei Ku)
*uucp-1.06.1*
-----------
- system
- Windows NT4 German / SP3
- preliminaries
- none
- configure
- works without changes
- make
- works without changes
- make install
- edit ./Makefile
- remove or comment out all the lines with "chmod" and "chown",
because they can't handle .exe extensions
- run "make install" as normal
- notes
- none
- package availability
- on ftp.franken.de
in /pub/win32/develop/gnuwin32/porters/Hirmke_Michael
as uucp-1.06.1-win32-bin.tar.gz
or uucp-1.06.1-win32-bin.zip
- contributed by
- mh AT mike DOT franken DOT de (Michael Hirmke)
*vim-5.0*
-------
- system
- Windows NT4 German / SP3
- preliminaries
- you first have to install *ncurses-4.1*
- configure
- works without changes with these parameters:
./configure \
--prefix=/usr/local \
--disable-perlinterp \
--disable-pythoninterp
- make
- works without changes
- make install
- works, but you first have to "export SUFFIX=.exe", because it does
not use the standard "install" program
- notes
- make gives you a few warnings, which you can ignore, and when
it has finished, it is not obvious, that compilation succeeded,
though it did
- if the X11R6.3 package is installed, you get GUI support, too;
the process for building the package is the same, though
- package availability
- on ftp.franken.de
in /pub/win32/develop/gnuwin32/porters/Hirmke_Michael
as vim-5.0-win32-bin.tar.gz
or vim-5.0-win32-bin.zip
- contributed by
- mh AT mike DOT franken DOT de (Michael Hirmke)
3. *attachements*
============
*attachement 1*
-------------
- replacement for the original "install" command to handle .exe file
extensions properly
#!/bin/sh
# file: install
# author: earnie email: earnie_boyd AT hotmail DOT com
#
# Install Preprocessor for the gnu-win32 "make install" command.
#
# To use:
#
# copy this file to /usr/bin/install (earlier in the
# path than the default GNU install).
#
# 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."
#
tstr=""
while test $# -gt 0;
do
if test -e $1.exe;
then
if test -d $2;
then
tstr="$tstr$1.exe $2";
else
tstr="$tstr$1.exe $2.exe";
fi;
shift;
else
tstr="$tstr$1 ";
fi;
shift;
done
eval "cyg_install.exe $tstr";
exit
------------------------< snip snip snip >-----------------------------
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://minimike.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -