This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

UPD: GNUWin32 package report



GNUWin32 package report
 author: mh@mike.franken.de (Michael Hirmke)
    WWW: - on minimike.franken.de
         - in /docs/develop/gnuwin32
         - as GNUWin32.txt
    FTP: - on ftp.franken.de
         - in /pub/win32/develop/gnuwin32/porters/Hirmke_Michael
         - as GNUWin32.txt
version: 1.04
   date: 27.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@utk.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@mike.franken.de (Michael Hirmke)


   *less-321*
   --------

     - system
       - Windows NT4 German / SP3

     - preliminaries
       - you first have to install *ncurses-4.1*
       - 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 ftp.franken.de
       - in /pub/win32/develop/gnuwin32/porters/Hirmke_Michael
       - as less-321-win32-bin.tar.gz
       - or less-321-win32-bin.zip

     - contributed by
       - mh@mike.franken.de (Michael Hirmke)


   *man-1.4j*
   --------

     - system
       - Windows NT4 German / SP3

     - preliminaries
       - none
           
     - configure
       - edit configure
         - change "prefix=/usr" to "prefix=/usr/local"
           (or whatever you want or just leave it as it is)
       - run "configure -d"

     - make
       - edit src/man.c
         - add "#include <getopt.h>"
         - comment out line 1020 (setlocale)
       - edit src/Makefile.in
         - add "-DNONLS" to "DEFS="
       - edit src/util.c
         - comment out line 93 and 94 (setreuid, setregid)
       - run "make" as normal

     - make install
       - works without changes
       - edit /usr/local/lib/man.config according to your system

     - notes
       - couldn't get man-1.5a to run properly, you can build it nearly
         the same way as 1.4j, but it will crash, whenever you run the
         resulting binary

     - package availability
       - on ftp.franken.de
       - in /pub/win32/develop/gnuwin32/porters/Hirmke_Michael
       - as man-1.4j-win32-bin.tar.gz
       - or man-1.4j-win32-bin.zip

     - contributed by
       - mh@mike.franken.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@mike.franken.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 ftp.franken.de
       - in /pub/win32/develop/gnuwin32/porters/Hirmke_Michael
       - as recode-3.4.1-7-win32-bin.tar.gz
       - or recode-3.4.1-7-win32-bin.zip

     - contributed by
       - mh@mike.franken.de (Michael Hirmke)


   *rcs-5.7*
   -------

     - system
       - ???

     - preliminaries
       - get Chris Faylor's version of cygwin19.dll; due to a bug in
         readlink(), rcs will not work with the original .dll
       - 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@inf.ethz.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@utk.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@mike.franken.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@mike.franken.de (Michael Hirmke)


3. *attachements*
   ============

   *attachement 1*
   -------------

   - replacement for the original "install" command to handle .exe file
     extensions properly

     ----------------------< snip snip snip >--------------------------
     #!/bin/sh

     # file: install
     # author:  earnie                email: earnie_boyd@hotmail.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@mike.franken.de
     #   changed ginstall to cyg_install, because some packages are looking
     #   for ginstall
     #   note: you have to rename your original install.exe to
     #         cyg_install.exe
     #
     # 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."
     #

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


4. *history*
   =======

   - 1.03
     - a few small corrections

   - 1.02
     - added history section :)
     - added ftp location to the header
     - changed less-321 package description
     - changed recode-3.4.1-7 package description
     - added man-1.4j package description

------------------------< 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@mike.franken.de
                         | WWW     http://minimike.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]