contents
This is a status report mainly for packages compiled with the
Cygnus CDK - at the moment with version Cygwin B20 or
Cygwin 1.0. Besides that my intention is to also collect packages
which have been ported using similiar toolkits - as for example
Mingw32.
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.
contents
contents
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 Cygwin B20 or even better Cygwin 1.0.
For packages marked as tested for B19, you should have Cygwin B19 -
and perhaps Sergey Okhapkin's latest coolview package (available
for example
-
on ftp.franken.de
-
in ../Okhapkin_Sergey
-
as coolview.tar.gz)
I assume you know how to unpack the source packages, i.e.
"tar -xvzf .tar.gz".
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 Cygwin B20 and
also for Cygwin 1.0!
contents
contents
*BiBtool 2.43*
------------
- what is it?
- BiBtool is a program that sorts and processes BiBTeX databases
for all you TeX-ers out there. It is a must have for LaTeX/TeX
users who have large reference databases.
- system
- Works on NT, haven't tried 95/98
- Cygwin
- for B20.1
- preliminaries
- get the source package
- BiBTool-2.43-cygwin-b20-bin.zip
it can be found
- on http://ctan.unsw.edu.au
- in /tex-archive/biblio/bibtex/utils/bibtool/BibTool.html
or
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/LaBella_Vincent_P/B20
- as BiBTool-2.43-cygwin-b20-bin.zip
- configure
- ./configure works fine
- make
- SEE notes FIRST!
- You must modify source code to get it to compile correctly.
This has nothing to do with cygwin, rather the new version of
ecgs/gcc doesn't like part of the old code.
- Here's what to do:
a.) edit main.c add the following two lines as the
first two lines of the main(...) function
err_file = stderr;
ofile = stdout;
b.) edit error.c change line 50 from:
FILE * err_file = stderr;
to:
FILE * err_file;
c.) edit print.h add the following line before the function
declarations. (the include files are in include/bibtool)
extern FILE * ofile;
d.) edit print.c change line
static FILE * ofile = stdout;
FILE * ofile
e.) now run make
- make install
- works fine
- notes
- The archive I uploaded to the German Cygwin ftp site has the
changes in the source code. If you download the package from
any other site follow steps a-e above. I left the original
source files with the .orig ending and saved the modified
files with .mod extension.
NOTE: *.mod = *.c if you got the package from the cywin site
original modified
-------- --------
main.c main.c.orig main.c.mod
print.c print.c.orig print.c.mod
print.h print.h.orig print.h.mod
error.c error.c.orig error.c.mod
- package availability
- on http://ctan.unsw.edu.au
- in /tex-archive/biblio/bibtex/utils/bibtool/BibTool.html
or
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/LaBella_Vincent_P/B20
- as BiBTool-2.43-cygwin-b20-bin.zip
- contributed by
- vlabella@comp.uark.edu (Vincent P. LaBella)
contents
contents
*Clustal W 1.8*
-------------
- what is it?
- multiple nucleic acid sequence aligment tool
- system
- Windows NT4, sp3
- Cygwin
- for B20.1, text or binary mount
- preliminaries
- get the sources at:
ftp://ftp.ebi.ac.uk/pub/software/unix/clustalw/
- configure
- none
- make
- apply the following patch to makefile:
--- /Temp/install-files/clustalw1.8/makefile Thu Sep 11 07:03:16 1997
+++ makefile Wed Jul 14 22:15:30 1999
@@ -4,13 +4,13 @@
rm *.o
OBJECTS = interface.o sequence.o showpair.o malign.o \
- util.o trees.o gcgcheck.o prfalign.o pairalign.o \
- calcgapcoeff.o calcprf1.o calcprf2.o calctree.o \
- readmat.o alnscore.o random.o
+ util.o trees.o gcgcheck.o prfalign.o pairalign.o \
+ calcgapcoeff.o calcprf1.o calcprf2.o calctree.o \
+ readmat.o alnscore.o random.o
HEADERS = general.h clustalw.h
-CC = cc
+CC = gcc
CFLAGS = -c -O
LFLAGS = -O -lm
- with these changes, make runs smoothly
- make install
- install manually (from build root):
- cp clustalw.exe /usr/local/bin
- cp clustalw_help /usr/local/bin
- package availability
- http://members.tripod.com/~mhoenicka/clustalw.html
- contributed by
- hoenicka_markus@compuserve.com (Markus Hoenicka)
contents
contents
*InfoZip zip2.2, unzip 5.32*
--------------------------
- what is it?
- Packer and unpacker compatible with WinZip, PKZip, and the
InfoZips on all platforms
- system
- Cygwin B19, built and tested on Windows NT4, presumably
runs on Windows 95/98 as well
- Cygwin
- for B19
- preliminaries
- Get sources from www.cdrom.com/infozip/
- configure
- none
- make
The binaries were built from the InfoZip sources with some
modifications for the CygWin build tools (the EGCS compiler
was used here). Most part of the porting was done by Ted Jump
(http://www.i21.com/~tjump/files/index.html), his
modifications are cited here first:
*************************************************************
... zip 2.2 info ...
Manually edit unix/Makefile and changed path to 'cpp'.
*NOTE: If you define BIG_MEM you will likely need to edit out
the usage of the assembler CRC and matching routines.
Probably not worth the time.
Change code for crc_i386.o target, it originally reads:
crc_i386.o: crc_i386.S
$(CPP) crc_i386.S > crc_i386.s
$(AS) crc_i386.s
rm -f crc_i386.s
... but this causes make to remove the *original* crc_i386.S
file since while the Cygnus tools somewhat respect case the
underlying filesystem does not (at least on FAT/FAT32
filesystems), so change the target to look like this and
it'll be happy ...
crc_i386.o: crc_i386.S
$(CPP) crc_i386.S > _crc_i386.s
$(AS) _crc_i386.s
mv _crc_i386.o crc_i386.o
rm -f _crc_i386.s
Find the 'generic_gcc:' target, and add a new target after
it:
Cygwin:
$(MAKE) generic CC=gcc CPP="gcc -E" CFLAGS="-O3 -I. -DUNIX"
(if you're not using EGCS for B19 you may want to change -O3
to -O)
"make -f unix/makefile cygwin32" then builds cleanly.
... unzip 5.32 info ...
make two changes to unix/Makefile:
1) Find the "crc_gcc$O:" target, and add a new target after
it:
crc_cygwin$O: crc_i386.S # 32bit, GNU AS, Cygnus GNU-Win32
# B19/EGCS 1.0.2
$(CPP) crc_i386.S > _crc_i386.s
$(AS) -o crc_cygwin.o _crc_i386.s
rm -f _crc_i386.s
2) Find the 'gcc:' target, and add a new target after it:
Cygwin: unix_make $(MAKE) unzips CC=gcc LD=gcc \
CRC32=crc_cygwin CF="-O3 -I. $(LOC) -DUNIX \
-DDECLARE_TIMEZONE -DASM_CRC -DHAVE_TERMIOS_H \
-DDIRENT" LF2=""
"make -f unix/makefile cygwin32" then builds cleanly.
If you want support for encrypted zip files, you will need
to download the "live" crypt code "zcrypt27.zip", install it
(copy crypt.[ch] to your zip/unzip source dirs) and
recompile both sets of programs.
... both cases
Installation is easy:
"cp *.exe /usr/local/bin"
... and for zip's man page ...
"cp man/zip.1 /usr/local/man/man1"
*************************************************************
However, this port assumed that the drives/directories were
mounted in binary mode. As this is not necessarily the case on
every machine, it seemed to be useful to set all file i/o
manually to binary mode. This afforded the following source
modifications:
**zip************************************
tailor.h
========
#ifndef FOPR /* fallback default definitions for FOPR,
FOPM, FOPW: */
# define FOPR "rb" /* cygwin fix: added binary mode */
# define FOPM "r+b" /* cygwin fix: added binary mode */
# define FOPW "wb" /* cygwin fix: added binary mode */
#endif /* fallback definition */
zip.c
=====
local int get_filters(argc, argv)
int argc; /* number of tokens in command line */
char **argv; /* command line tokens */
/* Counts number of -i or -x patterns, sets patterns and
pcount */
{
int i;
int flag = 0, archive_seen = 0;
char *iname, *p = NULL;
FILE *fp;
pcount = 0;
for (i = 1; i < argc; i++) {
if (argv[i][0] == '-') {
if ((p = strrchr(argv[i], 'i')) != NULL ||
(p = strrchr(argv[i], 'x')) != NULL) {
flag = *p;
p = p[1] == '@' ? p + 2 : NULL;
if (p != NULL && patterns == NULL) {
fp = fopen(p, "rb"); /* cygwin fix: added binary
mode */
if (fp == NULL) {
ZIPERR(ZE_NAME, p);
}
while (fgets(errbuf, FNMAX, fp) != NULL)
pcount++;
fclose(fp);
}
} else if (strrchr(argv[i], 'R') != NULL) {
flag = 'R';
} else if (flag != 'R') {
flag = 0;
}
}
if (flag && archive_seen) {
if (patterns != NULL) {
if (p != NULL) {
fp = fopen(p, "rb"); /* cygwin fix: added binary
mode */
zipup.h
=======
#define fhow O_RDONLY|O_BINARY /* cygwin fix: added |O_BINARY */
**unzip**********************************
fileio.c
========
<fix>
int open_input_file(__G) /* return 1 if open failed */
__GDEF
{
/*
* open the zipfile for reading and in BINARY mode to prevent
* cr/lf translation, which would corrupt the bitstreams
*/
#if (defined(UNIX) || defined(TOPS20) || defined(AOS_VS) || \
defined(__BEOS__))
G.zipfd = open(G.zipfn, O_RDONLY|O_BINARY);
/* cygwin fix: added |O_BINARY */
unix.c
======
static void qlfix(__G__ ef_ptr, ef_len)
__GDEF
uch *ef_ptr;
unsigned ef_len;
{
<snip>
</snip>
if ((long)LG(dlen) > 0)
{
G.outfile = fopen(G.filename,FOPM);
/* cygwin fix: FOPM */
These modifications resulted in clean builds with
"make -f unix/makefile cygwin32".
- make install
no make, but:
"cp *.exe /usr/local/bin"
"cp man/zip.1 /usr/local/man/man1"
- notes
- does not depend on binary mounts
- package availability
- cygwin-zip22-unzip32.tar.gz, see:
- http://members.tripod.com/~mhoenicka/infozip.html
- contributed by
- hoenicka_markus@compuserve.com (Markus Hoenicka)
contents
contents
*Tk800.023*
---------
- what is it?
- Tk module for cygwin perl-5.6.1-3
- system
- windows NT4, with cygwin1.dll
- cygwin
- for 1.3.2
- build
- preliminaries
- unpack the source:
$ tar xvjf Tk800.023-src.tar.bz2
- $ cd Tk800.023
- patch from Eric Fifer is already applied in this
Tk800.023-src package
- configure for native Windows GUI calls
- $ perl Makefile.PL
- configure for X11 client libraries
- $ perl Makefile.PL x
- $ make
- $ make test
- $ make install
- *OR*
- unpack the source:
$ tar xvjf Tk800.023-src.tar.bz2
- $ cd Tk800.023/CYGWIN-PATCHES
- for build with native win GUI:
$ sh ./build-win.sh
- for build with X11 client libraries:
$ sh ./build-X11.sh
- to complete the install, execute the /usr/bin/add-package.sh
script. Execute it. It will append the package info
to /usr/lib/perl5/5.6.1/cygwin-multi/perllocal.pod
- notes
- this binary package is built for native windows GUI calls
- have fun!
- binary package availability
- on ftp.uni-erlangen.de
- in /pub/win32/develop/gnuwin32/cygwin/porters/Haase_Gerrit/1.3/perl
- as Tk800.023-1.tar.bz2
- patched source package availability
- on ftp.uni-erlangen.de
- in /pub/win32/develop/gnuwin32/cygwin/porters/Haase_Gerrit/1.3/perl
- as Tk800.023-src.tar.bz2
- contributed by
- gp@familiehaase.de (Gerrit P. Haase), 2001-09-07
contents
contents
*aalib*
-----
- what is it?
- a text mode replacement for svgalib
- system
- Win98, CDK 19 with latest coolview patches...
- Cygwin
- for B19
- preliminaries
- nope
- configure
- just run it...
- make
- see above
- make install
- just make sure that /usr/local/bin & lib exist...
- notes
- should install ncurses first for best effects
- package availability
- http://horac.ta.jcu.cz/aa/
- ftp://ftp.ta.jcu.cz/pub/aa/aalib-1.2.tar.gz
- contributed by
- joshuar@southmark.co.nz (josh robb)
contents
contents
unpack autoconf-2.13.tar.gz
cd autoconf-2.13
./configure
make
make install
/usr/local/bin/autoconf
/usr/local/bin/autoheader
/usr/local/binautoupdate
/usr/local/bin/ifnames
/usr/local/bin/autoscan
/usr/local/info/autoconf.info
/usr/local/info/standards.info
/usr/local/share/autoconf/*
contents
contents
Prerequisites:
autoconf
perl
unpack automake-1.4.tar.gz
cd automake-1.4
./configure
make
make check
make install
/usr/local/bin/automake
/usr/local/bin/aclocal
/usr/local/info/automake.info*
/usr/local/share/automake/*
/usr/local/share/aclocal/*
contents
contents
*automake-1.4 (Makefile generator)*
---------------------------------
- what is it?
- Automake is a tool for automatically generating `Makefile.in's from
files called `Makefile.am'.
- system
- tested it under NT 4
- Cygwin
- tested it with B20.1
- preliminaries
- to work it needs autoconf and perl, e.g. from
http://www.activestate.com/ActivePerl
- configure
- simply run it
- make
- check that MAKE_MODE=UNIX, then run it
- make install
- simply run it
- notes
- none
- package availability
- on prep.ai.mit.edu
- in /gnu/automake
- as automake-1.4.tar.gz
- contributed by
- van.woerkom@netcologne.de (Marc E.E. van Woerkom)
contents
contents
*GNU bc 1.05*
-----------
- what is it?
- bc - An arbitrary precision calculator language
- dc - an arbitrary precision calculator
- system
- Windows NT/95/98 with cygwin1.dll
- Cygwin
- for B20
- binary mounts only
- CYGWIN=[all one]
- preliminaries
- nothing to do.
- configure
- nothing to do.
- make
- nothing to do.
- make install
- nothing to do.
- notes
- In CYGWIN=notty mode, you must exit bc with the command `quit'
and dc with the command `q', because EOF (Ctrl-D) didn't work
in notty mode.
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Vinschen_Corinna/B20
- as bc-1.05.tar.gz
- contributed by
- Corinna@Vinschen.de (Corinna Vinschen)
contents
contents
Binutils README
by Chuck Wilson
Updated on 20010924
This document is just a place to keep track of various issues
related to the '--enable-auto-import' feature of recent
(20010802 and newer) binutils on cygwin. It is based on
the /usr/doc/Cygwin/binutils-20010802-1.README distributed
within cygwin's binutils-20010802-1.tar.gz package.
TOC:
BUGS/TODO (Auto-import)
0. default status of --enable-auto-import
1. FIXED. internal implementation details (pe_data_import_dll)
2. FIXED. memory leak
3. Danny Smith's esoteric bug report
4. Ralf Habacker's --export-whole-archive problem
KNOWN ISSUES (Auto-import)
0. What does "variable '<var>' can't be auto-imported" mean?
1. Can't link client with old DLL using --enable-auto-import.
2. Can't link client with Microsoft DLL using --enable-auto-import.
----------------------------------------------------
BUGS/TODO (Auto-import):
------------------------
0. make --enable-auto-export the default (uncomment line 176
in pe.em). The cygwin package now does this, but it
has not yet been submitted/accepted into the official
GNU binutils. We'll give this another month to simmer
before that.
1. FIXED. make pe_data_import_dll static?
No, used in both pe.em and pe-dll.c. In fact, it is
necessary to do it this way, if we want ld to build
properly for all pe targets (esp. multi-pe-target
builds). Nick Clifton came up with a way to do this
-- but it still requires that pe_data_import_dll be
defined/used in pe.em as well as declared/used in
pe-dll.c. See
http://sources.redhat.com/ml/binutils/2001-09/msg00429.html
as well as the enclosing thread.
2. FIXED. Ralf's bug report.
See http://sources.redhat.com/ml/binutils/2001-06/msg00742.html
synopsis: segfaults when xmalloc returns 0. Caused by
running out of heap space due to memory leak (which Ralf has
pinpointed).
3. Danny Smith reports an esoteric problem:
"I am still having some (sorry, one very specific) problem
with C++ and auto-import. It is with cerr, cin, cout in
the STLport of the SGI iostream lib. These are initialised
before main. When building dll with auto-export and using
auto-import to link (no dllimport attributes), I get
successful link, but runtime failure of app at initialisation
(before main). When building dll with --export-all, but
marking DATA with dllimport when compiling client, I get
successful link and run."
4. Ralf's "--export-whole-archive" problem with static libs:
http://sources.redhat.com/ml/cygwin/2001-07/msg01198.html
Question: how do you distinguish, automagically, between
static libs that *shouldn't* be exported, and static
"convenience" libs that *should* be exported? I think
this "problem" should be addressed at a higher level --
for a particular package: Makefile.am? Perhaps improvements
to the already-experimental robert-collins-libtool? Ralf's
suggestion of "--export-whole-archive" and "--no-whole-archive"
has possibilities, but it's really orthogonal to the question:
"Does auto-import work". (e.g. it's another feature, not an
improvement to THIS feature). Another possibility is to
extend the new table-based symbol exclusion list
(pe-dll.c(auto-export)) so that you can add patterns to those
tables from the command line. --exclude-symbols-from-library,
--exclude-symbols-from-object, --exclude-symbol-with-prefix,
--exclude-symbol-wiht-suffix (there already is an
--exclude-symbols option).
But again, this is a *different* problem, not specifically a
problem with auto-import itself.
KNOWN ISSUES (Auto-import)
--------------------------
These behaviors are not bugs. It's just "the way things are".
0. I get the following error message when I try to link:
"variable '<var>' can't be auto-imported. Please read the
documentation for ld's `--enable-auto-import' for details."
This message occurs when some (sub)expression accesses an address
ultimately given by the sum of two constants (Win32 import tables
only allow one). Instances where this may occur include accesses
to member fields of struct variables imported from a DLL, as well
as using a constant index into an array variable imported from a
DLL. Any multiword variable (arrays, structs, long long, etc) may
trigger this error condition. However, regardless of the exact
data type of the offending exported variable, ld will always
detect it, issue the warning, and exit.
There are several ways to address this difficulty, regardless of
the data type of the exported variable:
See 'info ld', Invocation::Options::--enable-auto-import for ideas
on how to deal with this problem (most often, you need to change
your DLL's code, and your client application's code).
Just to be clear, this "problem" is not limited to just arrays
and struct variables exported from a DLL. Any multi-word data
type *could* exhibit the problem -- but ld will catch them, and
report the problem with the message quoted above. Regardless of
the exact data type of the exported variable that triggers the
message, whether array or struct or long long or..., the
workarounds presented in the ld.info documentation will solve
the problem for you.
1. Situation:
DLL: built using an "old" version of ld. Has
__declspec(dllexport) decorators.
client: New client, does not use __declspec(dllimport)
Q: Why can't I link this client with this DLL? I'm using the
--enable-auto-import option...
A: Because the DLL doesn't export the correct thunking items
to allow this. Face it, if your library headers (which
declare function foo or variable baz) do not match the DLL,
then you're going to have problems -- whether the discrepancy
is "int foo()" vs. "char foo()" or "extern int foo()" vs.
"extern __declspec(dllimport) foo()". Clients and libs should
AGREE on definitions!
Ordinarily, you shouldn't have to worry about this -- if a
library's header was munged to support DLL's the "old way" --
that is, with appropriate defines so that __declspec(dllexport),
__declspec(dllimport), and "" all work properly -- then they
will continue to work. Just read that package's documentation.
Note also that even the "old" ld could do auto-import/export --
if the DLL in question (a) used a functional-only interface, no
data exports, (b) no overzealous porter (like me, csw) sprinkled
__declspec()'s around -- THEN you could build a client app
without __declspec's, too. However, this ONLY works for DLL's
written in C. Why? Because there aint no such animal as a C++
dll with a functional-only interface. C++ *has* to export data.
Classes ARE data.
2. Situation:
DLL: a standard, microsoft system DLL. Generated an import
library using dlltool, or used the import libs provided
in the w32api package
client: New client, accessing exported items in that DLL
but doesn't declare them with __declspec(dllimport).
Q: Why can't I link this client? I'm using the
--enable-auto-import option...
A: Because the DLL doesn't export the correct thunking items
to allow this -- it's an MS DLL! This is really the same
question as #1. However, at least with open-source DLL's,
it's possible (if not likely) that these old DLLs may, at
some point in the future, be recompiled to support
auto-import. However, I'll give you dollars to donuts that
MS DLL's will never support it. (Note that you CAN auto-import
*functions* from MS DLL's -- you've been able to do that for
several years. It's the DATA exports that are troublesome.)
So, you can cheat (use auto-import, be lazy with __declspec()
on DATA items, etc) IF and ONLY IF the dll was built by a new
ld. Since the official Microsoft dll's will never be built
that way, you'll aways be stuck with these windows-isms.
In other words, you need to "follow the __declspec rules" to
link with MS dlls and with "old-style" dlls that were built
with an "old" ld. Most of the time, you won't need to worry
about this; library maintainers and "platform distributors"
(like the main cygwin team, or the main w32api team, will
insure that the headers you include will use the __declspec
decorators when necessary. All you have to do is make sure
to #define the appropriate flags (if any) like -DZLIB_STATIC
on cygwin-zlib.
Unfortunately, there will never be a replacement for reading
the distribution documentation (or package documentation).
contents
contents
This is absolutely, totally, and completely unsupported.
No one will answer any questions about it. No one will
support a system that was installed using this method.
If it works, great. If not, also great. If it completely
destroys your system, it's your fault, not mine.
How to use:
- unpack bootstrap.zip using your favorite unzipper
- run "bootstrap.bat"
- you now have the core cygwin kernel installed but almost
nothing else. There's bash.exe, sh.exe and a few utilities,
but you'd better install some packages.
- the end.
You can also use "manual_install.bash" and "manual_uninstall.bash"
to add or remove cygwin packages.
What these scripts don't do:
they don't parse filename / version numbers exactly the same
as the official setup
they don't handle upgrades (you have to uninstall and then install)
-- which makes it difficult to upgrade the 'bash' package, for
instance. Ditto gzip, tar, bzip2, and cygwin itself.
you have to manually correct the /etc/setup/installed.db file; these
scripts will leave duplicate entries after a reinstall, and don't
remove uninstalled entries
you don't get a handy shortcut for starting cygwin
they do NOT understand prerequisites and dependencies -- it's even
possible for the postinstall scripts to fail because they aren't
"saved" until the end, and the postinstall script might call an
executable that hasn't yet been installed.
contents
contents
*bzip2*
-----
- what is it?
- block mode file compressor
- system
- NT 4 SP3
- preliminaries
- There are a few minor assumptions about _WIN32.
- tar xfz bzip2-0.9.0b.tar.gz
- cd bzip2-0.9.0b
- patch -p 0 <<end-of-file
--- bzip2.c.original Wed Sep 09 21:25:50 1998
+++ bzip2.c Mon Sep 14 17:00:01 1998
@@ -123,7 +123,8 @@
--*/
#define BZ_LCCWIN32 0
-#ifdef _WIN32
+/* CygWin32 is both UNIX and WIN32 - don't assume they are mutually exclusive. */
+#if defined(_WIN32) && !defined(__CYGWIN32__)
#define BZ_LCCWIN32 1
#define BZ_UNIX 0
#endif
--- bzlib.c.original Sun Aug 23 22:02:13 1998
+++ bzlib.c Mon Sep 14 17:00:05 1998
@@ -1288,7 +1288,8 @@
#ifndef BZ_NO_STDIO
/*---------------------------------------------------*/
-#if defined(_WIN32) || defined(OS2) || defined(MSDOS)
+/* This should use autoconf's STDC_HEADERS */
+#if defined(_WIN32) || defined(OS2) || defined(MSDOS) || defined(__CYGWIN32__)
# include <fcntl.h>
# include <io.h>
# define SET_BINARY_MODE(file) setmode(fileno(file),O_BINARY)
--- bzlib.h.original Sun Aug 30 22:21:14 1998
+++ bzlib.h Mon Sep 14 17:00:12 1998
@@ -103,7 +103,7 @@
#define BZ_EXPORT
#endif
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__CYGWIN32__)
# include <stdio.h>
# include <windows.h>
# ifdef small
--- dlltest.c.original Wed Jul 01 05:45:25 1998
+++ dlltest.c Mon Sep 14 17:00:15 1998
@@ -12,12 +12,12 @@
#include "bzlib.h"
#include <stdio.h>
#include <stdlib.h>
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__CYGWIN32__)
#include <io.h>
#endif
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__CYGWIN32__)
#include <windows.h>
static int BZ2DLLLoaded = 0;
@@ -64,7 +64,7 @@
int level = 9;
char *fn_r,*fn_w;
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__CYGWIN32__)
if(BZ2DLLLoadLibrary()<0){
puts("can't load dll");
exit(1);
@@ -157,7 +157,7 @@
if(fp_r!=stdin)fclose(fp_r);
}
}
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__CYGWIN32__)
BZ2DLLFreeLibrary();
#endif
}
end-of-file
- configure
- bzip doesn't have a ./configure :-(
- make
- just run make and watch the output
you need to eyeball the results of some comparisons
- make install
- # bzip doesn't have a "make install" :-(
- rm -f /usr/local/bin/bzip2*
- rm -f /usr/local/bin/bunzip2*
- rm -f /usr/local/bin/bzcat*
- rm -f /usr/man/man1/bzip2*
- cp -p bzip2.exe /usr/local/bin/
- cp -p bzip2recover.exe /usr/local/bin/
- cp -p bzip2.1.* /usr/man/man1/
- current_dir=`pwd`
- cd /usr/local/bin
- ln -s bzip2.exe bunzip2
- ln -s bzip2.exe bzcat
- cd $current_dir
- notes
- none
- package availability
- notes at http://www.digistar.com/bzip2/
- source at http://www.digistar.com/bzip2/bzip2-0.9.0b.tar.gz
- contributed by
- andrewd@axonet.com.au (Andrew Dalgleish)
contents
contents
unpack bzip2-0.9.5d.tar.gz
cd bzip2-0.9.5d
patch -p1 < ../bzip2-0.9.5d-cygwin-pre21.patch
make
make install PREFIX=/usr/local
contents
contents
*cmatrix-1.1*
-----------
- what is it?
- CMatrix shows a scrolling 'Matrix' like screen.
- system
- tested on NT4 and NT5, should work on 9x too.
- Cygwin
- tested on Cygwin 1.1.8
- preliminaries
- edit cmatrix.c and add the following include: #include<getopt.h>
- notes
- CMatrix, from Chris Allegretta.
Compile and install by typing:
./configure
make
make install
make clean
make distclean
- package availability
- on http://www.asty.org/cmatrix
- in dist/
- as cmatrix-1.1b.tar.gz
contents
contents
Prerequisite:
gdbm (be sure and install ndbm.h with 'make install-compat')
crypt (I used Andy Piper's MD5 implementation)
pr.exe must be in /bin (configure doesn't look for it; the make
file just *assumes* that it's there)
Optional:
perl - this only affects the scripts in the contrib directory.
First, the cvs configure script is broken; it won't find ndbm.h in
/usr/local/include, even if you explicitly set CFLAGS. So, we cheat.
cd /usr/i586-pc-cygwin32/include
(or wherever your compiler/system includes are located)
ln -s /usr/local/include/ndbm.h ndbm.h
cd /usr/local/src
unpack cvs-1.10.tar.gz
cd cvs-1.10
patch -p1 < ../cvs-1.10-1-cygwin1.1.patch
export CFLAGS=-I/usr/local/include
export LDFLAGS=-L/usr/local/lib
./configure
Then, edit src/options.h and comment out the "#define MY_NDBM"
./configure (again)
Edit src/options.h AGAIN and comment out the "#define MY_NDBM"
edit Makefile and add "-lgdbm" to the $(LIBS) variable.
make
make install
/usr/local/info/cvs*
/usr/local/bin/cvs
/usr/local/bin/cvsbug
/usr/local/man/man1/cvs.1
/usr/local/man/man5/cvs.5
/usr/local/man/man8/cvsbug.8
/usr/local/lib/cvs/contrib/README
/usr/local/lib/cvs/contrib/intro.doc
/usr/local/lib/cvs/contrib/cvscheck.man
/usr/local/lib/cvs/contrib/{perl scripts}
/usr/local/bin/rcs2log
pcl-cvs NOT installed (this one is 1.05, the one with XEmacs is 1.40)
contents
contents
Prerequisite:
gdbm (be sure and install ndbm.h by hand, it's not automatic)
crypt (I used Andy Piper's MD5 implementation)
pr.exe must be in /bin (configure doesn't look for it; the make
file just *assumes* that it's there)
Optional:
perl - this only affects the scripts in the contrib directory.
First, the cvs configure script is broken; it won't find ndbm.h in
/usr/local/include, even if you explicitly set CFLAGS. So, we cheat.
cd /usr/i586-pc-cygwin32/include
(or wherever your compiler/system includes are located)
ln -s /usr/local/include/ndbm.h ndbm.h
cd /usr/local/src
unpack cvs-1.10.tar.gz
cd cvs-1.10
export CFLAGS=-I/usr/local/include
export LDFLAGS=-L/usr/local/lib
./configure
Then, edit src/options.h and comment out the "#define MY_NDBM"
./configure (again)
Edit src/options.h AGAIN and comment out the "#define MY_NDBM"
edit Makefile and add "-lgdbm" to the $(LIBS) variable.
make
make install
/usr/local/info/cvs*
/usr/local/bin/cvs
/usr/local/bin/cvsbug
/usr/local/man/man1/cvs.1
/usr/local/man/man5/cvs.5
/usr/local/man/man8/cvsbug.8
/usr/local/lib/cvs/contrib/README
/usr/local/lib/cvs/contrib/intro.doc
/usr/local/lib/cvs/contrib/cvscheck.man
/usr/local/lib/cvs/contrib/{broken perl scripts}
/usr/local/bin/rcs2log
pcl-cvs NOT installed (this one is 1.05, the one with XEmacs is 1.40)
contents
contents
*cvs-1.10 (Concurrent Versions System)*
-------------------------------------
- what is it?
- CVS is a version control system. Using it, you can record the
history of your source files.
- system
- tested it with NT 4
- Cygwin
- tested it with B20.1
- preliminaries
- apply this patch to src/rcs.c:
--- snip ---
--- cvs-1.10/src/rcs.c.orig Fri Aug 07 02:38:28 1998
+++ cvs-1.10/src/rcs.c Wed Apr 28 16:19:24 1999
@@ -6991,7 +6991,7 @@
we define a deltafrag as an add or a delete) need to be applied
in reverse order. So we stick them into a linked list. */
struct deltafrag {
- enum {ADD, DELETE} type;
+ enum {ADD, DEL} type;
unsigned long pos;
unsigned long nlines;
const char *new_lines;
@@ -7060,7 +7060,7 @@
--df->pos;
assert (op == 'd');
- df->type = DELETE;
+ df->type = DEL;
}
}
@@ -7075,7 +7075,7 @@
df->pos))
return 0;
break;
- case DELETE:
+ case DEL:
if (df->pos > lines->nlines
|| df->pos + df->nlines > lines->nlines)
return 0;
--- snap ---
The patch is also available as file patch-aa
- configure
- just run it
- make
- check that MAKE_MODE=UNIX, then run it
- make install
- use the install script from the attachment, or
install the resulting cvs.exe manually
- notes
- tested it so far only for checkouts/updates from a
remote CVS server - commits, removals etc. are untested
- package availability
- on prep.ai.mit.edu
- in /gnu/cvs
- as cvs-1.10.tar.gz
- contributed by
- van.woerkom@netcologne.de (Marc E.E. van Woerkom)
contents
contents
This package was originally located here:
http://www.multione.capgemini.fr/tools/pack_ipc/
but the server has been inaccessible since early December 99.
I found a mirror here:
http://dods.jpl.nasa.gov/WinPort/portEnvSetup.html
ftp://podaac.jpl.nasa.gov/pub/users/rmorris/DodsWin32Port/cygwinB20IPC.tar.gz
but it was compiled for B20.1 and needed some fixups to compile
with Cygwin pre1.1 snapshots.
* ftok()
cribbed from the glibc-2.1.2 source
Anyway, you can unpack the binary distro from / into /usr/local/, or
compile it yourself. Just 'make' oughta do it.
--Chuck Wilson
contents
contents
This package was originally located here:
http://www.multione.capgemini.fr/tools/pack_ipc/
but the server has been inaccessible since early December 99.
I found a mirror here:
http://dods.jpl.nasa.gov/WinPort/portEnvSetup.html
ftp://podaac.jpl.nasa.gov/pub/users/rmorris/DodsWin32Port/cygwinB20IPC.tar.gz
but it was compiled for B20.1 and needed some fixups to compile
with Cygwin pre1.1 snapshots.
* ftok()
cribbed from the glibc-2.1.2 source
Anyway, you can unpack the binary distro from / into /usr/local/, or
compile it yourself. Just 'make' oughta do it.
--Chuck Wilson
contents
contents
This package was originally located here:
http://www.multione.capgemini.fr/tools/pack_ipc/
but the server has been inaccessible since early December 99.
I found a mirror here:
http://dods.jpl.nasa.gov/WinPort/portEnvSetup.html
ftp://podaac.jpl.nasa.gov/pub/users/rmorris/DodsWin32Port/cygwinB20IPC.tar.gz
but it was compiled for B20.1 and needed some fixups to compile
with Cygwin pre1.1 snapshots.
Anyway, you can unpack the binary distro from / into /usr/local/, or
compile it yourself. Just 'make' oughta do it.
--Chuck Wilson
Changelog
v1_05 open() file mode cleanups (csw)
v1_04 variable initialization cleanups (Danial Horak)
g++ cleanups (Eric Fifer)
v1_03-csw my initial release
added ftok() [ cribbed from the glibc-2.1.2 source ]
contents
contents
unpack db-2.7.7.tar.gz
cd db-2.7.7/
patch -p1 < ../db-2.7.7-cygwin-pre21.patch
CFLAGS=-I/usr/local/include LIBS=-L/usr/local/lib \
CPPFLAGS=-I/usr/include/g++-3 ../dist/configure \
--enable-cxx --enable-compat185 --enable-test --prefix=/usr/local \
--bindir=/usr/local/bin --includedir=/usr/local/include \
--libdir=/usr/local/lib --mandir=/usr/local/man
make
Install by hand; make install ignores config options
/usr/local/bin:
db_stat.exe db_printlog.exe db_recover.exe
db_dump.exe db_load.exe db_archive.exe
db_checkpoint.exe db_deadlock.exe dbtest.exe
/usr/local/lib
libdb.a
/usr/local/include
db.h db_185.h db_cxx.h
/usr/local/doc/BerkeleyDB/* <<<<< from <SRC>/doc/*
contents
contents
*df 2.2*
------
- what is it?
- Shows disk free space
- system
- Windows NT4, Windows 9X since OSR2 with cygwin1.dll
- Cygwin
- for B20
- binary and text mount
- CYGWIN=[all one]
- preliminaries
- nothing to do
- configure
- nothing to do
- make
- nothing to do
- make install
- nothing to do
- notes
- `df' uses the Windows function `GetDiskFreeSpaceEx()', which
gets disk space also for network paths (option -a) and the
user quota (option -c).
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin32/porters/Vinschen_Corinna/B20
- as df-2.2.tar.gz
- contributed by
- Corinna@Vinschen.de (Corinna Vinschen)
contents
contents
*dfspace 2.1*
-----------
- what is it?
- `dfspace' is an awk wrapper script around `df'
- system
- Windows NT4, Windows 2000, Linux
- Cygwin
- for each version containing df and awk
- preliminaries
- none
- configure
- not applicable
- make
- not applicable
- make install
- not applicable
- notes
- copy it in any directory, which is in your PATH
- rename it to dfspace
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Hirmke_Michael
- as dfspace-2.1
- contributed by
- Michael@Hirmke.de (Michael Hirmke)
contents
contents
*GNU ed 0.2*
------------
- what is it?
- Simple line editor
- system
- Windows NT/95/98 with cygwin1.dll
- Cygwin
- for B20
- binary mounts only
- CYGWIN=[all one]
- preliminaries
- nothing to do.
- configure
- nothing to do.
- make
- nothing to do.
- make install
- nothing to do.
- notes
- In B20.0, ed works better in CYGWIN=tty mode.
- In CYGWIN=notty mode, you must exit ed with the command `q',
because EOF (Ctrl-D) didn't work in notty mode.
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Vinschen_Corinna/B20
- as ed-0.2.tar.gz
- contributed by
- Corinna@Vinschen.de (Corinna Vinschen)
contents
contents
*eject 1.3*
---------
- what is it?
- Ejects removable media
- system
- Windows NT4, Windows 9X since OSR2 with cygwin1.dll
- Cygwin
- for B20
- binary and text mount
- CYGWIN=[all one]
- preliminaries
- Install changed file `Defines.h' into include/Windows32
(will be included into cygwin later)
- configure
- nothing to do
- make
- If you don't want `.exe' extension, change makefile variable `exeext'.
- make install
- If you don't want to install eject into /usr/local/bin, change
makefile variable `bindir'.
- notes
- eject ejects removable media (including tapes) from any device,
which supports physical removing media. In any other case, you'll
get a error message. If the device is in use by another application,
you'll get a message after around 10secs.
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Vinschen_Corinna/B20
- as eject-1.3.tar.gz
- contributed by
- Corinna@Vinschen.de (Corinna Vinschen)
contents
contents
Exim has been ported to Cygwin.
The patched sources and the binary can be
obtained by using Cygwin's setup program
available on http://www.cygwin.com
contents
contents
*f2c*
---
- what is it?
- A FORTRAN to C translator, including runtime libs for Cygwin
and MSVC++
- system
- Windows NT4
(Windows 9x not tested and not recommended.)
- Cygwin
- for B19
- preliminaries
- nothing.
- configure
- Doesn't apply to binary distribution.
- make
- see above.
- make install
- see above.
- notes
- To install just copy the f2c.h into your INCLUDE directories,
the Cygwin lib (*.a) where the linker can find it,
the MSVC++ lib (*.lib) into the LIB path,
and the f2c.exe into the PATH.
Further see the internal README.
Sources are available via anonymous FTP from:
netlib.bell-labs.com [204.178.16.2]
in directory /netlib/f2c
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Blank_Ingo
- as f2c-bin-cygwinb19.tar.gz
- contributed by
- iblank@hildesheim.sgh-net.de (Ingo Blank)
contents
contents
*fortune 1.4*
-----------
- what is it?
- Tells you worldly wisdoms :-)
- system
- UNIX, Windows, Windows NT/95/98 with cygwin1.dll, Macintosh, Atari ST
- Cygwin
- for B20
- binary mounts only
- CYGWIN=[all one]
- preliminaries
- nothing to do
- configure
- nothing to do
- make
- nothing to do
- make install
- nothing to do
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Vinschen_Corinna/B20
- as fortune-1.4.tar.gz
- contributed by
- Corinna@Vinschen.de (Corinna Vinschen)
contents
contents
*freeciv-1.7.1*
-------------
- what is it?
- a free Civilization clone for X
- system
- WinNT 4.0 SP3 with cygwin32 B19.3 (coolview) and egcs-1.1-cygwin32
- preliminaries
- patch the Makefiles for server and client using
'patch -p0 patchfile' where patchfile contains the following:
--- snip ---
*** client/Makefile.in Thu Sep 17 21:52:06 1998
--- client/Makefile.in.new Thu Sep 17 21:52:32 1998
***************
*** 64,70 ****
RANLIB = @RANLIB@
VERSION = @VERSION@
! bin_PROGRAMS = civclient
INCLUDES = -I $(srcdir)/../common -I $(srcdir)/../ai
BUILT_SOURCES = Freeciv.h
--- 64,70 ----
RANLIB = @RANLIB@
VERSION = @VERSION@
! bin_PROGRAMS = civclient.exe
INCLUDES = -I $(srcdir)/../common -I $(srcdir)/../ai
BUILT_SOURCES = Freeciv.h
***************
*** 225,232 ****
maintainer-clean-compile:
! civclient: $(civclient_OBJECTS) $(civclient_DEPENDENCIES)
! @rm -f civclient
$(LINK) $(civclient_LDFLAGS) $(civclient_OBJECTS) $(civclient_LDADD) $(LIBS)
tags: TAGS
--- 225,232 ----
maintainer-clean-compile:
! civclient.exe: $(civclient_OBJECTS) $(civclient_DEPENDENCIES)
! @rm -f civclient.exe
$(LINK) $(civclient_LDFLAGS) $(civclient_OBJECTS) $(civclient_LDADD) $(LIBS)
tags: TAGS
*** server/Makefile.in Thu Sep 17 21:50:39 1998
--- server/Makefile.in.new Thu Sep 17 21:53:33 1998
***************
*** 64,70 ****
RANLIB = @RANLIB@
VERSION = @VERSION@
! bin_PROGRAMS = civserver
INCLUDES = -I $(srcdir)/../common -I $(srcdir)/../ai
civserver_SOURCES = \
--- 64,70 ----
RANLIB = @RANLIB@
VERSION = @VERSION@
! bin_PROGRAMS = civserver.exe
INCLUDES = -I $(srcdir)/../common -I $(srcdir)/../ai
civserver_SOURCES = \
***************
*** 195,202 ****
maintainer-clean-compile:
! civserver: $(civserver_OBJECTS) $(civserver_DEPENDENCIES)
! @rm -f civserver
$(LINK) $(civserver_LDFLAGS) $(civserver_OBJECTS) $(civserver_LDADD) $(LIBS)
tags: TAGS
--- 195,202 ----
maintainer-clean-compile:
! civserver.exe: $(civserver_OBJECTS) $(civserver_DEPENDENCIES)
! @rm -f civserver.exe
$(LINK) $(civserver_LDFLAGS) $(civserver_OBJECTS) $(civserver_LDADD) $(LIBS)
tags: TAGS
--- snap ---
The file is also available via FTP as freeciv-1.7.1-cygwin32.diff.
- configure
- works without changes
- make
- works without changes
- make install
- works without changes
- notes
- visit www.freeciv.org for more documenation
- civclient tends to core-dump at a certain maximum shell environment
size or number of environment variables. Unfortunately there seems to
be no specific point when this limit is reached. So just try.
- this package was compiled with Arlindo da Silva's X11R6.3 but should
run with the other distributions of X11R6.3 and X11R6.4, too
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Weiser_Michael/B19
- as freeciv-1.7.1-cygwin32.tar.gz
- contributed by
- Michael Weiser <michael@weiser.saale-net.de>
contents
contents
*freeciv-1.8.0*
-------------
- what is it?
- a free Civilization clone for X
- system
- WinNT 4.0 SP3 with cygwin B20.1 and egcs-1.1.2
- preliminaries
- if you don't have Arlindo da Silva's X11R6.4 distribution for
b20 you'll need to separately install libXpm. If so get
xpm-3.4k-cygwin-b20-bin.tar.gz from the same directory as
this archive and install it or compile one yourself following
the instructions in xpm-3.4k-cygwin-b20-bin.README
- configure
- works without changes
- make
- works without changes
- make install
- works without changes
- notes
- visit www.freeciv.org for more documenation
- there's no patch needed for adding .exe to executable file
names if you use Michael Hirmke's install replacement.
Therefore there isn't one included anymore.
- this package was compiled with Arlindo da Silva's X11R6.4
binary distribution.
- also it's compiled for binary mounts and not tested with
nonbinary ones
- ignore the warnings about 'return type defaults to int' when
compiling civclient
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Weiser_Michael/B20
- as freeciv-1.8.0-cygwin-b20-bin.tar.gz
- contributed by
- Michael Weiser <michael@weiser.saale-net.de>
contents
contents
Note: this is the type of procedure I used for zlib,
libpng, libjpeg, libtiff, and libjbig. I have included
patch files when necessary for those other packages,
but not complete build instructions. Just play around
with it.
Prerequisites:
gettext
unpack freetype-1.3.tar.gz
cd freetype-1.3
patch -p1 < ../freetype-1.3-cygwin-pre21.patch
./configure --prefix=/usr/local --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
edit lib/arch/unix/makefile
add -DSTATIC to CFLAGS
make
stop the buile after libttf.a is created.
cd lib/.libs
mkdir tmp
cp libttf.a tmp
dlltool-def libttf.a --export-all-symbols --output-def libttf.def
cd tmp
ar x libttf.a
dllwrap *.o --def ../libttf.def -o ../libttf.dll -lm -lintl
cd ..
dlltool --def libttf.def --output-lib libttf.dll.a --dllname libttf.dll
rm -rf tmp
mv libttf.a libttf.static.a
ln -s libttf.dll.a libttf.a
cp libttf.dll /usr/local/bin
cd ../../test
rm *.exe
rm *.o
cd ..
make
cd test
strip *.exe
cp *.exe /usr/local/bin
cd ../lib
make -f arch/unix/Makefile install
cp .libs/libttf.dll.a /usr/local/lib
cp .libs/libttf.static.a /usr/local/lib
cp dl_import.h /usr/local/include
cd ../../po
make install
cd /usr/local/lib
rm libttf.a
ln -s libttf.dll.a libttf.a
cd /usr/local/include/freetype
ln -s ../dl_import.h dl_import.h
fix permissions by hand.
contents
contents
Prerequisites:
gettext
unpack freetype-1.3.tar.gz
cd freetype-1.3
./configure --prefix=/usr/local --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
make
cd lib
make -f arch/unix/Makefile install
/usr/local/lib/libttf.la
/usr/local/lib/libttf.a
/usr/local/include/freetype/*
cd ../po
make install
/usr/local/share/locale/de/LC_MESSAGES/freetype.mo
/usr/local/share/locale/fr/LC_MESSAGES/freetype.mo
/usr/local/share/locale/cs/LC_MESSAGES/freetype.mo
/usr/local/share/locale/nl/LC_MESSAGES/freetype.mo
/usr/local/share/locale/es/LC_MESSAGES/freetype.mo
cd ../test
strip *.exe
make -f arch/unix/Makefile install
/usr/local/bin/ftview.exe
/usr/local/bin/fttimer.exe
/usr/local/bin/ftlint.exe
/usr/local/bin/ftdump.exe
/usr/local/bin/ftzoom.exe
/usr/local/bin/ftsbit.exe
/usr/local/bin/ftstring.exe
/usr/local/bin/ftstrpnm.exe
/usr/local/bin/fterror.exe
/usr/local/bin/ftmetric.exe
/usr/local/bin/ftstrtto.exe
contents
contents
*fsap*
----
- what is it?
- The Fristensky (Cornell) sequence analysis package. Another
tool to fiddle around with nucleic acid sequences.
- system
- Windows NT4, sp3
- Cygwin
- for B20.1, text or binary mount
- preliminaries
- sources are from:
http://home.cc.umanitoba.ca/~psgendb/FSAP.html
- /usr/local/bin should exist on your system
- configure
- none
- make
- use the src.c subdirectory (src contains Pascal code)
apply the following patch to Makefile:
--- Makefile.orig Thu Feb 02 18:09:56 1995
+++ Makefile Thu Aug 19 16:47:35 1999
@@ -5,14 +5,15 @@
INCLIB = .
LDLIB = .
LIBOBJS = p2clib.o
-#CC= gcc
+CC= gcc
#CC= xlc
-CC= cc
-CFLAGS= -O -L$(LDLIB) -lp2c -lm -I$(INCLIB)
+#CC= cc
+CFLAGS= -O -s -L$(LDLIB) -lp2c -lm -I$(INCLIB)
LFLAGS= -c
-PROGS= bachrest d3hom d4hom digest funnel gel intrest numseq\
- p1hom p2hom prostat testcode
+PROGS= bachrest.exe d3hom.exe d4hom.exe digest.exe funnel.exe gel.exe\
+ intrest.exe numseq.exe\
+ p1hom.exe p2hom.exe prostat.exe testcode.exe
all : libp2c.a $(PROGS)
@@ -33,47 +34,47 @@
# ranlib libp2c.a
# Making the programs
-bachrest :
+bachrest.exe :
$(CC) bachrest.c $(CFLAGS) -o bachrest
-comp :
+comp.exe :
$(CC) comp.c $(CFLAGS) -o comp
-d3hom :
+d3hom.exe :
$(CC) d3hom.c $(CFLAGS) -o d3hom
-d4hom :
+d4hom.exe :
$(CC) d4hom.c $(CFLAGS) -o d4hom
-digest :
+digest.exe :
$(CC) digest.c $(CFLAGS) -o digest
-funnel :
+funnel.exe :
$(CC) funnel.c $(CFLAGS) -o funnel
-gel :
+gel.exe :
$(CC) gel.c $(CFLAGS) -o gel
-intrest :
+intrest.exe :
$(CC) intrest.c $(CFLAGS) -o intrest
-map :
+map.exe :
$(CC) map.c $(CFLAGS) -o map
-numseq :
+numseq.exe :
$(CC) numseq.c $(CFLAGS) -o numseq
-p1hom :
+p1hom.exe :
$(CC) p1hom.c $(CFLAGS) -o p1hom
-p2hom :
+p2hom.exe :
$(CC) p2hom.c $(CFLAGS) -o p2hom
-prostat :
+prostat.exe :
$(CC) prostat.c $(CFLAGS) -o prostat
-testcode :
+testcode.exe :
$(CC) testcode.c $(CFLAGS) -o testcode
-testreal :
+testreal.exe :
$(CC) testreal.c $(CFLAGS) -o testreal
funnel.c contains a bug that will cause the CygWin port of funnel
to crash (there is no problem on Linux, though). Apply the following
patch to funnel.c:
--- funnel.c.orig Fri Nov 04 20:24:10 1994
+++ funnel.c Fri Aug 20 08:56:00 1999
@@ -24,7 +24,7 @@
#define VERSION "FUNNEL Version 5/13/91"
#define MAXWORD 25
-#define MAXLINE 10000
+#define MAXLINE 256
/* BEGIN MODULE INTLIMITS */
- make install
- just run make install
- notes
- none
- package availability
- http://members.tripod.com/~mhoenicka/fsap.html
- contributed by
- hoenicka_markus@compuserve.com (Markus Hoenicka)
contents
contents
*gcal-1.00*
---------
- what is it?
- GNU version of BSD 'cal'. Calandar program with many more features
than traditional 'cal'.
- system
- Windows NT4, sp3
- preliminaries
- none
- configure
- works without changes. Accepts several command-level arguements.
- good configuration for U.S. users:
"./configure --enable-feature=1+5+6"
- make
- works without changes
- make install
- will fail without install patch. (problem with .exe)
- install manually (from build root):
- cp gcal.exe /usr/local/bin
- cd doc/man
- cp gcal-us.1 /usr/local/man/man1
(or gcal-de.1, depending on language)
- notes
- Works fine without termcap, but looks for it during make.
Might be better if termcap is installed prior to building
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Buchanan_Steve
- as gcal-1.00-us-binary.tar.gz
- contributed by
- stephenbuchanan@sungardebs.com (Steve Buchanan)
contents
contents
*gcc-arm-e.zip*
-------------
- what is it?
- This is a cross-tools package for the Advanced Risc Machines ARM and
DEC (Compaq) StrongARM embedded processors. Compiled from egcs-1.1
sources.
- system
- The tools should work under WinNT3.51, NT4, Win95 and Win98
- Cygwin
- for B19
- preliminaries
- It could help if the native Cygwin32 tools are already installed,
providing 'bash', 'make', etc. tools missing from this package.
But the default search paths are those for a default gcc-install,
not using the '/Cygnus/B19/H-i386-cygwin32/' path.
- notes
- The tools were built under Linux using a gcc-2.8.1 cygwin32-target
cross-compiler and a egcs-1.1 arm-coff target cross-compiler to
compile the libraries.
- The 'gcc-util.zip', which contains the GDB tcl-scripts, 'make', 'mount',
tcl/tk/tix dll's etc. is needed if the Cygwin b19 distribution isn't
installed to get the GDB-GUI work . You will get quite the same-looking
GDB-GUI as the one coming with the Cygnus 'cdk.exe'. GDB has a built-in
simulator (activated with 'target sim'). There is also a 'standalone'
simulator, 'run-arm.exe', which can be used to run compiled & linked
programs from the command line ('run-arm <program_name>').
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Ruottu_Kai
- as gcc-arm-e.zip
- contributed by
- karuottu@freenet.hut.fi (Kai Ruottu)
contents
contents
*gcc-h83-e.zip*
-------------
- what is it?
- This is a cross-tools package for the Hitachi H8/300, H8/300H and
H8/S embedded processors. Compiled from egcs-1.1 sources.
- system
- The tools should work under WinNT3.51, NT4, Win95 and Win98
- Cygwin
- for B19
- preliminaries
- It could help if the native Cygwin32 tools are already installed,
providing 'bash', 'make', etc. tools missing from this package.
But the default search paths are those for a default gcc-install,
not using the '/Cygnus/B19/H-i386-cygwin32/' path.
- notes
- The tools were built under Linux using a gcc-2.8.1 cygwin32-target
cross-compiler and a gcc-2.8.1 h8300-hms target cross-compiler to
compile the libraries.
- The 'gcc-util.zip', which contains the GDB tcl-scripts, 'make', 'mount'
tcl/tk/tix dll's etc. is needed if the Cygwin b19 distribution isn't
installed to get the GDB-GUI work . You will get quite the same-looking
GDB-GUI as the one coming with the Cygnus 'cdk.exe'. GDB has a built-in
simulator (activated with 'target sim'). There is also a 'standalone'
simulator, 'run-h8300.exe', which can be used to run compiled & linked
programs from the command line ('run-h8300 <program_name>').
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Ruottu_Kai
- as gcc-h83-e.zip
- contributed by
- karuottu@freenet.hut.fi (Kai Ruottu)
contents
contents
*gcc-h83.zip and gdbtcl.zip*
--------------------------
- what is it?
- This is a cross-tools package for the Hitachi H8/300, H8/300H and
H8/S embedded processors.
- system
- The tools should work under WinNT3.51, NT4, Win95 and Win98
- Cygwin
- for B19
- preliminaries
- It could help if the native Cygwin32 tools are already installed,
providing 'bash', 'make', etc. tools missing from this package.
But the default search paths are those for a 'normal' gcc-install,
not using the long '/usr/H-i386-cygwin32/' paths.
- notes
- The tools were built under Linux using a gcc-2.8.1 cygwin32-target
cross-compiler and a gcc-2.8.1 h8300-hms target cross-compiler to
compile the libraries.
The 'gdbtcl.zip' contains the GDB tcl-scripts etc., which I forgot
to include into the 'gcc-h83.zip'. With this, and the GDB-parts in
'gdb-h83.zip' you'll get quite the same looking GDB-GUI as comes
with the Cygnus 'cdk.exe'. GDB has a built-in simulator (activated
with 'target sim'), which has been patched to output all the stuff
going to 'stdout' to the console window -- the original gdb-4.17.1
simulator outputted to the GDB-command window (if this wasn't a
bug, please inform me...). There is a 'standalone' simulator,
'run-h8300.exe', which can be used to run compiled & linked
programs from the command line ('run-h8300 <program_name>').
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Ruottu_Kai
- as gcc-h83.zip, gdbtcl.zip
- contributed by
- karuottu@freenet.hut.fi (Kai Ruottu)
contents
contents
*gcc-sh-e.zip*
-------------
- what is it?
- This is a cross-tools package for the Hitachi 32-bit SuperH embedded
processors. Compiled from egcs-1.1 sources.
- system
- The tools should work under WinNT3.51, NT4, Win95 and Win98
- Cygwin
- for B19
- preliminaries
- It could help if the native Cygwin32 tools are already installed,
providing 'bash', 'make', etc. tools missing from this package.
But the default search paths are those for a default gcc-install,
not using the '/Cygnus/B19/H-i386-cygwin32/' path.
- notes
- The tools were built under Linux using a gcc-2.8.1 cygwin32-target
cross-compiler and a gcc-2.8.1 sh-hms target cross-compiler to
compile the libraries.
- The 'gcc-util.zip', which contains the GDB tcl-scripts, 'make', 'mount'
tcl/tk/tix dll's etc. is needed if the Cygwin b19 distribution isn't
installed to get the GDB-GUI work . You will get quite the same-looking
GDB-GUI as the one coming with the Cygnus 'cdk.exe'. GDB has a built-in
simulator (activated with 'target sim'). There is also a 'standalone'
simulator, 'run-sh-hms.exe', which can be used to run compiled & linked
programs from the command line ('run-sh-hms <program_name>').
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Ruottu_Kai
- as gcc-sh-e.zip
- contributed by
- karuottu@freenet.hut.fi (Kai Ruottu)
contents
contents
unpack gdbm-1.8.0.tar.gz
cd gdbm-1.8.0
patch -p1 < ../gdbm-1.8.0-1-cygwin1.1.patch
./configure
make
make install
/usr/local/include/gdbm.h
/usr/local/info/gdbm.info
/usr/local/lib/libgdbm.la
/usr/local/lib/libgdbm.a
/usr/local/man/man3/gdbm.3
Then, install dbm.h and ndbm.h:
make install-compat
/usr/local/include/dbm.h
/usr/local/include/ndbm.h
contents
contents
unpack gdbm-1.8.0.tar.gz
cd gdbm-1.8.0
./configure
make
make install
/usr/local/include/gdbm.h
/usr/local/info/gdbm.info
/usr/local/lib/libgdbm.la
/usr/local/lib/libgdbm.a
/usr/local/man/man3/gdbm.3
Then, install dbm.h and ndbm.h by hand:
install -c -m 0644 dbm.h /usr/local/include/dbm.h
install -c -m 0644 ndbm.h /usr/local/include/ndbm.h
contents
contents
unpack texinfo-3.12.tar.gz
cd texinfo-3.12
./configure
cd intl
make
cd ../lib
make
cd ../makeinfo
make
cp makeinfo.exe /usr/local/bin
cd /usr/local/src
unpack gettext-0.10.35.tar.gz
cd gettext-0.10.35
./configure --with-included-gettext --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
make aliaspath='/usr/local/share/locale:/usr/X11R6/lib/X11/locale'
make check
make install
/usr/local/info/gettext.info*
/usr/local/include/libintl.h
/usr/local/lib/libintl.a
/usr/local/share/gettext/*
/usr/local/bin/gettext.exe
/usr/local/bin/msgcmp.exe
/usr/local/bin/msgfmt.exe
/usr/local/bin/msgmerge.exe
/usr/local/bin/msgunfmt.exe
/usr/local/bin/xgettext.exe
/usr/local/bin/msgcomm.exe
/usr/local/share/locale/*
/usr/local/share/aclocal/*
/usr/local/bin/gettextize
contents
contents
*ghostview-1.5*
-------------
- what is it?
- Ghostview offers you an X11 GUI for viewing PostScript files.
This is an X11 interface to ghostscript.
- system
- ???
- Cygwin
- for B19
- 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)
contents
contents
*glaux.lib*
----------
- what is it?
- Implementation of the most importent functions of the glaux.lib
- system
- tested on Windows NT4
- Cygwin
- for Cygwin 20.1 and MinGw 2.95.2
- preliminaries
- source code is included in the zip-file
- configure
- not needed
- make
- not needed
- make install
- not needed
- notes
- This is a small basis for further developing.
There is no glaux.lib in MinGw and CygWin.
I have written the Libs at first to understand the glaux.lib
comming with Visual C++. Now find it usefull to use it under MinGw.
There are two static libraries "libTk.a" and "libAux.a". Simply
link them with the object-files of your application.
Included is a library (first.lib)to manage a small auxillary
window for writing text from the application and the library.
At this time there two source-code-examples with Makefiles included.
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Fusz_Georg
- as glaux.zip
- contributed by
- fusz@cadlab.tu-berlin.de (Georg Fusz)
contents
contents
*GNuplot-3.7*
--------------
- what is it?
- A x windows plotting package
- system
- Tested on Win98, should work on 95, NT, 2000
- for Cygwin 1.1
- preliminaries
- Download Gnuplot-3.7-cygwin1.1.tar.gz
- tar zxvf Gnuplot-3.7-cygwin1.1.tar.gx --dir=/
- The package will install in /usr/local/bin
- configure
- Not relivent for a binary
- make
- Not relivent for a binary
- make install
- Not relivent for a binary
- notes
- package availability
- on ftp.uni-erlangen.de
- contributed by
- tomcw@localnet.com Tom Weichmann
contents
contents
The executables in this binary kit were installed without stripping
the debug info. You could save about 1.5M by running 'strip *.exe' on
the groff files in usr/local/bin.
unpack groff-1.11.1.tar.gz
cd groff-1.11.1
rm config.cache
./configure --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
make
make install
/usr/local/share/groff/*
into /usr/local/bin:
groff.exe troff.exe tbl.exe pic.exe
eqn.exe neqn grops.exe grotty.exe
grodvi.exe tfmtodit.exe grolj4.exe hpftodit.exe
refer.exe lookbib.exe indxbib.exe lkbib.exe
soelim.exe addftinfo.exe pfbtops.exe psbb.exe
afmtodit grog nroff
into /usr/local/man/man1
groff.1 troff.1 tbl.1 pic.1
eqn.1 grops.1 grotty.1 grodvi.1
tfmtodit.1 grolj4.1 hpftodit.1 refer.1
lookbib.1 indxbib.1 lkbib.1 soelim.1
addftinfo.1 pfbtops.1 psbb.1 afmtodit.1
grog.1 nroff.1
into /usr/local/man/man5
groff_font.5 groff_out.5
into /usr/local/man/man7
groff_char.7 groff_ms.7 me.7 msafer.7
groff_mm.7 groff_mmse.7
The precompiled version doesn't contain the following, because they
didn't seem to work on my machine...
cd xditview
xmkmf
make depend
make
install -c -m 0755 gxditview.exe /usr/local/bin/gxditview.exe
install -c -m 0644 gxditview.man /usr/local/man/man1/gxditview.1x
install -c -m 0755 xtotroff.exe /usr/local/bin/xtotroff.exe
contents
contents
*htdig 3.1.0b4*
-------------
- what is it?
- htdig is a web site indexing and search tool
(see http://www.htdig.org)
- system
- Windows NT4
- Cygwin
- B20
- preliminaries
- requires tsort (not included in B20; why?)
- configure
- no changes
- make
- no changes
- make install
- install wrapper script
- notes
- none
- package availability
- on http://www.htdig.org
- in see "Where to get it" section
- as htdig-3.1.0b4.tar.gz
- contributed by
- k.m@gmx.net (Klaus Mueller)
contents
contents
*ht://Dig 3.1.5*
--------------
- what is it?
- WWW Search Engine Software
The ht://Dig system is a complete world wide web indexing and
searching system for a domain or intranet. This system is *not*
meant to *replace* the need for powerful *internet-wide* search
systems like Lycos, Infoseek, Google and AltaVista. Instead it
is meant to cover the search needs for a single company, campus,
or even a particular sub section of a web site.
Look at http://www.htdig.org for more information please.
- system
- Win32
- cygwin
- requires cygwin1.dll (actual is version 1.1.8) *AND* cygz.dll
- running the binaries
- setup your Win32-PATH to include x:/cygwin/bin (or where
cygwin1.dll is), so you could modify the htdig_merge.bat file i
included with the binaries and run it from explorer with a
double-click (recommended), *OR* copy cygwin1.dll and cygz.dll to
c:/programme/htdig/bin *AND* to c:/programme/apache/cgi-bin (NOT
recommended)
- edit your C:\programme\htdig\conf\htdig.conf file according to
your needs and test whether htdig.exe works.
If it does, and if it makes a set of database files in
...\htdig\db\ then test whether htmerge.exe runs.
Finally, test whether your HTML search form can query the
resultant database successfully.
(For all of these tests, check out how to use the batch-file:
...\htdig\bin\htdig_merge.bat).
- building from source
- preliminaries
- get the source package
- htdig-3.1.5.tar.gz
it can be found
- on ftp://ftp.htdig.org
- in /pub/htdig/
- as htdig-3.1.5.tar.gz
- if there is no source anymore, it should be in this directory
at ftp.uni-erlangen.de as htdig-3.15-src.tar.gz
(this README included)
- unpack the package in bash-shell, *not with winzip*
$ tar xvzf htdig-3.1.5.tar.gz
$ cd htdig-3.1.5
- configure
- $ ./configure prefix=c:/programme/htdig 2>&1 | tee log.configure
- make
- now, in the same directory, find the file CONFIG and edit it,
it should fit your web-server installation, for me it is:
CGIBIN_DIR= c:/programme/apache/cgi-bin
IMAGE_DIR= c:/programme/apache/htdocs/htdig
IMAGE_URL_PREFIX= /htdocs/htdig
SEARCH_DIR= c:/programme/apache/htdocs/
- edit these files:
- file 1 --- /htmerge/Makefile
LOCAL_DEFINES= -DSORT_PROG=\"/usr/bin/sort\"
becomes
LOCAL_DEFINES= -DSORT_PROG=\"c:/programme/htdig/bin/sort.exe\"
or leave it at x:\cygwin\bin if the dir is in win32-PATH and
change the line to:
LOCAL_DEFINES= -DSORT_PROG=\"x:/cygwin/bin/sort.exe\"
(so that you don't forget it later, now is a good time to
copy sort.exe from your /cygwin/bin installation into this
c:/programme/htdig/bin/ folder!)
- file 2 --- /htdig/ExternalParser.cc
String path = getenv("TMPDIR");
if (path.length() == 0)
path = "/tmp";
path << "/htdext." << getpid();
FILE *fl = fopen(path, "w");
becomes:
String path = getenv("TMPDIR");
if (path.length() == 0)
path = "c:/temp";
path << "/htdext." << getpid();
FILE *fl = fopen(path, "wb");
[ the extra 'b' above apparently specifies that PDF files
should be downloaded in binary mode, to avoid file
corruption ]
- now run make
$ make 2>&1 | tee log.make
- make install
- $ make install-strip 2>&1 | tee log.install
- notes
- setup your Win32-PATH to include x:/cygwin/bin (or where
cygwin1.dll is), so you could modify the htdig_merge.bat file i
included with the binaries and run it from explorer with a
double-click (recommended), *OR* copy cygwin1.dll and cygz.dll to
c:/programme/htdig/bin *AND* to c:/programme/apache/cgi-bin (NOT
recommended)
- after install, i copied the complete /contrib dir to
c:/programme/htdig
- you could run ht://Dig from a batch file, which should be in the
.../htdig/bin - directory with the binaries:
rem - htdig_merge.bat -
set TMPDIR=C:\TEMP
htdig.exe -c ../conf/htdig.conf -v >log.makeindex
htmerge.exe -vvv -c ../conf/htdig.conf >>log.makeindex
- to get .pdf-files indexed, xpdf is needed (*AND* Perl):
http://www.foolabs.com/xpdf/xpdf.html
- Another guide for installing on Win32 can accessed here:
ftp://ftp.htdig.org/pub/htdig/contrib/guides/Installing_on_Win32.html
- bugs - glitches
(from 'Idiot's Guide to installing ht://dig on Win32' (see URL
above) with kind permisson of Jim Kerslake
<jimkerslake@totalise.co.uk>)
- htdig bombs out during indexing, with "no server running"
messages: On a fast machine, particularly if you are running
htdig to index a site hosted from that same server, it seems as
if htdig's rate of page requests can overwhelm the number of
available web server processes
- i.e. the server gets swamped with htdig's rate of page
requests.
Try using a 'local_urls' specification in the config file, to
point ht://dig at the local HTML files (instead of retrieving
them via the web server). ->
http://www.htdig.org/attrs.html#local_urls
The problem disappears if you are indexing lots of big slow
external sites at the same time as your local one.
- form input glitch
If you have indexed multiple sites [www.abc.com; www.def.com;
www.ghi.com] and want to build a form which uses "restrict" to
allow searching to be limited to one or all of these sites:
<select name="restrict">
<option value="abc.com"> search abc.com
<option value="def.com"> search def.com
<option value="ghi.com"> search ghi.com
<option value="">search the whole lot
</select>
then I find that the last value, restrict="", gives incorrect
buggy results.
I don't know whether or not this is NT-specific.
I get around it by:
<option value="/">search the whole lot
- package availability (binaries)
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.1
- as htdig-3.15-cygwin-1.1.8.tar.gz
- package availability (sources)
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.1
- as htdig-3.15-src.tar.gz (this README is included)
- contributed by
- gerrit.haase@t-online.de (Gerrit Peter Haase) 2001-03-05
contents
contents
unpack inetutils-1.3.2.tar.gz
cd inetutils-1.3.2
patch -p1 < ../inetutils-1.3.2-cygwin-pre21.patch
export LDFLAGS=-L/usr/local/lib
export CFLAGS=
cd /usr/local/include
mv crypt.h crypt-old.h (to insure that inetutils' crypt.h is used)
cd /usr/local/src/inetutils-1.3.2
./configure --with-ncurses-include-dir=/usr/local/include
make
edit Makefiles in rsh, rlogin, rcp directories:
change INST_PROG_FLAGS={various flags} to
INST_PROG_FLAGS=
edit Makefile in syslog directory: change the ln line for looger:
$(bindir)/logger: $(bindir)/syslog
$(RM) -f $@
- ln $< $@
+ ln -s $<.exe $@
make install
contents
contents
*ispell 3.2.06 and spell 1.0*
---------------------------
- what is it?
- The ispell program is an interactive multilanguage spelling
program. It can easily be used from Emacs.
FOR MORE INFORMATION, SEE
http://fmg-www.cs.ucla.edu/geoff/ispell.html
********************************************
- Gnu spell is a non-interactive interface to ispell.
- The package comes with mid-size English/American and British
dictionaries.
Dictionaries for other languages are widely available, see
the ispell site mentioned above.
- Special ispell features:
This executable supports 8 bits character sets and it is
compiled with MASKBITS = 64, as required by some languages.
By popular demand the optional environment variable DICTDIR is used
to find the location of dictionaries (see LIBDIR below).
- if you simply want to install the binary and the documentation,
untar ispell-3.2-cygwin-1.3-bin.tar.gz in /
NOTE: "/" is the root of the Cygwin hierarchy, typically c:\cygwin
Missing this step is the most frequent source of problems.
Verify your installation by typing in the Cygwin bash shell
ls -l /usr/local/lib
The command should list the dictionaries.
If you do not use the Cygwin hierarchy. you can place the
executables in any directory on your PATH and set the environment
variable DICTDIR to the pathname (in Unix format) of the directory
containing the dictionaries. In the Cygwin bash shell, type
ls -l $DICTDIR
to verify that DICTDIR is set correctly. The command should list
the dictionaries.
ispell uses the HOME environment variable to locate the personal
dictionaries.
Environment variables (such as PATH, DICTDIR, HOME) can be set in
the autoexec.bat file in Win95, Win98 and WinME (need to reboot),
or by right clicking "My Computer" in Windows NT and Windows 2000.
If you want to recompile the program, here is how I did it.
- system
- Windows 98
- Cygwin
- Up to date as of Aug 15, 2001
- text mount
- CYGWIN not defined
- preliminaries
- If you want to strip the executables, rename the "strip.sh"
provided in ./.. as "strip" and place it on your PATH before strip.exe
- Get spell from ftp://prep.ai.mit.edu/gnu/spell/
- Get ispell-3.2.06.tar.gz from
http://fmg-www.cs.ucla.edu/geoff/ispell.html
- spell: edit str.c to remove a bug
diff str.c.old str.c
225c225
< nstr[pos + 1] = 0;
---
> nstr[pos] = 0;
- ispell:
- Edit ispell.c. Add "setmode(0,O_TEXT);" in main(), to make the
-a option work with files containing \r on a binary mounted system.
- Create local.h from local.h.samp. The following worked for me:
diff -w local.h.samp local.h
96,97d95
< #define NO8BIT /* Remove this if you use ISO character sets */
< #undef USG /* Define on System V or if term.c won't compile */
100a99,111
> #include <fcntl.h>
> #define fopen myfopen
> #define LIBES "myfopen.o"
> #define USG /* Define this on System V */
> #define CC "gcc"
> #define CFLAGS "-O -ansi"
> #define YACC "byacc"
> #define INSTALL "install"
> #define MASKBITS 64 /* Needed by some languages */
> #define LANGUAGES "{american,MASTERDICTS=american.med,HASHFILES=americanmed.ha
sh}{british,MASTERDICTS=british.med,HASHFILES=britishmed.hash}"
> #define MASTERHASH "american.hash"
> #define HAS_RENAME
>
105c116
< #define LIBDIR "/usr/local/lib"
---
> #define LIBDIR (getenv("DICTDIR")?getenv("DICTDIR"):"/usr/local/lib")
- create and "gcc -c -O myfopen.c", the file myfopen.c
/* myfopen.c Pierre A. Humblet June 8, 2001
Replacement for fopen,
opening read files in text mode by default, even on binary mounts. */
#include <stdio.h>
#include <io.h>
#include <fcntl.h>
FILE * myfopen(char * name, char * mode) {
FILE * fp;
(fp = fopen(name, mode)) &&
strchr(mode,'r') &&
!strchr(mode,'b') &&
setmode(fileno(fp),O_TEXT);
return fp;
}
- ./configure
- spell: no problem
- ispell: not applicable
- make
No problem
- make install
No problem
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Humblet_Pierre_A/V1.1
- as ispell-3.2.06-cygwin-1.3-bin.tar.gz
- contributed by
- pierre.humblet@ieee.org (Pierre A. Humblet)
contents
contents
unpack jbigkit-1.0.tar.gz
cd jbigkit
make
MAKE will fail trying to create a text file from the man page; ignore it.
make test
cd libjbig
cp libjbig.a /usr/local/lib
ranlib /usr/local/lib/libjbig.a
chmod 644 /usr/local/lib/libjbig.a
cp jbig.h /usr/local/include
chmod 644 /usr/local/include/jbig.h
cd ../pbmtools
strip *.exe
cp jbgtopbm.exe /usr/local/bin
cp pbmtojbg.exe /usr/local/bin
chmod 755 /usr/local/bin/jbgtopbm.exe
chmod 755 /usr/local/bin/pbmtojbg.exe
cp pbm.5 /usr/local/man/man5/pbm.5
cp pgm.5 /usr/local/man/man5/pgm.5
chmod 644 /usr/local/man/man5/pbm.5
chmod 644 /usr/local/man/man5/pgm.5
cp jbgtopbm.1 /usr/local/man/man1/jbgtopbm.1
cp pbmtojbg.1 /usr/local/man/man1/pbmtojbg.1
chmod 644 /usr/local/man/man1/jbgtopbm.1
chmod 644 /usr/local/man/man1/pbmtojbg.1
contents
contents
unpack jbigkit-1.0.tar.gz
cd jbigkit
make
MAKE will fail trying to create a text file from the man page; ignore it.
cd pbmtools
rm *.exe
cd ../libjbig
mkdir tmp
cp libjbig.a tmp
dlltool-def libjbig.a --export-all-symbols --output-def libjbig.def
cd tmp
ar x libjbig.a
dllwrap *.o --def ../libjbig.def -o ../libjbig.dll
rm *
cd ..
rmdir tmp
mv libjbig.a libjbig.static.a
dlltool --def libjbig.def --output-lib libjbig.dll.a
ln -s libjbig.dll.a libjbig.a
cp libjbig.dll /usr/local/bin
chmod 755 /usr/local/bin/libjbig.dll
make (again)
make test
cd libjbig
cp libjbig.static.a /usr/local/lib
ranlib /usr/local/lib/libjbig.static.a
chmod 644 /usr/local/lib/libjbig.static.a
cp libjbig.dll.a /usr/local/lib
chmod 644 /usr/local/lib/libjbig.dll.a
cp jbig.h /usr/local/include
chmod 644 /usr/local/include/jbig.h
cd ../pbmtools
strip *.exe
cp jbgtopbm.exe /usr/local/bin
cp pbmtojbg.exe /usr/local/bin
chmod 755 /usr/local/bin/jbgtopbm.exe
chmod 755 /usr/local/bin/pbmtojbg.exe
cp pbm.5 /usr/local/man/man5/pbm.5
cp pgm.5 /usr/local/man/man5/pgm.5
chmod 644 /usr/local/man/man5/pbm.5
chmod 644 /usr/local/man/man5/pgm.5
cp jbgtopbm.1 /usr/local/man/man1/jbgtopbm.1
cp pbmtojbg.1 /usr/local/man/man1/pbmtojbg.1
chmod 644 /usr/local/man/man1/jbgtopbm.1
chmod 644 /usr/local/man/man1/pbmtojbg.1
cd /usr/local/lib
ln -s libpng.dll.a libpng.a
contents
contents
*Jed (John E. Davis' Editor)*
---------------------------
- what is it?
- Jed is John E. Davis' programmer's editor. See:
http://space.mit.edu/home/davis/jed.html
for specific information.
- system
- I've only tried it on Windows NT4, but it doesn't rely on
any Windows- specific stuff (that I know of), so it should
work equally well on any Win32 platform with Cygwin installed.
- Cygwin
- Compiled with beta 20.
- configure
- Added jed.bat for proper environment setup when not executed
under a Cygwin shell. This batch file is under jed/bin.
- make
- To get it to compile, just make sure that IBMPC_SYSTEM is
NOT defined in slang/src/slang.h and jed/src/jedconf.h.
- make install
- N/A
- notes
- The main reason I ported this is for John's rgrep utility.
Jed just kind of fell out for free. The point is that this
hidden gem (rgrep) is a freebie with the Jed distribution!
- package availability
- http://www.wells-inc.com/software/cygwin-ports/
(not there yet; I'll put it up sometime in the next day or two)
- contributed by
- scott@wells-inc.com (<Scott Wells>)
contents
contents
*jove-4.16*
---------
- what is it?
- Jove is an Emacs-like editor without Lisp. It is comfortable
to use, small, fast and portable.
- system
- Windows NT4 SP3
- Cygwin
- for B19
- preliminaries
- get sources from ftp://niteroi.gsfc.nasa.gov/pub/win32/jove
These are the original sources with the addition of
a Makefile for GNU Win32.
- install termcap (may work with curses as well).
- configure
- nope, this is an old package.
- make
- cp Makefile.unx Makefile
- edit Makefile
- Use LINUX settings
- Update install related macros, handling the *.exe
extensions
- better yet, get Makefile.g32 from
ftp://niteroi.gsfc.nasa.gov/pub/win32/jove/jove-bin.tgz
and copy it to Makefile.
- run "make" as normal
- make install
- works without changes
- package availability
- jove binaries/sources for GNU Win32 B19 available from:
ftp://niteroi.gsfc.nasa.gov/pub/win32/jove
- Official jove site: ftp://ftp.cs.toronto.edu/pub/moraes/jove/
- contributed by
- dasilva@alum.mit.edu (Arlindo da Silva)
contents
contents
unpack jpegsrc.v6b.tar.gz
cd jpeg-6b
tar xvf ../ljpeg-6b.tar.gz
patch < ljpeg-6b.patch
patch -p1 < ../jpeg-6b-cygwin-pre21-dll.patch
make
HALT the make once the library has been created, and remove any .exe's that
have been created.
mkdir tmp
cp libjpeg.a tmp
dlltool-def libjpeg.a --export-all-symbols --output-def libjpeg.def
cd tmp
ar x libjpeg.a
dllwrap *.o --def ../libjpeg.def -o ../libjpeg.dll
rm *
cd ..
rmdir tmp
mv libjpeg.a libjpeg.static.a
dlltool --def libjpeg.def --output-lib libjpeg.dll.a
ln -s libjpeg.dll.a libjpeg.a
cp libjpeg.dll /usr/local/bin
chmod 755 /usr/local/bin/libjpeg.dll
RESTART the make
make test
strip *.exe
make install
/usr/local/bin/cjpeg.exe
/usr/local/bin/djpeg.exe
/usr/local/bin/jpegtran.exe
/usr/local/bin/rdjpgcom.exe
/usr/local/bin/wrjpegcom.exe
/usr/local/man/man1/cjpeg.1
/usr/local/man/man1/djpeg.1
/usr/local/man/man1/jpegtran.1
/usr/local/man/man1/rdjpgcom.1
/usr/local/man/man1/wrjpgcom.1
make install-lib
/usr/local/include/jconfig.h
/usr/local/include/jpeglib.h
/usr/local/include/jmorecfg.h
/usr/local/include/jerror.h
/usr/local/lib/libjpeg.a
cp libpng.static.a /usr/local/lib
cp libpng.dll.a /usr/local/lib
cp dl_import.h /usr/local/include
chmod 755 /usr/local/lib/libpng.static.a
chmod 755 /usr/local/lib/libpng.dll.a
chmod 644 /usr/local/include/dl_import.h
cd /usr/local/lib
rm libpng.a
ln -s libpng.dll.a libpng.a
contents
contents
unpack jpegsrc.v6b.tar.gz
cd jpeg-6b
tar xvf ../ljpeg-6b.tar.gz
patch < ljpeg-6b.patch
patch < ../jpeg-6b-cygwin-pre21.patch
./configure --prefix=/usr/local --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --enable-static
make
make test
strip *.exe
make install
/usr/local/bin/cjpeg.exe
/usr/local/bin/djpeg.exe
/usr/local/bin/jpegtran.exe
/usr/local/bin/rdjpegcom.exe
/usr/local/bin/wrjpegcom.exe
/usr/local/man/man1/cjpeg.1
/usr/local/man/man1/djpeg.1
/usr/local/man/man1/jpegtran.1
/usr/local/man/man1/rdjpgcom.1
/usr/local/man/man1/wrjpgcom.1
make install-lib
/usr/local/include/jconfig.h
/usr/local/include/jpeglib.h
/usr/local/include/jmorecfg.h
/usr/local/include/jerror.h
/usr/local/lib/libjpeg.a
contents
contents
*less-332*
--------
- what is it?
- paginator similar to "more" or "pg"
- system
- WinNT 4.0 SP3 with cygwin32 B19.3 (coolview) and egcs-1.1-cygwin32
- 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"
(found in Michael Hirmke's less-321 contribution to the
package report)
- configure
- works without changes
- make
- works without changes
- make install
- works without changes
- notes
- the package has been built for binary mounts and not tested on
nonbinary ones.
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Weiser_Michael/B19
- as less-332-cygwin32.tar.gz
- contributed by
- Michael Weiser <michael@weiser.saale-net.de>
contents
contents
unpack libpng-1.0.5.tar.gz
cd libpng-1.0.5
patch -p1 < ../libpng-1.0.5-cygwin-pre21-dll.patch
make
rm pngtest.exe
rm pngtest.o
mkdir tmp
cp libpng.a tmp
dlltool-def libpng.a --export-all-symbols --output-def libpng.def
cd tmp
ar x libpng.a
dllwrap *.o --def ../libpng.def -o ../libpng.dll
rm *
cd ..
rmdir tmp
mv libpng.a libpng.static.a
dlltool --def libpng.def --output-lib libpng.dll.a
ln -s libpng.dll.a libpng.a
cp libpng.dll /usr/local/bin
chmod 755 /usr/local/bin/libpng.dll
make test
make install
cp libpng.static.a /usr/local/lib
cp libpng.dll.a /usr/local/lib
cp dl_import.h /usr/local/include
chmod 755 /usr/local/lib/libpng.static.a
chmod 755 /usr/local/lib/libpng.dll.a
chmod 644 /usr/local/include/dl_import.h
cd /usr/local/lib
rm libpng.a
ln -s libpng.dll.a libpng.a
contents
contents
unpack libpng-1.0.5.tar.gz
cd libpng-1.0.5
patch -p1 < ../libpng-1.0.5-cygwin-pre21.patch
includes libpng-1.0.5-mmx-bug-24bit.dif
and libpng-1.0.5-mmx-opt-pixelbytes.dif
and a Makefile (slightly modified from
scripts/makefile.std
make
make test
make install
/usr/local/include/png.h
/usr/local/include/pngconf.h
/usr/local/lib/libpng.a
contents
contents
png-static:
unpack png-1.0.6
cd png-1.0.6
# make sure that the zlib library and headers are setup
# to link statically.
patch -p1 < ../libpng-1.0.6-abc.patch
# This patch contains the 'official' -a, -b, and -c patches
patch -p1 < ../libpng-1.0.6-1-cygwin1.patch
# This gives a tailored makefile
# NOTE: There is some assembler code in 'pnggccrd.c' but
# it doesn't work with cygwin yet.
make
make test
make install
/usr/local/include/png.h
/usr/local/include/pngconf.h
/usr/local/lib/libpng.a
-----------------------------------------------
png-dll:
unpack png-1.0.6
cd zlib-1.0.6
# make sure the zlib library and headers are setup
# so that libz.dll is linked.
patch -p1 < ../libpng-1.0.6-abc.patch
# This patch contains the 'official' -a, -b, and -c patches
patch -p1 < ../libpng-1.0.6-1-cygwin1.dll-patch
# This gives a tailored makefile and a .def file
# NOTE: There is some assembler code in 'pnggccrd.c' but
# it doesn't work with cygwin yet.
make
make test
make install
/usr/local/include/png.h
/usr/local/include/pngconf.h
/usr/local/bin/libpng.dll
/usr/local/lib/libpng.a-dll
/usr/local/lib/libpng.a -> libpng.a-dll
My package:
/usr/local/include/png.h (dll version)
/usr/local/include/pngconf.h (dll version)
/usr/local/include/static/png.h (static version)
/usr/local/include/static/pngconf.h (static version)
/usr/local/lib/libpng.a-static
/usr/local/lib/libpng.a-dll
/usr/local/bin/libpng.dll
symlink libpng.a to libpng.a-dll
# NOTE: the 'static' and 'dynamic' headers are
# actually identical. I just wanted to establish the
# pattern, if it becomes necessary for future packages
# Yes, I know you can/should do all this with #defines,
# and that will work in the current configuration. However,
# it's all about flexibility. I want Joe User to be able
# to say "I hate dll's" and completely eradicate them, and
# not have to use special #defines to do so.
# However, in this case, it's simple:
# just change the symlink for libpng.a and POOF: static linking.
contents
contents
*libtool*
-------
- what is it?
- This is GNU Libtool, a generic library support script.
Libtool hides the complexity of using shared libraries behind
a consistent, portable interface.
- system
- Windows 2000
- Cygwin
- for 1.3.x
- preliminaries
- get the source package
- libtool-1.4.tar.gz
it can be found
- on ftp.gnu.org
- in gnu/libtool/
- as libtool-1.4.tar.gz
- configure
- ./configure --prefix=/usr
- make
- No changes
- make install
- No changes.
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Sammartino_T_Ryan
- as libtool-1.4.tar.gz
- contributed by
- ryants@home.com (Ryan T. Sammartino)
contents
contents
*libungif-4.1.0*
--------------
- what is it?
- This is libungif, a library for manipulating gif files in a
manner compatible with libgif, the gif library authored and
maintainer by Eric S. Raymond.
(http://prtr-13.ucsc.edu/~badger/software/libungif/index.shtml
and also take a look here for infos about LZW compression patent
problems:
http://prtr-13.ucsc.edu/~badger/software/libungif/giflib.shtml)
- system
- Win32 (NT fits best)
- cygwin (http://www.cygwin.com/setup.exe)
- for cygwin1.dll 1.3.3
- preliminaries
- for binaries: packages: cygwin, Xfree86 for cygwin, cygipc
-> get it here:
http://www.neuro.gatech.edu/users/cwilson/cygutils/V1.1/cygipc/index.html
- package installs in /usr/local/libungif
you may want to include /usr/local/libungif/bin in your PATH
- for building from source: libX11, libSM, libICE, libcygipc, librle
(is in my libungif-source package included in CYGWIN-PATCHES) and
as usual all the develstuff (binutils, gcc, ...)
- in 'my' source package, all relevant patches to build with a .dll
are already applied. *No* .diff file is included because the only
thing that was changed were an addition to Makefile.am (one
'-no-undefined' flag) and one macro addition to 'configure.in'
(AC_LIBTOOL_WIN32_DLL before AM_PROG_LIBTOOL). Besides that, there
is a binary included and the rest of the patch was about one
megabyte, so if you like to see it, get the original source and
make a diff.
- also included are all Makefiles that i generated (every Makefile
is a symlink to Makefile.cygwin),
***the Makefiles include hardcoded PATH settings***:
the source: /src/libungif-4.1.0
librle: $topsrcdir/CYGWIN-PATCHES (is included in the package)
libX11: /usr/X11R6/lib
***You need to adjust these PATH settings***
with these Makefiles it should build, but one never knows...
i included them because there are still some problems with libtool,
automake, autoconf, not all fits together, so i needed to edit
the Makefiles manually after generation. At some places there
were some $(EXEEXT) missing and another problem is that libtool
puts the genrated executables in the '.libs' directory and make
install didn't find them there, it was looking in '.' but they
were in '.libs', so after running 'make' a 'make install' fails
because the biaries aren't there where they are searched, so
every binary was rebuilt and then if '/bin/install' wants to
copy, they are not there (again) and this gives an error. So I
modified the Makefile and added a '.libs' at two places in the
util/Makefile and installation goes fine. You may succeed if you
just run 'make install' which will build all and install it in
/usr/local/libungif from where you can move it around as you like
it.
- instead of the above way, you *should* run './autogen.sh' which
calls the 'configure' script at the end. 'autogen.sh' will
regenerate the Makefile.in's and the 'configure' script. Modify
'autogen.sh' if you want to pass arguments to the configure
script.
- NOTE
I used autoconf-2.52e, automake-1.5, libtool-1.4.2 and I don't
know if is possible to get it compiled with older versions of
these programs.
- what is in the package?
- some README-files and HTML-docs in /usr/local/libungif/doc/
- some conversion utilities, test pattern generators, image
manipulation components, report generators, gif composition
tools, c code templates, here a full list:
CONVERSION UTILITIES
gif2bgi - display GIFs on IBM PC displays using the BGI
(Borland) driver
gif2epsn - dump images saved as GIF files on Epson type
printers
gif2herc - display GIFs on IBM PC displays using the Hercules
graphic card
gif2iris - display GIFs under SGI NeWs window system
gif2ps - print GIF file on laser printers supporting
PostScript
gif2rgb - convert images saved as GIF to 24-bit RGB image(s)
gif2rle - convert images saved as GIF to RLE (Utah raster
toolkit) format
gif2x11 - display images saved as GIF files under X window
system
raw2gif - convert raw 8-bit image data into GIF files
rgb2gif - convert 24 bit images to a GIF image using color
quantization
rle2gif - convert images saved as RLE (Utah raster toolkit)
to GIF format
TEST PATTERN GENERATORS
gifbg - generate a single-color test pattern GIF
gifcolor - generate color test patterns
gifwedge - create a test GIF image resembling a color monitor
test pattern
IMAGE MANIPULATION COMPONENTS
gifasm - assemble multiple GIFs into one, or burst a
multiple-mage GIF
gifclip - clip or crop a GIF image
gifclrmp - modify GIF image colormaps
gifcomb - combine 2 GIF images of exactly the same size into
one
giffix - clumsily attempts to fix truncated GIF images
gifflip - flip GIF image along X or Y axis or rotate by
90 degrees
gifinter - convert between interlaced and non interlaced images
gifovly - generate one composite GIF from a multiple-image GIF
gifpos - change a GIF's screen size or recondition it.
gifrotat - rotate a GIF through any desired angle
gifrsize - resize a GIF by deletion or duplication of bits
gifburst - burst a GIF image into subrectangles.
REPORT GENERATORS
giftext - print (text only) general information about a GIF
gifhisto - generate color-frequency histogram from a GIF
GIF COMPOSITION TOOLS
icon2gif - converter/deconverter to/from an editable text format
text2gif - generate GIF images out of regular text in 8x8 font
gifinto - end-of-pipe fitting for GIF-processing pipelines
gifcompose - use giflib tools to compose images
C CODE TEMPLATES
giffiltr - template code for filtering a GIF sequentially
gifspnge - template code for filtering a GIF with in-core
operations
- (original-) source can be found
- on ftp://prtr-13.ucsc.edu/pub/libungif/
- as libungif-4.1.0.tar.gz
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.3/graphics/
- as libungif-4.1.0-orig-src.tar.gz
- (binaries-) package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.3/graphics/
- as libungif-4.1.0-1.tar.bz2
- (source-) package availability if not anymore on prtr-13.ucsc.edu
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.3/graphics/
- as libungif-4.1.0-src.tar.bz2
- more information about graphics
- A good place to start for information about the wide world of
computer graphics is http://www.faqs.org/faqs/graphics/.
- contributed by
- gp@familiehaase.de (Gerrit Peter Haase) 2001-09-30
contents
contents
Here's some toys I put together to play with the platform SDK,
mingw32 and cygwin32.
This is a binaries + patches release of
gcc-2.7-B19/gas-980409/winsup-980513/newlib-980310
supported by this release
(in the sense that it all sort of works
NOT that I am providing support :)
using the same set of binaries to compile/link
un*x/FSF/msvcrt.dll binaries
using the MS SDK headers/libs to compile/link
c vc++/win32-api code and
c++ vc++/win32-api code (but see notes below)
direct x 5.x (new preliminary)
windows base services
windows user interface services
internationalization
try/except try/finally exception handeling
(see the file .../include/ming/excpt.h for how)
com
ole
network (winsock/2 tcp/ip rpc etc...)
shell extensions
(lots more stuff I don't remember right now :)
This has only been tested/used on win95 4.00.950b
cygnus B19.1+ w/binary mounts
if you're running NT, you're pretty much on your own, for
any differences. (I don't think there would be any, but you never know)
see the file src-changes.txt for a list of (most of :) the changes
to the source.
User visible changes to cygwin32 include
strip.exe works on images with .reloc sections produced with this ld.exe
ie
strip --strip-all new-cygwinb19.dll
gives a usable relocatable .dll
(still can't strip files with appended .rsrc sections using rsrc.exe)
.reloc sections are now always terminated properly on
win95, and NT w/out C2 security
(the tradeoff is that you will always have a .reloc
section unless you strip it off ;^)
WARNING nonrelocatable dll's/exe's that need to be relocated won't give
a "contact your vendor" warning with this, they will just crash unless
you strip off the extra .reloc section.
new options for ld.exe
--subsystem wwindows
--subsystem wconsole
(entry @ _wWinMainCRTStartup _wmainCRTStartup respectivly for UNICODE apps
currently only usefull when linking against the included
libmsvcrt.a & using the included headers)
win95a msvcrt.dlls' isatty() dosen't work under
command.com/dos box. use win95b :-(
-lLIBNAME option to ld.exe (small L)
searches first for LIBNAME.lib files, then libLIBNAME.a
(should make for easier use under command.com/cmd.exe)
new options for gcc.exe
-windows (gui apps pull in the patched Platform SDK headers if you have them)
-console (console ditto ;^)
-wm uses msvcrt.dll system headers
The options -mwindows -mconsole -mdll are nops when compiling, but obviously meaningful
when linking; at least now it doesn't complain about "bad option" when
compiling with any of them.
cc1plus can now compile the SDK headers with a MUCH smaller set of diffs
the context diff for the Jan 98 SDK headers is included.
entry point WinMainCRTStartup added to crt0.c/o
(gets rid of those pesky warnings ;^)
Support for relocatable dll's using libcygwin.a libc services
is changed in the specs file, see the file dll.txt for why.
Added support for Import by ordinal
cygwinb19.dll/libcygwin.a/gnuwin32
and msvcrt.dll/mingw32 type binaries will
now link with all MS .lib files, if you have them
somewhere in your lib search path.
#pragma pack(1/2/4) now works. default struct packing is 8 bytes
so all the structs in the SDK should work correctly
(you can open bitmaps now !!)
some extra binaries are included
Chris Faylors's version of less.exe and vim.exe
(cause I couldn't stand to do without them while testing the install :)
a Makefile for the created files libmsvcrt.a liboldnames.a and
liblargeint.a will be released
as soon as I can get it to make without spending 3 hours of hand
work fixing it every time ;^)
Just like any other toy you find, this one comes with no waranty,
if it's broke you get to keep both parts. ;^)
Thank you to Cygnus Solutions for your efforts in porting
the gcc development environment, and a special thank you
to Geoff Noer for putting up with all of the crazyness from the
gnu-win32 mailing list. Also thanks to Colin Peters, without
whos efforts gnu-win32 would still be posix only
Special thanks to Mumit Kahn who fixed several source level
incompatibilits between cl.exe and gcc.exe __attributes__
You guys have given me many frustrating and enjoyable hours
so now I return the favor, HA.
The purpose of this package is to compile unmodified vc++/win32-api C/C++ code
using gcc, mostly it works pretty well, there are a bunch of sample
applications in the \ms\samples\ directory that will compile/link/run
under win95, and hopefully NT ;^) by installing the included GNUmakefile
and source patches.
C++ code will compile with the win32 headers, but because of different
name mangleing conventions I know of no easy way to interface
with the C++ functions in the system dll's, you would have to use
the C struct interface, and I don't know how. (but I'm working on it :)
to use this you will need these packages
cdk.exe from
ftp://ftp.cygnus.com/pub/gnu-win32/latest/ (source also available here)
from
http://www.microsoft.com/msdn/sdk/default.htm or
http://mssjus.www.conxion.com/msdownload/platformsdk/i386/
iBLDENV.EXE iCOM.EXE iNETWORK.EXE iWINBASE.EXE iWINUI.EXE
for direct x iDXFOUND.EXE (total about 26M)
You'll also need rsxntdj1.zip 880k (for rsrc.exe the resource linker
the zip file is included here for convenience)
That's also where I got the original patches that showed me how to "fix"
the SDK headers. to download it yourself use your nearest
simtel mirror I believe it was in
/pub/simtel-vendors/djgpp/v2tk/
but it's been a while, so you might have to archie for it.
If that seems too much like work to you you might as will delete this
now, and go play some Quake2, I guarantee it's a lot easier.
(but not nearly as satisfying :)
WARNING rebuilding from source on win95 requires setting CYGWIN32=tty
and /bin/sh.exe = /bin/ash.exe
get the file gnuwin32_B19_tar4bzip2.tgz from whereever it
ends up on ftp.uni-erlangen.de or ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/
and install the binaries
in your $PATH then do
tar -C /tmp -Ixf link-compat-gcc.tb2 link-compat-doc+diffs
see the file /tmp/link-compat-doc+difs/install.SDK
for complete installation instructions
enjoy!
<Mikey> jeffdbREMOVETHIS@goodnet.com
delete REMOVETHIS from the preceding to email
COPYRIGHT STUFF
/ * THIS SOFTWARE IS NOT COPYRIGHTED
*
* This source code is offered for use in the public domain. You may
* use, modify or distribute it freely.
*
* This code is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY. ALL WARRENTIES, EXPRESS OR IMPLIED ARE HEREBY
* DISCLAMED. This includes but is not limited to warrenties of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
The above is in reference to the enclosed patches to the bfd library
binutils ld gcc and newlib and the included files dtou.c,
_DllMainCRTStartup.c, dll_reent.c oldnames.def largeint.def and libmsvcrt.a
My understanding of the GPL is that this makes all the binaries except those
specified above and those contained in rsxntdj1.zip
(which has its own copyright please read)
fall under the GPL or LGPL as appropriate
combining the included patches with GPL'ed or LGPL'ed code will also
cause the patches themselves as included with the source to become
GPL'ed or LGPL'ed as appropriate. see the files COPYING and COPYING.LIB
for details.
the file CYGWIN32_LICENSE applies to the files 980513-cygwinb19.dll and libcygwin.a
along with the file copying.newlib
the only other exceptions are the modified mingw32 headers in
/usr/H-i386-cygwin32/i386-cygwin32/include/ming
which were released by Colin Peters with a notice similar to the above,
which continues, see each file for individual notices.
cdk-src.tar.gz the source for
gcc, libio, libstdc++, and libg++
is available from ftp://ftp.cygnus.com/pub/gnu-win32/latest
and mirrors
binutils 2.9.1 is available at
ftp://prep.ai.mit.edu/pub/gnu/
and MANY mirrors (should patch without many problems)
sources for winsup-980422/newlib-980310 should be available from
ftp://ftp.cygnus.com/pub/noer/winsup-snapshot
contents
contents
*lynx-2.8.2r1-ssl*
----------------
- what is it?
- lynx is a text-based hypertext browser similar to w3m.
Between them, they cover most bases - ftp, cookies, https,
forms etc.
- system
- NT4SP5, although I cannot see any reason for this to croak
on Win9x. Also Win2K-Prof.
- cygwin
- b20.1, & the 1.0 net release
- preliminaries
1. Download & install SSLeay-0.9.0b-cygwin-b20-bin.tar.bz2 from
www.student.uni-koeln.de/cygwin/Disribution/Binary/.
2. Apply the ssl patch via "patch -p0 < lynx-282-ssl.patch" to
the stock lynx2-8-2 code.
2.1 Get the patch from
www.moxienet.com/lynx/lynx-282-ssl.patch.bz2.
2.2 And the stock lynx source from
http://www.slcc.edu/lynx/release2-8-2/lynx2-8-2.tar.gz.
3. Strip out the extra \r's from /usr/local/ssl/include/bn.h, &
des.h via :0,$:s/\r// in vi.
4. Download & install ncurses from ftp.uni-erlangen.de, under
/pub/pc/gnuwin32/cygwin/porters/Hirmke_Michael/B20
or cygutils.netpedia.net
- configure
- none. FWIW, i used --enable-externs --enable-prettysrc.
- make
- none.
- make install
- broken. yes, even with the correct install script from
ftp.uni-erlangen.de however, copying lynx.exe from src, &
lynx.cfg+lynx.1 to the appropriate places was enough for
me in the *copious* time available.
- notes
- w3m is another excellent text-browser from Akinori Ito-san
at Yamagata U.
A cygwin version can be downloaded from
ftp://ei5nazha.yz.yamagata-u.ac.jp/w3m/binary/.
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Sharma_Varun/B20
- as lynx-2.8.2r1-ssl-cygwin-b20.tar.gz
- contributed by
- varshar@yahoo.com (Varun Sharma), 21/04/2000
contents
contents
*lzo-1.0.7*
---------
- what is it?
- real-time data compression library.
- homepage: http://wildsau.idv.uni-linz.ac.at/mfx/lzo.html
- system
- Compiled on:
CYGWIN_NT-4.0 LORELEY 1.1.8(0.34/3/2) 2001-01-31 10:08 i686 unknown
- Cygwin/Mingw
- for cygwin
- preliminaries for building
- zlib, nasm
- get the source package
- lzo-1.07.tar.gz
it can be found
- at the homepage (there are docs also)
- or on ftp://metalab.unc.edu
- in /pub/Linux/libs/compression/
- as lzo-1.07.tar.gz
- configure
- $ sh ./configure
- make
- $ make
- make install
- $ make install
- notes
- builds OOTB
- (binaries) package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.1
- as lzo-1.07-cygwin.tar.gz
- (source) package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.1
- as lzo-1.07-src.tar.gz
- contributed by
- gerrit.haase@t-online.de (Gerrit Peter Haase) 2001-04-15
contents
contents
*lzop-1.00*
---------
- what is it?
- lzop is a file compressor similar to gzip. Its main advantages over
gzip are much higher compression and decompression speed at the cost
of compression ratio.
- homepage: http://wildsau.idv.uni-linz.ac.at/mfx/lzop.html
- system
- Compiled on: CYGWIN_NT-4.0 1.1.8(0.34/3/2)
- for cygwin
- preliminaries for *building*
- liblzo
- get the source package
- lzop-1.00.tar.gz
it can be found
- at the homepage (see above)
- or at http://wildsau.idv.uni-linz.ac.at
- in /mfx/download/lzo/
- as lzop-1.00.tar.gz
- configure
- $ configure
- make
- $ make
- make install
- $ make install
- notes
- builds OOTB
- (binaries) package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.1
- as lzop-1.00-cygwin.tar.gz
- (source) package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.1
- as lzop-1.00-src.tar.gz
- contributed by
- gerrit.haase@t-online.de (Gerrit Peter Haase) 2001-04-15
contents
contents
If you're installing the precompiled version, be sure and check installation
instructions at
"ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Hirmke_Michael/GNUWin32-contents-3.0.html#man-1.5f (cygwin-b20-bin)"
unpack man-1.5g.tar.gz
cd man-1.5g
patch -p1 < ../man-1.5g-cygwin-pre21.patch
CC="gcc -DNONLS -DLC_MESSAGES=6" ./configure -d +traditional
make
make install
/usr/local/bin/man.exe
/usr/local/bin/apropos
/usr/local/bin/whatis
/usr/local/sbin/makewhatis
/usr/local/lib/man.conf
/usr/local/bin/man2html.exe
/usr/local/man/man1/man.1
/usr/local/man/man1/man2html.1
/usr/local/man/man1/whatis.1
/usr/local/man/man1/apropos.1
/usr/local/man/man5/man.conf.5
/usr/local/man/man8/makewhatis.8
strip /usr/local/bin/make2html.exe
contents
contents
*minires 0.97 (September 2003)*
-----------------------------
- what is it?
- minires is a simple non caching synchronous resolver library
for use by programs running under Cygwin. It partially replaces
the bind package.
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Humblet_Pierre_A/V1.5
- as minires-0.97-cygwin-1.5-bin.tar.gz
- package installation:
- Download and untar in / the file listed above.
It will install a dll and libraries (both for dynamic and
static linking) under /usr/local
For use with standard Makefiles that expect bind,
libresolv.a should be linked to one of the minires libraries.
The following information is only necessary to recompile
the package from scratch. It outlines what I did, other
setups may work as well.
- system
- Windows 98
- Cygwin
- 1.5.X
- binary mount
- CYGWIN=
- Preliminaries
- download and untar minires-0.97-cygwin-src.tar.gz
- read about include files in the README
- Build
make
make install
- contributed by
- Pierre.Humblet@ieee.org (Pierre A. Humblet)
contents
contents
*mkisofs*
-------
- what is it?
- program to generate a binary image of the iso9660 filesystem
(and optionally with Rock Ridge Interchange Protocol extensions)
composed of a given directory tree
- system
- Windows 98
- Cygwin
- for Cygwin 1.1.6, 1.1.7
- preliminaries
- get the source package
- mkisofs-1.12b5.tar.gz
it can be found
- on tsx-11.mit.edu
- in /pub/linux/packages/mkisofs/
- as mkisofs-1.12b5.tar.gz
- make sure that /usr/local/man and /usr/local/man/man8 exist
- configure
- no extra parameters
- make
- no extra parameters
- make install
- no extra parameters
- notes
- I had to make no changes, just compile-a credit to the author
and the Cygwin team
- package availability
- on tsx-11.mit.edu
- in /pub/linux/packages/mkisofs/
- as mkisofs-1.12b5.tar.gz
or
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Croft_Albert
- as mkisofs-1.12b5.tar.gz
- contributed by
- acroft@cyber-wizard.com (Albert Croft)
contents
contents
*mpage-2.4*
---------
- what is it?
- Print text (or postscript files) 2up or 4up to a postscript
printer. Plus a lot of user configuration options.
- system
- Windows NT4, Windows 95
- Cygwin
- for Cygwin B20.1 (binary requires cygwin1.dll)
- preliminaries
- To install the binary get mpage-2.4-cygwin-b20.1-bin.tar.gz
and place it in /
- untar the archive.
- configure
- Configuration is done by editing the Makefile.
find the line that sets the exectable extension
E =
and change it to
E = .exe
to output mpage.exe instead of mpage.
- make
- B20.1's make is broken, if you have a B19 try that version of
make. I compiled the make with visual c, and that worked fine.
- make install
- directories /usr/local/bin, /usr/local/man/man1 and
/usr/local/lib must exist.
- notes
- mpage defaults to A4 paper (this can be changed with
the command line option -bLetter), but can be configured
in the makefile for other paper sizes.
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Zmola_Carl/B20
- as mpage-2.4-cygwin-b20.1-bin.tar.gz (binary)
- as mpage24.tar.gz (source)
- contributed by
- zmola@acm.org (Carl Zmola)
contents
contents
unpack msql-2.0.4.1.tar.gz
cd msql-2.0.4.1
# Apply the first patch
patch -p1 < ../msql-2.0.4.1-cygwin-pre21.patch1
make target
cd targets/CYGWIN.....
setup
make all
make install
# Then, cd to the installation directory
cd /usr/local/Hughes
# And apply the second patch. This is necessary if
# you are trying to build the Msql-Mysql perl module.
patch -p1 < /usr/local/src/msql-2.0.4.1-cygwin-pre21.patch2
# Customize msql.conf and msql.acl for your site
contents
contents
unpack msql-2.0.4.1.tar.gz
cd msql-2.0.4.1
# Apply the first patch
patch -p1 < ../msql-2.0.4.1-cygwin-pre21.patch1
make target
cd targets/CYGWIN.....
setup
make all
make install
# Then, cd to the installation directory
cd /usr/local/Hughes
# And apply the second patch. This is necessary if
# you are trying to build the Msql-Mysql perl module.
patch -p1 < /usr/local/src/msql-2.0.4.1-cygwin-pre21.patch2
# Customize msql.conf and msql.acl for your site
contents
contents
*nano-0.9.19*
-----------
- what is it?
- Pico editor clone with enhancements.
- system
- Tested on Windows 2000
- Cygwin
- for cygwin 1.1.4 and higher
- preliminaries
- cygwin packages ncurses and gettext installed
- configure
- LIBS=-lintl ./configure --prefix=/usr --datadir=/usr/share
- make
- none
- make install
- none
- notes
- requires the terminfo database to run (included in ncurses)
- source availability
- http://www.nano-editor.org/dist/nano-0.9.19.tar.gz
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Matuska_Martin/V1.1
- as nano-0.9.19-1.tar.gz
- contributed by
- Martin Matuska <rebum@cygwin.cjb.net>
contents
contents
REQUIRES:
ncurses
/bin/ls(.exe) must exist
/bin/rm(.exe) must exist
unpack ncftp-3.0.1.tar.bz2
cd ncftp-3.0.1
CFLAGS=-I/usr/local/include \
LDFLAGS=-L/usr/local/lib \
./configure \
--prefix=/usr/local
#give it time; configure seems to hang but it's not, really.
#edit ./vis/Makefile, and add an '.exe' to the end of DPROGS=
make
make install
contents
contents
unpack ncurses-5.0.tar.gz
cd ncurses-5.0
./configure --without-debug --prefix=/usr/local
make
make install.progs
tic.exe
toe.exe
infocmp.exe
clear.exe
tput.exe
tset.exe
captoinfo.exe -> tic.exe
infotocap.exe -> tic.exe
reset.exe -> tset.exe
make install.data
/usr/local/share/terminfo/*
/usr/local/share/tabset
/usr/local/lib/terminfo -> /usr/local/share/terminfo
fails halfway thru, but it seems to work be a "delayed exit"
everything looks okay, notwithstanding...
cd test
play (things seem to fail using cmd.exe, but work great in
xterm)
make install.includes
term.h
ncurses.h -> curses.h
curses.h
unctrl.h
termcap.h
panel.h
eti.h
menu.h
form.h
cursesapp.h
cursesf.h
cursesm.h
cursesp.h
cursesw.h
cursslk.h
etip.h
make install.libs
libncurses.a
libcurses.a -> libncurses.a
libpanel.a
libmenu.a
libform.a
libncurses++.a
make install.man
captoinfo.1m
infocmp.1m
tic.1m
toe.1m
tput.1
tset.1
clear.1
curs*.3x
define_key.3x
dft_fgbg.3x
form*.3x
keybound.3x
keyok.3x
menu*.3x
mitem*.3x
ncurses.3x
panel.3x
resizeterm.3x
wresize.3x
term.5
terminfo.5
terminfo.5
term.7
contents
contents
*NetPbm 10.15*
--------------
- what is it?
- Netpbm is a toolkit of about 200 programs for conversion
of images between a variety of different formats, as well
as to allow a few basic image operations.
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Humblet_Pierre_A/V1.1
- as netpbm-10.15-cygwin-1.3-bin.tar.gz
- package installation
- delete all files in /usr/local/bin/netpbm (if any)
- "tar xzf filename.tar.gz" in / using Cygwin tools,
and NOT with Winzip or with other Windows tools
- Notes
- The dll and the numerous executables are installed in
/usr/local/bin/netpbm . Put this directory on your PATH or
link frequently invoked files to a directory that's on the PATH.
Releases previous to 9.10 were in /usr/local/netpbm,
which should now be deleted.
The man pages are installed in /usr/local/man
The palmXXX.map files are in /usr/local/lib
- This port uses Cygwin provided dll for jpeg, png, tiff and zlib
Make sure your version of Cygwin has them in /usr/bin
- To use color names in pgmtoppm requires the environment variable
RGBDEF to be set to the path of an rgb.txt file from an X11
distribution, if different from /usr/X11R6/lib/X11/rgb.txt
- Some programs are symbolic links to master executables.
They must be invoked from a Cygwin shell.
- Some programs are sh, bash, csh or perl scripts
- For pstopnm you need ghostscript as 'gs' in your command
search path. Use either the Cygwin version, or the ghostscript
package for Windows from AFPL (previously Aladdin). The Windows
package contains the program gswin32c.exe, which expects Windows
pathnames.
This directory contains a script gs.sh to translate Unix paths
and invoke gswin32c.exe. Rename it gs and place in on your PATH.
- All programs are believed to be properly ported to Cygwin and to
produce correct output on text and binary mounted filesystems.
Report problems to Pierre.Humblet@ieee.org
The following information is only useful to recompile
the package from scratch. It describes how I did it but
other settings may work as well.
- system
- Windows 98
- Cygwin
- Up to date as of June, 2003
(with zlib, libjpeg, libpng and libtiff, including the development
packages)
- text mount
- preliminaries
- delete in /usr/local/include and /usr/local/lib all files related
to jpeg, png, tiff and zlib (if any from previous installations).
This build uses the Cygwin provided files under /usr
- netpbm 10.15: http://download.sourceforge.net/netpbm
- untar the tgz file. The directory pathname cannot contain spaces.
You can use the "mount" command to map an unwieldy pathname
to a simple one.
- Follow the README instructions.
- make
- make
- contributed by
- Pierre.Humblet@ieee.org (Pierre A. Humblet)
contents
contents
*NetPbm 10.17*
------------
- what is it?
- Netpbm is a toolkit of about 200 programs for conversion
of images between a variety of different formats, as well
as to allow a few basic image operations.
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Humblet_Pierre_A/V1.5
- as netpbm-10.17-cygwin-1.5-bin.tar.gz
- package installation
- delete all files in /usr/local/bin/netpbm (if any)
- "tar xzf filename.tar.gz" in / using Cygwin tools,
and NOT with Winzip or with other Windows tools
- Notes
- The dll and the numerous executables are installed in
/usr/local/bin/netpbm . Put this directory on your PATH or
link frequently invoked files to a directory that's on the PATH.
Releases previous to 9.10 were in /usr/local/netpbm,
which should now be deleted.
The man pages are installed in /usr/local/man
The palmXXX.map files are in /usr/local/lib
- This port uses Cygwin provided dll for jpeg, png, tiff and zlib
Make sure your version of Cygwin has them in /usr/bin
- To use color names in pgmtoppm requires the environment variable
RGBDEF to be set to the path of an rgb.txt file from an X11
distribution, if different from /usr/X11R6/lib/X11/rgb.txt
- Some programs are symbolic links to master executables.
They must be invoked from a Cygwin shell.
- Some programs are sh, bash, csh or perl scripts
- For pstopnm you need ghostscript as 'gs' in your command
search path. Use either the Cygwin version, or the ghostscript
package for Windows from AFPL (previously Aladdin). The Windows
package contains the program gswin32c.exe, which expects Windows
pathnames.
This directory contains a script gs.sh to translate Unix paths
and invoke gswin32c.exe. Rename it gs and place in on your PATH.
- All programs are believed to be properly ported to Cygwin and to
produce correct output on text and binary mounted filesystems.
Report problems to Pierre.Humblet@ieee.org
The following information is only useful to recompile
the package from scratch. It describes how I did it but
other settings may work as well.
- system
- Windows 98
- Cygwin
- Up to date as of September 15, 2003
(with zlib, libjpeg, libpng and libtiff, including the development
packages)
- text mount
- preliminaries
- delete in /usr/local/include and /usr/local/lib all files related
to jpeg, png, tiff and zlib (if any from previous installations).
This build uses the Cygwin provided files under /usr
- netpbm 10.17: http://download.sourceforge.net/netpbm
- untar the tgz file. The directory pathname cannot contain spaces.
You can use the "mount" command to map an unwieldy pathname
to a simple one.
- Follow the README instructions.
- make
- make
- contributed by
- Pierre.Humblet@ieee.org (Pierre A. Humblet)
contents
contents
*netpbm-9.12*
-----------
- what is it?
- Netpbm is a toolkit for conversion of images between a variety of
different formats, as well as to allow a few basic image operations.
- system
- Win32 (NT fits best)
- cygwin (http://www.cygwin.com/setup.exe)
- for cygwin1.dll 1.1.8
- preliminaries
- for binaries: cygwin
- package installs in /usr/local/netpbm
you'll need to put /usr/local/netpbm/bin in your PATH
- for building from source: libjpeg, libtiff, libz, libpng, ghostscript
- source can be found
- on http://download.sourceforge.net/netpbm/
- as netpbm-9.12.tar.gz
- (binaries-) package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.1
- as netpbm-9.12-1-cygwin.tar.bz2
- (source-) package availability if not anymore at sourceforge
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.1
- as netpbm-9.12-src.tar.bz2
- what is in the package?
- some README-files in /usr/doc/netpbm-9.12-1
- some converters, generators, editors, analyzers, misc and
uncatalogued stuff, here is a full list:
CONVERTERS
ppmtompeg convert series of ppm frames to an mpeg movie
jpegtopnm convert JFIF/JPEG file to Netpbm format
anytopnm convert any graphics format to Netpbm format
ppmtojpeg convert PPM to JPEG/JFIF format
bmptoppm convert Windows or OS/2 Bitmap file to PPM
ppmtobmp convert PPM to Windows or OS/2 Bitmap file
giftopnm convert GIF to portable anymap
ppmtogif convert PPM to GIF
pnmtopng convert portable anymap to Portable Network Graphics
pngtopnm convert Portable Network Graphics to portable anymap
palmtopnm convert Palm pixmap to PNM
pnmtopalm convert PNM to Palm pixmap
jbigtopbm convert JBIG BIE (compressed bitmap) to PBM
pbmtojbig convert PBM to JBIG BIE (compressed bitmap)
pnmtofiasco convert Netpbm image to Fiasco (wfa) highly compressed format
fiascotopnm convert Fiasco (wfa) highly compressed format to Netpbm image
hpcdtoppm convert photo CD to PPM
pbmtowbmp convert PBM to WAP (Wireless App Protocol) Wireless Bitmap
wbmptopbm convert WAP (Wireless App Protocol) Wireless Bitmap to PBM
pbmtomda convert from PBM to Microdesign (for Amstrad PCWs)
mdatopbm convert from Microdesign (for Amstrad PCWs) to PBM
atktopbm convert Andrew Toolkit raster object to PBM
pbmtoatk convert PBM to Andrew Toolkit raster object
brushtopbm convert Xerox doodle brushes to PBM
cmuwmtopbm convert CMU window manager format to PBM
g3topbm convert Group 3 FAX to PBM
pbmtog3 convert PBM to Group 3 FAX
icontopbm convert Sun icon to PBM
pbmtoicon convert PBM to Sun icon
gemtopnm convert GEM .img format to PBM or pixmap
macptopbm convert MacPaint to PBM
pbmtomacp convert PBM to MacPaint
mgrtopbm convert MGR format to PBM
pbmtomgr convert PBM to MGR format
pi3topbm convert Atari Degas .pi3 to PBM
pbmtopi3 convert PBM to Atari Degas .pi3
xbmtopbm convert X10 or X11 bitmap to PBM
pbmtoxbm convert PBM to X11 bitmap
pbmtox10bm convert PBM to X10 bitmap
ybmtopbm convert Bennet Yee "face" file into PBM
pbmtoybm convert PBM into Bennet Yee "face" file
pbmto10x convert PBM to Gemini 10x printer graphics
pbmtoascii convert PBM to ASCII graphic form
asciitopgm convert ASCII character graphics to portable graymap
pbmtobbnbg convert PBM to BBN BitGraph graphics
pbmtocmuwm convert PBM to CMU window manager format
pbmtoepson convert PBM to Epson printer graphics
pbmtogem convert PBM into GEM .img file
pbmtogo convert PBM to GraphOn graphics
pbmtolj convert PBM to HP LaserJet black and white graphics
ppmtolj convert PPM to HP LaserJet color graphics (PCL)
pbmtoplot convert PBM into Unix plot(5) file
pbmtoptx convert PBM to Printronix graphics
pbmtozinc convert PBM to Zinc Interface Library icon
fitstopnm convert FITS format to portable anymap
pnmtofits convert portable anymap to FITS format
fstopgm convert Usenix FaceSaver(tm) format to portable graymap
pgmtofs convert portable graymap to Usenix FaceSaver(tm) format
hipstopgm convert HIPS format to portable graymap
lispmtopgm convert a Lisp Machine bitmap file into pgm format
pgmtolispm convert a portable graymap into Lisp Machine format
psidtopgm convert PostScript "image" data to portable graymap
rawtopgm convert raw grayscale bytes to portable graymap
pgmtopbm convert portable graymap to PBM
pbmmask create a mask bitmap from a regular bitmap
ppmcolormask create mask of areas of a certain color in an image
gouldtoppm convert Gould scanner file to PPM
ilbmtoppm convert IFF ILBM to PPM
ppmtoilbm convert PPM to IFF ILBM
imgtoppm convert Img-whatnot to PPM
mtvtoppm convert MTV ray-tracer output to PPM
pcxtoppm convert PC Paintbrush format to PPM
pgmtoppm colorize a portable graymap into a PPM
pi1toppm convert Atari Degas .pi1 to PPM
ppmtopi1 convert PPM to Atari Degas .pi1
picttoppm convert Macintosh PICT to PPM
ppmtopict convert PPM to Macintosh PICT
pjtoppm convert HP PaintJet file to PPM
ppmtopj convert PPM to HP PaintJet file
qrttoppm convert QRT ray-tracer output to PPM
rawtoppm convert raw RGB bytes to PPM
rgb3toppm combine three portable graymaps into one PPM
ppmtorgb3 separate a PPM into three portable graymaps
sldtoppm convert an AutoCAD slide file into a PPM
spctoppm convert Atari compressed Spectrum to PPM
sputoppm convert Atari uncompressed Spectrum to PPM
tgatoppm convert TrueVision Targa file to PPM
ppmtotga convert PPM to TrueVision Targa file
ximtoppm convert Xim to PPM
xpmtoppm convert XPM format to PPM
ppmtoxpm convert PPM to XPM format
yuvtoppm convert Abekas YUV format to PPM
eyuvtoppm convert Encoder/Berkeley YUV format to PPM
ppmtoeyuv convert PPM to Encoder/Berkeley YUV format
ppmtoyuv convert PPM to Abekas YUV format
ppmtoyuvsplit convert PPM to 3 subsampled raw YUV files
yuvsplittoppm merge 3 subsampled raw YUV files to one PPM
ppmtoacad convert PPM to AutoCAD database or slide
ppmtoicr convert PPM to NCSA ICR graphics
ppmtopcx convert PPM to PC Paintbrush format
ppmtopgm convert PPM to portable graymap
ppmtopuzz convert PPM to X11 "puzzle" file
rasttopnm convert Sun raster file to portable anymap
pnmtorast convert portable anymap to Sun raster file
tifftopnm convert TIFF file to portable anymap
pnmtotiff convert portable anymap to TIFF RGB file
pnmtotiffcmyk convert portable anymap to TIFF CMYK file
xwdtopnm convert X10 or X11 window dump to portable anymap
pnmtoxwd convert portable anymap to X11 window dump
pnmtops convert portable anymap to Postscript
pstopnm convert Postscript to portable anymap
pnmtoplainpnm convert a regular portable anymap into plain pnm format
pbmtoepsi convert a PBM image to encapsulated Postscript preview bitmap
pbmtopgm convert PBM file to PGM by averaging areas
411toppm convert 411 (Sony Mavica) to PPM
ppmtosixel convert PPM to DEC sixel format
ppmtouil convert PPM to Motif UIL icon file
sbigtopgm convert Santa Barbara Instrument Group CCD file to PGM
vidtoppm convert Parallax XVideo JPEG to sequence of PPM files
pnmtorle convert PNM to Utah Raster Toolkit (urt/rle) file
rletopnm convert Utah Raster Toolkit (urt/rle) file to PNM
ppmtoleaf convert PPM to Interleaf
leaftoppm convert Interleaf to PPM
IMAGE GENERATORS
pbmmake create a blank PBM image of a specified size
ppmmake create a pixmap of a specified size and color
ppmpat create a pretty pixmap
pgmnoise create a portable graymap of white noise
pbmtext render text into a PBM image
pbmupc create a Universal Product Code PBM image
ppmcie generate a CIE color map image
pbmpage create a printer test pattern page.
IMAGE EDITORS
ppmlabel Add text to an image
pnmshadow add a shadow to an image so it looks like it's floating
ppmbrighten brighten or dim an image -- change saturation and value
ppmdim dim a PPM image - different way from ppmbrighten
pbmreduce reduce a PBM N times, using Floyd-Steinberg
pgmnorm normalize contrast in a portable graymap image
ppmnorm normalize contrast in a PPM image
pbmpscale englarge a PBM image with edge smoothing
pnmscale scale a PNM image with high precision
pnmscalefixed scale a PNM image quickly with low precision
ppmdither ordered dither for color images
ppmquant quantize colors in an image down to a specified number
ppmquantall quantize colors down to a specified number on many files
ppmrelief run a Laplacian Relief filter on a PPM
pnmarith perform arithmetic on two portable anymaps
pnmcat concatenate portable anymaps
pnmpad add borders to a portable anymap
pnmcomp create composite (overlay) of two portable anymap images
ppmmix mix (overlay) two images.
pnmcrop crop all like-colored borders off a portable anymap
pnmcut select a rectangular region from a portable anymap
pnmdepth change the maxval in a portable anymap
pnmenlarge enlarge a portable anymap N times
pnmflip perform one or more flip operations on a portable anymap
pnminterp scale up portable anymap by interpolating between pixels
pnminterp-gen scale by non-integer values using pnminterp and pnmscale
pnminvert invert a portable anymap
pnmgamma perform gamma correction on a portable anymap
pnmmargin add a margin to a portable anymap
pnmpaste paste a rectangle into a portable anymap
pnmrotate rotate a portable anymap
pnmshear shear a portable anymap
pnmsmooth smooth a portable anymap image
pnmtile replicate a portable anymap into a specified size
pbmclean remove lone pixels (snow) from a PBM image
pnmalias antialias a portable anymap image
ppmchange change all of one color to another in PPM image
ppmshift shift lines of PPM image left or right a random amount
ppmspread move pixels of PPM image a random amount
pnmconvol general MxN convolution on a portable anymap
pbmlife apply Conway's rules of Life to a PBM image
ppmdist map colors to high contrast grayscales arbitrarily
ppmntsc adjust colors so they are legal for NTSC or PAL television
IMAGE ANALYZERS
pnmfile describe a portable anymap
pnmpsnr measure difference between two images
pgmedge edge-detect a portable graymap
pgmenhance edge-enhance a portable graymap
pgmramp generate a grayscale ramp
pgmslice print grayscale values for a row or column of a pgm image
pgmtexture calculate textural features on a portable graymap
pgmhist print a histogram of the values in a portable graymap
ppmhist print a histogram of a PPM
ppmtomap generate a map of all colors in an image
MISCELLANEOUS
pnmsplit split a multi-image PNM file into multiple 1-image files
pnmindex build a visual index of a bunch of PNM images
pcdindex build a visual index of a photo CD from pcd overview file
pnmmontage build multiple PNM images into a single montage PNM image
pgmbentley Bentleyize a portable graymap
pgmcrater create cratered terrain by fractal forgery
pgmoil turn a portable graymap into an oil painting
ppmforge fractal forgeries of clouds, planets, and starry skies
pgmkernel generate a convolution kernel
ppmtv Make an image lined so it looks like an old TV
UNCATALOGUED AS YET
bioradtopgm
pbmto4425
pbmtoln03
pbmtolps
pbmtopk
pktopbm
pnmhisteq
pnmhistmap
pnmnlfilt
pnmtoddif
pnmtosgi
pnmtosir
ppm3d
ppmflash
ppmqvga
ppmtomitsu
ppmtopjxl
sgitopnm
sirtopnm
spottopgm
xvminitoppm
zeisstopnm
- more information about graphics
- A good place to start for information about the wide world of computer
graphics is http://www.faqs.org/faqs/graphics/ .
- contributed by
- gerrit.haase@t-online.de (Gerrit Peter Haase) 2001-04-11
contents
contents
*Octave 2.1.30*
-------------
- what is it?
- GNU Octave is a high-level language, primarily intended for
numerical computations.
- Very simular to Matlab
- Octave's home page is located at http://www.che.wisc.edu/octave/
- system
- Tested on Win98, should work on 95, NT, 2000
- for Cygwin 1.2
- preliminaries
- If you want the ability to plot first install Gnuplot
- Download Octave-2.1.30-cygwin1.2.tar.gz
- tar zxvf Octave-2.1.30-cygwin1.2.tar.gx --dir=/
- The package will install in /usr/local/bin
- configure
- Not relivent for a binary
- make
- Not relivent for a binary
- make install
- Not relivent for a binary
- notes
- Octave 2.1.30 is a bleeding edge Beta, and not a stable release.
- Octave 2.0.16 is the latest stable release, and may compile
under Cygwin 1.2 try ./configure --with-g77
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Weichmann_Tom/1.2
- as octave-2.1.30-cygwin-1.2-bin.tar.gz
- contributed by
- tomcw@localnet.com (Tom Weichmann)
contents
contents
*Octave 2.1.31*
--------------
- what is it?
- GNU Octave is a high-level language, primarily intended for numerical computations.
- Very simular to Matlab
- Octave's home page is located at http://www.che.wisc.edu/octave/
- system
- Tested on Win98, should work on 95, NT, 2000
- for Cygwin 1.1
- preliminaries
- If you want the ability to plot first install Gnuplot
- Download Octave-2.1.31-cygwin1.1.tar.gz
- tar zxvf Octave-2.1.31-cygwin1.1.tar.gx --dir=/
- The package will install in /usr/local/bin
- configure
- Not relivent for a binary
- make
- Not relivent for a binary
- make install
- Not relivent for a binary
- notes
- Octave 2.1.31 is a bleeding edge Beta, and not a stable release.
- Octave 2.0.16 is the latest stable release, and may compile
under Cygwin 1.1 try ./configure --with-g77
- package availability
- on ftp.uni-erlangen.de
- contributed by
- tomcw@localnet.com Tom Weichmann
contents
contents
*PAM 0.90 (September 2003)*
-------------------------
- what is it?
- PAM (Pluggable Authentication Modules) is a facility available in
the latest releases of Solaris and in some GNU/Linux distributions.
(http://www.kernel.org/pub/linux/libs/pam).
This is minimal implementation for Windows (which hopefully will
be extended) to satisfy the needs of the Exim Mail Transfer Agent.
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Humblet_Pierre_A/V1.5
- as pam-0.90-cygwin-1.5-bin.tar.gz
- package installation:
- Download and untar in / the file listed above.
It will install a dll and libraries (both for dynamic and
static linking) and include files under /usr/local
The following information is only necessary to recompile
the package from scratch. It outlines what I did, other
setups may work as well.
- system
- Windows 98
- Cygwin
- 1.5.X
- binary mount
- CYGWIN=
- Preliminaries
- download and untar pam-0.90-cygwin-src.tar.gz
- Build
make
make install
- contributed by
- Pierre.Humblet@ieee.org (Pierre A. Humblet)
contents
contents
Configuration
cygipc-1.05
gdbm-1.8.0-1
db-2.7.7
sh == bash
gcc-2.95.2
make 3.78.1
cygwin-inst-20000304
cygwin1.dll-20000306
build and install as a normal user
CYGWIN=binmode tty ntea
unpack perl-5.6.0-RC1.tar.gz
cd perl-5.6.0-RC1
chmod -R +w *
# no patches necessary!
# Opional: edit hints/cygwin.sh
# --> uncomment the last 3 lines to enable
# stripped binaries and dlls
sh Configure 2>&1 | tee log-conf.txt
accept default for everything except:
List of earlier versions to include in @INC? [xxx/xxxx]
--> type 'none'
personal email address & hostname
# Actually, I copied Policy.sh into perl-5.6.0-RC1 and just
# executed: sh Configure -d 2>&1 | tee log-conf.txt
# That way, I didn't have to answer questions, and my Policy
# file insured that the @INC and personal email entries
# were correct.
make 2>&1 | tee log-make.txt
insure that the ipc-daemon is running
to avoid the "taint" errors, I copied cygwin1.dll into
perl-5.6.0-RC1/t
make test 2>&1 | tee log-test.txt
cd t
./perl harness 2>&1 | tee ../log-harness.txt
cd ..
Failed Test Status Wstat Total Fail Failed List of failed
-------------------------------------------------------------------------------
lib/io_poll.t 8 1 12.50% 4
lib/odbm.t 64 1 1.56% 2
op/grent.t 1 1 100.00% 1
4 tests and 54 subtests skipped.
Failed 3/236 test scripts, 98.73% okay. 3/11823 subtests failed, 99.97% okay.
(However, a second perl harness had the following "extra" failure,
even though there were no configuration changes...??)
op/fork.t 16 1 6.25% 1
make install 2>&1 | tee log-inst.txt
make install.html 2>&1 | tee log-insthtml.txt
copy miniperl into /usr/local/bin
make sure windows & cygwin perms allow execution
edit /usr/local/bin/ld2 to point to /usr/local/bin/miniperl
and /usr/local/bin/perlld
--->>> CREATE DISTRO TARBALL <<<---
apply modules.diff patch to personal copy
cd /usr/local/src/redhat/SPECS
edit SPECS files
rpm -ba Data-ShowTable3.3.spec
---> do not run test; it's broken on every architecture
rpm -ivh ../RPMS/i386/perl-XXXXXX-cygwin1.1.i386.rpm
rpm -ba String-CRC32-1.2.spec
---> cd ../BUILD/String-CRC32-1.2
make test --> passed
cd ../SPECS
install: rpm -ivh ../RPMS/i386/perl-XXXXXX-cygwin1.1.i386.rpm
rpm -ba String-CRC-1.0.spec
---> passed test, install
rpm -ba DBI-1.13.spec
---> passed test, install
-- start mysqld and msqld
-- must have mysql client libs installed
-- must have msql installed
rpm -ba Msql-Mysql-modules-1.2210.spec
-- cd ../BUILD/Msql-Mysql-modules-1.2210/mysql
-- make test
Failed 2/20 tests, 90.00% okay
Failed Test Status Wstat Total Fail Failed List of failed
-------------------------------------------------------------------------------
t/dbdadmin.t 20 2 10.00% 4, 19
1 test skipped.
Failed 1/14 test scripts, 92.86% okay. 2/276 subtests failed, 99.28% okay.
-- cd ../mSQL
-- make test
Failed Test Status Wstat Total Fail Failed List of failed
-------------------------------------------------------------------------------
t/40bindparam.t 255 65280 26 10 38.46% 17-26
2 tests skipped.
Failed 1/14 test scripts, 92.86% okay. 10/226 subtests failed, 95.58% okay.
-- permissions in the mSQL database directory can cause problems
rpm -ba MIME-Base64-2.11.spec
rpm -ba URI-1.05.spec
Failed Test Status Wstat Total Fail Failed List of failed
-------------------------------------------------------------------------------
t/heuristic.t 14 1 7.14% 13
Failed 1/16 test scripts, 93.75% okay. 1/316 subtests failed, 99.68% okay.
---> install
rpm -ba Parse-Yapp-1.0.spec
---> passed test, install
rpm -ba HTML-Parser-3.06.spec
---> passed test, install
*************************
At this point, I ran into a problem with cygwin--
gzip -dc foo.tar.gz | tar xf -
stopped working, and that constuct is used extensively
in the makerpm.pl procedure.
So, I build the Compress:Zlib and Archive:Tar modules,
which allowed me to skip the system("gzip....| tar...")
command
*************************
rpm -ba Digest-MD5-2.09.spec
---> the file SHA1/fip180-1.gif was corrupt, so I removed it from
the source I used to build this package; this means that
it does not appear in the SRPM, either.
passed test, install
rpm -ba DelimMatch-1.04.spec
---> passed test, install
rpm -ba MIME-Base64-2.11.spec
---> passed test, install
rpm -ba URI-1.05.spec
---> failed one test:
Failed Test Status Wstat Total Fail Failed List of failed
-------------------------------------------------------------------------------
t/heuristic.t 14 1 7.14% 13
Failed 1/16 test scripts, 93.75% okay. 1/316 subtests failed, 99.68% okay.
---> installed
rpm -ba DateManip-5.37.spec
---> lots of problems, but I installed it anyway
Failed Test Status Wstat Total Fail Failed List of failed
-------------------------------------------------------------------------------
t/date.t 235 46 19.57% 6, 8, 15, 23, 25-28, 31-32, 34,
41, 47-56, 69-73, 80-81, 85, 88,
110-111, 115, 118, 132, 138-139,
143, 146, 161, 165-166, 172, 175-
176
t/date_date_0.t 11 3 27.27% 9-11
t/date_date_1.t 25 3 12.00% 23-25
t/date_date_2a. 23 2 8.70% 10-11
t/date_date_2b. 10 2 20.00% 1-2
t/date_delta_2a 10 1 10.00% 6
t/date_french.t 89 12 13.48% 5-12, 78-79, 88-89
t/date_romanian 196 37 18.88% 6, 8, 15, 20, 22-25, 28-29, 31,
38, 44-53, 77-78, 82, 85, 99,
105-106, 110, 113, 128, 132-133,
137, 140-141
t/recur_1.t 7 7 100.00% 1-7
Failed 9/30 test scripts, 70.00% okay. 113/828 subtests failed, 86.35% okay.
rpm -ba XML-Parser-2.27.spec
---> passed test, installed.
rpm -ba libnet-1.0701.spec
---> passed tests, installed
(but I used a local ftp server which allowed anonymous write)
rpm -ba libwww-perl-5.47
---> passed tests, installed
rpm -ba libxml-perl-0.07
---> passed tests, installed
rpm -ba XML-Grove-0.46alpha.spec
---> passed test, installed
rpm -ba libxml-enno-1.00.spec
---> failed a few tests, installed anyway
Failed Test Status Wstat Total Fail Failed List of failed
-------------------------------------------------------------------------------
t/chk_batch.t 56 10 17.86% 1, 3, 7, 11, 15, 21, 29, 35, 43,
49
t/xql_date.t 3 1 33.33% 3
t/xql_new.t 3 1 33.33% 3
t/xql_sin2.t 3 1 33.33% 3
Failed 4/36 test scripts, 88.89% okay. 13/196 subtests failed, 93.37% okay.
*******************************
Finally, dtdparse worked. It's not a real module, just a bunch of .pl files,
but it passed its own tests.
*******************************
contents
contents
Configuration
cygipc-1.05
gdbm-1.8.0-1
db-2.7.7
sh == bash 2.02.1(2)
gcc-2.95.2
make 3.78.1
cygwin-inst-20000325.tar.gz
cygwin1-20000328.dll.gz
build and install as a normal user
CYGWIN=binmode tty ntea nontsec
unpack perl-5.6.0.tar.gz
cd perl-5.6.0
chmod -R +w *
# no patches necessary!
# Opional: edit hints/cygwin.sh
# --> uncomment the last 3 lines to enable
# stripped binaries and dlls
sh Configure 2>&1 | tee log-conf.txt
accept default for everything except:
List of earlier versions to include in @INC? [xxx/xxxx]
--> type 'none'
personal email address & hostname
# Actually, I copied Policy.sh into perl-5.6.0 and just
# executed: sh Configure -d 2>&1 | tee log-conf.txt
# That way, I didn't have to answer questions, and my Policy
# file insured that the @INC and personal email entries
# were correct.
make 2>&1 | tee log-make.txt
insure that the ipc-daemon is running
to avoid the "taint" errors, I copied cygwin1.dll into
perl-5.6.0/t
make test 2>&1 | tee log-test.txt
----> failed only one test (op/grent)
cd t
./perl harness 2>&1 | tee ../log-harness.txt
cd ..
Failed Test Status Wstat Total Fail Failed List of failed
-------------------------------------------------------------------------------
lib/io_sock.t 22 5632 14 3 21.43% 12-14
op/grent.t 1 1 100.00% 1
4 tests and 98 subtests skipped.
Failed 2/236 test scripts, 99.15% okay. 4/11933 subtests failed, 99.97% okay.
(the failure that appeared only in perl-harness:
lib/io_sock.........Can't call method "sockport" on an undefined value at
lib/io_sock.t line 170, <GEN5> line 2.
dubious
Test returned status 22 (wstat 5632, 0x1600)
DIED. FAILED tests 12-14
Failed 3/14 tests, 78.57% okay
make install 2>&1 | tee log-inst.txt
make install.html 2>&1 | tee log-insthtml.txt
copy miniperl into /usr/local/bin
make sure windows & cygwin perms allow execution
edit /usr/local/bin/ld2 to point to /usr/local/bin/miniperl
and /usr/local/bin/perlld
--->>> CREATE DISTRO TARBALL <<<---
contents
contents
*psmisc-20.2*
-----------
- what is it?
- SUMMARY: Utilities for managing processes on your system.
The psmisc package contains utilities for managing processes on your
system: pstree, killall and fuser. The pstree command displays a tree
structure of all of the running processes on your system. The killall
command sends a specified signal (SIGTERM if nothing is specified) to
processes identified by name. The fuser command identifies the PIDs
of processes that are using specified files or filesystems.
- system
- Windows 2000 SP3
- Cygwin/Mingw
- cygwin-1.3.12, gcc-2.95.3, binutils-20011002
- preliminaries
- get the source package
- psmisc-20.2.tar.bz2
it can be found
- on ftp://prdownloads.sourceforge.net
- in /psmisc
- as psmisc-20.2.tar.bz2
- <which other arrangements to make>
- configure
- As defautls
- make
- apply the patch attached below
- make install
- nothing special needed
- notes
- <what else might be interesting to know>
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Young_Hansom/
- as psmisc-20.2-2.tar.gz
- contributed by
- Hansom Young <glyoung@users.sourceforge.net>
----------------------------------------------------------------------
diff -Nurp psmisc-20.2/src/fuser.c psmisc-20.2-cygwin/src/fuser.c
--- psmisc-20.2/src/fuser.c Wed Oct 17 20:23:06 2001
+++ psmisc-20.2-cygwin/src/fuser.c Tue Jan 7 11:52:22 2003
@@ -23,8 +23,13 @@
#include <sys/stat.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+#ifdef __CYGWIN__
+#include <limits.h>
+#endif
+#ifdef __LINUX__
#include <linux/kdev_t.h> /* for MKDEV */
#include <linux/major.h> /* for LOOP_MAJOR */
+#endif
#include "comm.h"
#include "loop.h" /* for loop_info */
@@ -386,8 +391,10 @@ check_map (const char *rel, pid_t pid, i
{
if (sscanf (line, "%*s %*s %*s %x:%x %ld", &major, &minor, &inode) != 3)
continue;
+#ifdef __LINUX__
if (major || minor || inode)
add_file (rel, MKDEV (major, minor), inode, pid, type);
+#endif
}
fclose (file);
}
@@ -469,6 +476,7 @@ scan_mounts (void)
/* new kernel :-) */
if (stat (path, &st_dev) < 0)
continue; /* might be NFS or such */
+#ifndef __CYGWIN__
if (S_ISBLK (st_dev.st_mode) && MAJOR (st_dev.st_rdev) == LOOP_MAJOR)
{
struct loop_info loopinfo;
@@ -481,6 +489,7 @@ scan_mounts (void)
(void) close(fd);
}
}
+#endif
if (stat (mounted, &st_mounted) < 0)
{
perror (mounted);
diff -Nurp psmisc-20.2/src/killall.c psmisc-20.2-cygwin/src/killall.c
--- psmisc-20.2/src/killall.c Wed Jun 13 09:20:22 2001
+++ psmisc-20.2-cygwin/src/killall.c Tue Jan 7 11:45:46 2003
@@ -18,6 +18,9 @@
#include <getopt.h>
#include <libintl.h>
#include <locale.h>
+#ifdef __CYGWIN__
+#include <limits.h>
+#endif
#define _(String) gettext (String)
#include "comm.h"
@@ -377,7 +380,11 @@ main (int argc, char **argv)
textdomain(PACKAGE);
opterr = 0;
+#ifndef __CYGWIN__
while ( (optc = getopt_long_only(argc,argv,"egilqs:vwV",options,NULL)) != EOF) {
+#else
+ while ( (optc = getopt_long(argc,argv,"egilqs:vwV",options,NULL)) != EOF) {
+#endif
switch (optc) {
case 'e':
exact = 1;
diff -Nurp psmisc-20.2/src/pstree.c psmisc-20.2-cygwin/src/pstree.c
--- psmisc-20.2/src/pstree.c Thu Oct 18 06:42:24 2001
+++ psmisc-20.2-cygwin/src/pstree.c Tue Jan 7 11:54:20 2003
@@ -20,6 +20,9 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
+#ifdef __CYGWIN__
+#include <limits.h>
+#endif
#include "comm.h"
@@ -523,7 +526,7 @@ read_proc (void)
/* We now have readbuf with pid and cmd, and tmpptr+2
* with the rest */
/*printf("readbuf: %s\n", readbuf);*/
- if (sscanf(readbuf, "%*d (%15c", comm) == 1)
+ if (sscanf(readbuf, "%*d (%[^)]", comm) == 1)
{
/*printf("tmpptr: %s\n", tmpptr+2);*/
if (sscanf(tmpptr+2, "%*c %d", &ppid) == 1)
contents
contents
*QPopper 4.0.3*
-------------
(May 2002)
- what is it?
- Qpopper is a popular pop3 server.
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Humblet_Pierre_A/V1.1
- as qpopper-4.0.3-XXXX-cygwin-1.3-bin.tar.gz
- package installation (in addition to standard Cygwin)
The unpatched sources and documentation are available from
http://www.eudora.com/qpopper/documentation.html
Reading the user's guide is highly recommended.
It is available separately and included in the sources.
A mailing list is archived at
http://www.pensive.org/Mailing_Lists/Archives/Qpopper/index.html
How to install and run qpopper?
*******************************
You will find versions
1) without SSL/TLS, running under inetd (see below)
2) without SSL/TLS, running in standalone mode
3) with SSL/TLS, running under inetd
4) with SSL/TLS, running in standalone mode
Versions 3 and 4 require to have the runtime openssl libraries
from the Cygwin setup.
Setting up a simple popserver for a single host is straightforward.
1) Download the qpopper-XXX-cygwin-YYY-bin.tar.gz and untar it in /
The executables go in /usr/local/sbin and the man files in
/usr/local/man. The mail spool directory is is /var/mail
2) If you want to use APOP run "/usr/local/sbin/popauth -init" as
the user "pop" to create the password database "/etc/pop.auth".
User "pop" can be faked by adding a line "pop" with your uid
in /etc/passwd (place "pop" after your real entry) and running
as yourself.
3) To setup SSL/TLS, read the documentation.
It is possible to self certify yourself with the command
openssl req -x509 -newkey rsa:1024 -keyout file1 -out file2 \
-days 9999 -nodes
where file1 and file2 can be identical. Clients such as
Netscape will prompt you to accept such a certificate.
On Win95/98/Me and on WinNT/2000/XP without ntsec
-------------------------------------------------
4) On Win95/98/Me, popper uses the password from the passwd
file. Run the shell command "crypt your_password" and paste
the output in the second field of /etc/passwd.
On NT/2000/XP your Windows password is used.
5) To launch under inetd (see the last part of
/usr/doc/Cygwin/inetutils-X.Y.Z.README) by adding the following
line in /etc/inetd.conf
pop3 stream tcp nowait root /usr/local/sbin/popper popper your_args
To launch the standalone daemon, simply type /usr/local/sbin/popper
It can be started automatically from your startup folder
On WinNT/2000/XP you can also use cygrunsrv
cygrunsrv -I popper -p /usr/local/sbin/popper -a "your_args"
cygrunsrv -S popper
( see /usr/doc/Cygwin/cygrunsrv.README )
On WinNT/2000/XP with ntsec
---------------------------
4) popper can be started from inetd as discussed above.
The name "root" (meaning SYSTEM) can be changed to that of a
privileged user. CYGWIN=ntsec must be defined in the system
environment
As the program must setuid(), the user must be part of the
Administrators group and have the "Create Token", "Assign Token",
"Increase Quota" and "Restore Files" privileges. It is thus highly
privileged, although less than SYSTEM.
The standalone daemon is normally run as a service under the
SYSTEM account. Specify CYGWIN=netsec when installing the service:
cygrunsrv -I popper -e CYGWIN=ntsec -p /usr/local/sbin/popper.exe -a "your args"
Note that the daemon uses the system mounts.
You can also use the -u option in cygrunsrv and start the program
under a the name of a user with "Running as a Service" privilege.
Known bugs
**********
On Win95/98/Me tcp connections may not be properly closed and
remain visible with netstat -an. It then becomes necessary to
restart the daemon from time to time. This is probably
related to the following Microsoft bugs
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q198663
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q229658
To solve the issue only one connection at a time is allowed
on Win95/98/Me in the standalone programs.
The problem still occurs when starting from inetd.
Building from sources
*********************
The following information is only necessary to recompile
the package from scratch. It outlines what I did, other
setups may work as well.
- system
- Windows 98
- Cygwin
- 1.3.X
- binary mount
- CYGWIN=notitle tty
Sources patched for Cygwin are available on
ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/porters/Humblet_Pierre_A/V1.1/
- Building
configure expects to find sendmail and a standard mail directory such
as /var/mail or /var/spool/mail
Compiling with openssl requires the openssl development package, in
addition to the runtime package.
- ./configure [ switches, see below ]
- Edit popper/Makefile and add -lutil on the LIBS line
- make
- make install
The 4 packages listed above were configured with
1) --enable-apop --enable-specialauth
2) --enable-apop --enable-standalone --enable-specialauth
3) --enable-apop --with-openssl --enable-specialauth
4) --enable-apop --enable-standalone --with-openssl --enable-specialauth
- contributed by
- Pierre.Humblet@ieee.org (Pierre A. Humblet)
contents
contents
*rcs-5.7*
-------
- what is it?
- version control system
- system
- WinNT 4.0 SP3 with Cygwin B20.1
- preliminaries
- execute chmod u+w -R on source tree directory to prevent some
error messages by configure
- configure
- works without changes
- make
- 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
(found in Erwin Achmann's contribution to the package report)
- make install
- works without changes
- installs to /usr/local/bin and /usr/local/man
- notes
- configure sometimes hangs on 'checking diff basename' when
trying to reconfigure the package after a successful compile.
Just delete the whole source directory and start from scratch.
- the package has been built for binary mounts and not tested on
nonbinary ones. But as RCS internally handles its files in UN*X
LF format I don't expect it to work.
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Weiser_Michael/B20
- as rcs-5.7-cygwin-b20-bin.tar.gz
- contributed by
- Michael Weiser <michael@weiser.saale-net.de>
contents
contents
*rcs-5.7*
-------
- what is it?
- version control system
- system
- WinNT 4.0 SP3 with cygwin32 B19.3 (coolview) and egcs-1.1-cygwin32
- preliminaries
- execute chmod u+w -R on source tree directory to prevent some
error messages by configure
- configure
- works without changes
- if your cygwin32 distribution appears twice in your directory
structure, like / and /mnt/e/dev/cygwin32.b19 for me, edit
your config.cache to contain
ac_cv_path_DIFF=${ac_cv_path_DIFF='/usr/bin/diff'}
ac_cv_path_DIFF3=${ac_cv_path_DIFF3='/usr/bin/diff3'}
ac_cv_path_install=${ac_cv_path_install=''/usr/bin/install -c''}
after running configure to make the compiled rcs programs
search diff and diff3 in the correct standard places. Then run
configure again to take over the changes from config.cache into
Makefile etc.
- make
- 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
(found in Erwin Achmann's contribution to the package report)
- make install
- works without changes
- notes
- configure sometimes hangs on 'checking diff basename' when
trying to reconfigure the package after a successful compile.
Just delete the whole source directory and start from scratch.
- the package has been built for binary mounts and not tested on
nonbinary ones. But as RCS internally handles its files in UN*X
LF format I don't expect it to work.
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Weiser_Michael/B19
- as rcs-5.7-cygwin32.1.tar.gz
- contributed by
- Michael Weiser <michael@weiser.saale-net.de>
contents
contents
No binary package; very simple to build...
unpack readline-4.0.tar.gz
cd readline-4.0
./configure --prefix=/usr/local --x-libraries=/usr/X11R6/lib --x-includes=/usr/X11R6/include --with-curses
make
cd examples
make
play
cd ..
make install
installs these files
/usr/local/include/readline/*
/usr/local/lib/libreadline.a
/usr/local/lib/libhistory.a
/usr/local/info/readline.info
/usr/local/info/history.info
/usr/local/man/man3/readline.3
and runs:
install-info --dir-file=/usr/local/info/dir /usr/local/info/readline.info
install-info --dir-file=/usr/local/info/dir /usr/local/info/history.info
contents
contents
*readseq*
-------
- what is it?
- converter for various protein and nucleic acid database formats;
includes also a simple pretty-printer for the sequences.
- system
- Windows NT4, sp3
- Cygwin
- for B20.1, text or binary mount
- preliminaries
- sources are from:
ftp://ftp.bio.indiana.edu/molbio/readseq/src
- configure
- none
- make
- works without changes
- make install
- install manually (from build root):
- cp readseq.exe /usr/local/bin
- package availability
- http://members.tripod.com/~mhoenicka/readseq.html
- contributed by
- hoenicka_markus@compuserve.com (Markus Hoenicka)
contents
contents
*recode-3.6*
----------
- what is it?
- Free `recode' converts files between various character sets and
surfaces.
- system
- Windows XP Professional German / SP1
- Cygwin
- for 1.3
- CYGWIN=binmode glob notitle notty nontea ntsec nosmbntsec
- preliminaries
- get the source package
- recode-3.6.tar.gz
it can be found
- on ftp.uni-erlangen.de
- in /pub/pub/pc/gnuwin32/cygwin/porters/Hirmke_Michael/1.3/
- as recode-3.6.tar.gz
- configure
- works without changes, but one has to disable NLS support
- example: ./configure --prefix=/usr/local --disable-nls
- make
- works without changes
- make install
- works without changes
- notes
- none
- package availability
- on ftp.uni-erlangen.de
- in /pub/pub/pc/gnuwin32/cygwin/porters/Hirmke_Michael/1.3/
- as recode-3.6-cygwin-1.3-bin.tar.gz
- contributed by
- Michael@Hirmke.de (Michael Hirmke)
contents
contents
*robots 1.3*
----------
- what is it?
- Terminal game. Flee for maniac robots
- system
- UCB, ATT, Windows NT4/9X with cygwin1.dll, Atari ST
- Cygwin
- for B20
- binary and text mount
- CYGWIN=[all one]
- preliminaries
- nothing to do
- configure
- nothing to do
- make
- Change comments in Makefile for compiling on current system
- make install
- If you don't use 'make install', you'll have to create the
highscore files
/usr/local/games/robots.tmp and
/usr/local/games/robots.hof
by touching them.
- notes
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Vinschen_Corinna/B20
- as robots-1.3.tar.gz
- contributed by
- Corinna@Vinschen.de (Corinna Vinschen)
contents
contents
Installing the binary tarball:
cd /
bzip2 -dc <path-to-tarball>/rpm-3.0.2-cygwinb20.tar.bz2 | tar xvf -
rpm --initdb
touch /etc/mtab
Building from source:
PREREQUISITE:
need gettext library
need berkeley db library
unpack source into /usr/local/src
cd /usr/local/src/rpm-3.0.2
patch -p1 < /usr/local/src/rpm-3.0.2-cygwinb20.patch
cp misc/libgettext.h intl/libgettext.h
LIBS='-L/usr/local/lib' CPPFLAGS='-I/usr/local/include' ./configure --prefix=/usr/local
make
make tar /* make install doesn't seem to work */
mv /tmp/rpm-3.0.2.tar /usr/local/src/rpm-3.0.2-cygwinb20.tar
cd /
/* if /usr/local/lib/rpmpopt, /usr/local/lib/rpmrc,
/usr/local/lib/rpm/rpmpopt, or /usr/local/lib/rpm/rpmrc
exist, delete them. Tar messes up the symlinks if those
files are pre-existing.
*/
tar xvf /usr/local/src/rpm-3.0.2-cygwinb20.tar
rpm --initdb
touch /etc/mtab
contents
contents
Prerequisites:
zlib
bzlib
db
unpack rpm-3.0.3.tar.gz
cd rpm-3.0.3
patch -p1 < ../rpm-3.0.3-cygwin-pre21.patch
export CFLAGS=-I/usr/local/include
export LDFLAGS=-L/usr/local/lib
/* The following was an attempt to force configure to find
these header files. Configure doesn't use CFLAGS! It didn't
work in the case of zlib.h
*/
for file in (db.h db_185.h dbm.h gdbm.h ndbm.h zlib.h bzlib.h)
cp /usr/local/include/${file} /usr/i586-pc-cygwin32/include
end
./configure --prefix=/usr/local
/* edit config.h and #define HAVE_ZLIB_H */
make
make tar
cd /
tar xvf /tmp/rpm-3.0.3.tar
rpm --initdb
contents
contents
*rsync-2.4.6*
-----------
- what is it?
- rsync uses the "rsync algorithm" which provides a very fast
method for bringing remote files into sync. It does this by
sending just the differences in the files across the link,
without requiring that both sets of files are present at one
of the ends of the link beforehand. At first glance this may
seem impossible because the calculation of diffs between two
files normally requires local access to both files.
- system
- Compiled on:
CYGWIN_98-4.10 1.1.6(0.30/3/2) 2000-11-21 21:00 i586 unknown
- Cygwin/Mingw
- for cygwin 1.1.6(0.30/3/2) 2000-12-21 21:00 i586 unknown
- preliminaries
- get the source package
- rsync-2.4.6.tar.gz
it can be found
- on ftp://rsync.samba.org
- in /pub/rsync/
- as rsync-2.4.6.tar.gz
- before running configure follow these steps:
- $ cd /into/dir/where/src/is
- $ tar zxvf rsync-2.4.6.tar.gz
- $ cd rsync-2.4.6
- $ autoconf [optional]
- configure
- $ sh ./configure --prefix=/usr 2>&1 | tee log.configure
- make
- $ make 2>&1 | tee log.make
- strip the binaries
- $ strip -s rsync.exe
- make install
- $ make install 2>&1 | tee log.install
- notes
- I built this package by myself, because in latest cygwin
distribution rsync is not included and I need it.
- Binary installs in /usr
- builds OOTB
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.1
- as rsync-2.4.6-cygwin.tar.gz
- contributed by
- gerrit.haase@t-online.de (Gerrit Peter Haase) 2000-12-23
contents
contents
*rsync-2.2.0-Win32*
-----------------
- what is it?
- a port of the rsync (smart rcp) program. See
http://samba.anu.edu.au/rsync/ for more information.
- system
- Should work on any Win32 system. Tested on WinNT 4.
- Cygwin
- for B20
- preliminaries
- Needs CYGWIN1.DLL, networking.
- configure
- original configure is fine
- make
- Special rsync-2.2.0.diff is included that patches the original
distribution.
- make install
- Doesn't work. Read readme.txt.
- notes
- Read readme.txt.
- package availability
- please set it up in ftp.uni-erlangen.de
- contributed by
- Mart.Laak@hansa.ee (Märt Laak)
contents
contents
If you are using the binary distribution, WATCH OUT!
** This precompiled RXVT package requires libX11.dll somewhere in your path.
You can either download a copy from the same place you got this package,
or get Suhaib Siddiqi's complete X11 distribution for cygwin from
http://sourceware.cygnus.com/cygwin/xfree/
** This precompiled RXVT package requires a usable terminfo database in
/usr/local/share/terminfo/* or where-ever $TERMINFO points. If you don't
have one, then you need NCURSES. There should be a precomppiled NCURSES
package at the same place you got this precompiled RXVT package.
To build yourself:
unpack rxvt-2.6.1.tar.bz2
cd rxvt-2.6.1
patch -p1 < ../rxvt-2.6.1-cygwin-pre21.patch
LDFLAGS=-Wl,-subsystem,windows configure --x-includes=/usr/X11R6/include \
--x-libraries=/usr/X11R6/lib --enable-xpm-background --enable-transparency \
--with-xpm-includes=/usr/local/include --with-xpm-library=/usr/local/lib \
--enable-next-scrollbar --enable-menubar \
--with-terminfo=/usr/local/share/terminfo --with-term=rxvt
THEN edit config.h as follows:
----------------------------------------
--- config.h.orig Wed Dec 01 17:21:44 1999
+++ config.h Wed Dec 01 17:22:22 1999
@@ -193,13 +193,13 @@
/* Define possible pty types */
/* #undef PTYS_ARE_NUMERIC */
-/* #undef PTYS_ARE_PTMX */
+#define PTYS_ARE_PTMX 1
/* #undef PTYS_ARE_PTC */
/* #undef PTYS_ARE__GETPTY */
/* #undef PTYS_ARE_GETPTY */
/* #undef PTYS_ARE_GETPT */
/* #undef PTYS_ARE_CLONE */
-#define PTYS_ARE_SEARCHED 1
+/* #undef PTYS_ARE_SEARCHED */
/* The number of bytes in a char. */
#define SIZEOF_CHAR 1
----------------------------------------
make
cd rclock
make
cd ..
make install
I wanted to statically link my libXpm.a rather than use Suhaib's libXpm.dll, so I relinked by hand and changed the search order for libraries.
contents
contents
If you are using the binary distribution, WATCH OUT!
** This precompiled RXVT package requires libX11.dll somewhere in your path.
You can either download a copy from the same place you got this package,
or get Suhaib Siddiqi's complete X11 distribution for cygwin from
http://sourceware.cygnus.com/cygwin/xfree/
** This precompiled RXVT package requires a usable terminfo database in
/usr/local/share/terminfo/* or where-ever $TERMINFO points. If you don't
have one, then you need NCURSES. There should be a precomppiled NCURSES
package at the same place you got this precompiled RXVT package.
To build yourself:
unpack rxvt-2.6.2.tar.bz2
cd rxvt-2.6.2
patch -p1 < ../rxvt-2.6.2-cygwin1.1.patch
LDFLAGS=-Wl,-subsystem,windows \
./configure \
--x-includes=/usr/X11R6/include \
--x-libraries=/usr/X11R6/lib \
--enable-xpm-background \
--enable-transparency \
--with-xpm-includes=/usr/local/include \
--with-xpm-library=/usr/local/lib \
--enable-next-scrollbar \
--enable-menubar \
--with-terminfo=/usr/local/share/terminfo \
--with-term=rxvt
THEN edit config.h as follows:
----------------------------------------
--- config.h.orig Wed Dec 01 17:21:44 1999
+++ config.h Wed Dec 01 17:22:22 1999
@@ -193,13 +193,13 @@
/* Define possible pty types */
/* #undef PTYS_ARE_NUMERIC */
-/* #undef PTYS_ARE_PTMX */
+#define PTYS_ARE_PTMX 1
/* #undef PTYS_ARE_PTC */
/* #undef PTYS_ARE__GETPTY */
/* #undef PTYS_ARE_GETPTY */
/* #undef PTYS_ARE_GETPT */
/* #undef PTYS_ARE_CLONE */
-#define PTYS_ARE_SEARCHED 1
+/* #undef PTYS_ARE_SEARCHED */
/* The number of bytes in a char. */
#define SIZEOF_CHAR 1
----------------------------------------
AND edit src/feature.h as follows:
----------------------------------------
--- src/feature.h.orig Fri Apr 21 22:07:42 2000
+++ src/feature.h Fri Apr 21 22:07:57 2000
@@ -186,7 +186,7 @@
* SCROLL_ON_* defines above.)
*
*/
-/* #define SCROLL_ON_UPDOWN_KEYS */
+#define SCROLL_ON_UPDOWN_KEYS
/*
* Allow unshifted Next/Prior keys to scroll forward/back
-----------------------------------------
NOTE: I wanted to statically link with my libXpm.a rather
than use Suhaib's libXpm.dll, so I made the following
change to src/Makefile...
NOTE: If you do this, be sure that the libX11.a in
/usr/local/lib is the '-X' version, and not the
'-noX' version -- for more info, see the xpm-3.4k
section of the cygutils website.
-----------------------------------------
--- src/Makefile.orig Fri Apr 21 22:14:39 2000
+++ src/Makefile Fri Apr 21 22:15:15 2000
@@ -65,7 +65,7 @@
XINC = -I/usr/X11R6/include -I/usr/local/include
# extra libraries needed by X on some systems, X library location
-XLIB = -L/usr/X11R6/lib -L/usr/local/lib -lXpm -lX11
+XLIB = -L/usr/local/lib -lXpm -L/usr/X11R6/lib -lX11
# End of common section of the Makefile
#-------------------------------------------------------------------------
------------------------------------------
make
make clock
make install
/usr/local/bin/rxvt.exe
/usr/local/bin/rclock.exe
/usr/local/man/man1/rxvt.1
/usr/local/man/man1/rclock.1
contents
contents
*screen-3.98*
-----------
- what is it?
- screen manager with VT100/ANSI terminal emulation
- system
- tested on Windows 95, Windows 2000
- Cygwin
- compiled with Cygwin 1.1.5
- preliminaries
- ftp://ftp.uni-erlangen.de/pub/utilities/screen/screen-3.9.8.tar.gz
- patch -p1 < screen-3.9.8-1.patch
- patch available at package site
- configure
- ./configure --prefix=/usr
- make
- make
- make install
- make install
- notes
- none
- package availability
- on ftp.uni-erlangen.de
- in pub/win32/develop/gnuwin32/cygwin/porters/Matuska_Martin/V1.1
- as screen-3.9.8-1.tar.gz
- contributed by
- Martin Matuska <rebum@cygwin.cjb.net>
contents
contents
*seqaln*
------
- what is it?
- sequence alignment software
- system
- Windows NT4, sp3
- Cygwin
- for B20.1, text or binary mount
- preliminaries
- get the sources from: http://www-hto.usc.edu/software/seqaln/
- /usr/local/bin, /usr/local/include, /usr/local/lib,
/usr/local/man should be symlinks pointing to the corresponding
cygwin subdirectories (or use equivalent mounts)
- configure
- none
- make
- some makefiles have to be polished:
seqaln/Makefile
--- ../seqaln-2.0-orig/seqaln-2.0/seqaln/Makefile Wed Aug 21 22:57:58 1996
+++ seqaln/Makefile Mon Jul 12 22:35:25 1999
@@ -23,5 +23,5 @@
done
$(INSTALL) $(INFLAGS) src/*.h $(INCDIR)
- /bin/rm -f $(INCDIR)/a.h
+ rm -f $(INCDIR)/a.h
$(INSTALL) $(INFLAGS) lib/libseqaln.a $(LIBDIR)
ranlib $(LIBDIR)/libseqaln.a
seqaln/demo/Makefile
--- Makefile.orig Thu Oct 24 17:50:28 1996
+++ Makefile Sat Aug 07 22:23:57 1999
@@ -3,14 +3,14 @@
MAXOPT=-O4 -g
LDFLAGS=-L../lib -L../../randist -lseqaln -lrandist -lm
-BINARIES= fitS mfitS pfitS fitD mfitD \
- globalS mglobalS globalD mglobalD \
- overS moverS \
- localS mlocalS \
- trlocalS mtrlocalS \
- pvlocalS mpvlocalS \
- srlocalS msrlocalS \
- pvsrlocalS mpvsrlocalS
+BINARIES= fitS.exe mfitS.exe pfitS.exe fitD.exe mfitD.exe \
+ globalS.exe mglobalS.exe globalD.exe mglobalD.exe \
+ overS.exe moverS.exe \
+ localS.exe mlocalS.exe \
+ trlocalS.exe mtrlocalS.exe \
+ pvlocalS.exe mpvlocalS.exe \
+ srlocalS.exe msrlocalS.exe \
+ pvsrlocalS.exe mpvsrlocalS.exe
all: .h $(BINARIES) bin test
@@ -27,77 +27,78 @@
mkdir ../bin; \
fi
for i in $(BINARIES); do \
+ strip $$i; \
mv $$i ../bin; \
done
test: ../lib/libseqaln.a
- touch ../test
+# touch ../test
install: all
$(INSTALL) $(INFLAGS) ../lib/libseqaln.a $(LIBDIR)
ranlib $(LIBDIR)/libseqaln.a
-mpvsrlocalS: i_mpvsrlocalS.o ../lib/libseqaln.a
+mpvsrlocalS.exe: i_mpvsrlocalS.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o mpvsrlocalS i_mpvsrlocalS.o $(LDFLAGS)
-pvsrlocalS: i_pvsrlocalS.o ../lib/libseqaln.a
+pvsrlocalS.exe: i_pvsrlocalS.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o pvsrlocalS i_pvsrlocalS.o $(LDFLAGS)
-msrlocalS: i_msrlocalS.o ../lib/libseqaln.a
+msrlocalS.exe: i_msrlocalS.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o msrlocalS i_msrlocalS.o $(LDFLAGS)
-srlocalS: i_srlocalS.o ../lib/libseqaln.a
+srlocalS.exe: i_srlocalS.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o srlocalS i_srlocalS.o $(LDFLAGS)
-mpvlocalS: i_mpvlocalS.o ../lib/libseqaln.a
+mpvlocalS.exe: i_mpvlocalS.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o mpvlocalS i_mpvlocalS.o $(LDFLAGS)
-pvlocalS: i_pvlocalS.o ../lib/libseqaln.a
+pvlocalS.exe: i_pvlocalS.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o pvlocalS i_pvlocalS.o $(LDFLAGS)
-mtrlocalS: i_mtrlocalS.o ../lib/libseqaln.a
+mtrlocalS.exe: i_mtrlocalS.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o mtrlocalS i_mtrlocalS.o $(LDFLAGS)
-trlocalS: i_trlocalS.o ../lib/libseqaln.a
+trlocalS.exe: i_trlocalS.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o trlocalS i_trlocalS.o $(LDFLAGS)
-mlocalS: i_mlocalS.o ../lib/libseqaln.a
+mlocalS.exe: i_mlocalS.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o mlocalS i_mlocalS.o $(LDFLAGS)
-localS: i_localS.o ../lib/libseqaln.a
+localS.exe: i_localS.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o localS i_localS.o $(LDFLAGS)
-fitS: i_fitS.o ../lib/libseqaln.a
+fitS.exe: i_fitS.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o fitS i_fitS.o $(LDFLAGS)
-mfitS: i_mfitS.o ../lib/libseqaln.a
+mfitS.exe: i_mfitS.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o mfitS i_mfitS.o $(LDFLAGS)
-pfitS: i_pfitS.o ../lib/libseqaln.a
+pfitS.exe: i_pfitS.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o pfitS i_pfitS.o $(LDFLAGS)
-fitD: i_fitD.o ../lib/libseqaln.a
+fitD.exe: i_fitD.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o fitD i_fitD.o $(LDFLAGS)
-mfitD: i_mfitD.o ../lib/libseqaln.a
+mfitD.exe: i_mfitD.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o mfitD i_mfitD.o $(LDFLAGS)
-globalS: i_globalS.o ../lib/libseqaln.a
+globalS.exe: i_globalS.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o globalS i_globalS.o $(LDFLAGS)
-mglobalS: i_mglobalS.o ../lib/libseqaln.a
+mglobalS.exe: i_mglobalS.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o mglobalS i_mglobalS.o $(LDFLAGS)
-globalD: i_globalD.o ../lib/libseqaln.a
+globalD.exe: i_globalD.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o globalD i_globalD.o $(LDFLAGS)
-mglobalD: i_mglobalD.o ../lib/libseqaln.a
+mglobalD.exe: i_mglobalD.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o mglobalD i_mglobalD.o $(LDFLAGS)
-overS: i_overS.o ../lib/libseqaln.a
+overS.exe: i_overS.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o overS i_overS.o $(LDFLAGS)
-moverS: i_moverS.o ../lib/libseqaln.a
+moverS.exe: i_moverS.o ../lib/libseqaln.a
$(CC) $(CFLAGS) -o moverS i_moverS.o $(LDFLAGS)
#
seqaln/src/Makefile
--- ../seqaln-2.0-orig/seqaln-2.0/seqaln/src/Makefile Mon Feb 10 22:43:10 1997
+++ seqaln/src/Makefile Mon Jul 12 18:28:08 1999
@@ -33,7 +33,7 @@
ranlib ../lib/libseqaln.a
test: ../lib/libseqaln.a
- touch ../test
+# touch ../test
install: all
$(INSTALL) $(INFLAGS) ../lib/libseqaln.a $(LIBDIR)
seqaln/test/Makefile
--- ../seqaln-2.0-orig/seqaln-2.0/seqaln/test/Makefile Wed Sep 24 18:39:36 1997
+++ seqaln/test/Makefile Mon Jul 12 22:41:55 1999
@@ -42,7 +42,7 @@
fi ; \
\rm -f testout ; \
echo -n " $$TESTPROG(linear space)..." ; \
- linearize.sh master/$$TESTPROG.$(VERSION).out >testm ; \
+ ./linearize.sh master/$$TESTPROG.$(VERSION).out >testm ; \
$$i a.seq b.seq 19 17 13 7 +M +L >testout 2>&1 ; \
cmp -s testout testm ; \
if [ $$? -eq 0 ] ; then \
@@ -71,7 +71,7 @@
fi ; \
\rm -f testout ; \
echo -n " $$TESTPROG(linear space)..." ; \
- linearize.sh master/$$TESTPROG.$(VERSION).out >testm ; \
+ ./linearize.sh master/$$TESTPROG.$(VERSION).out >testm ; \
$$i a.seq b.seq $(MATDIR)/PAM250 0 13 7 +M +L >testout 2>&1 ; \
cmp -s testout testm ; \
if [ $$? -eq 0 ] ; then \
@@ -100,7 +100,7 @@
fi ; \
\rm -f testout ; \
echo -n " $$TESTPROG(linear space)..." ; \
- linearize.sh master/$$TESTPROG.$(VERSION).out >testm ; \
+ ./linearize.sh master/$$TESTPROG.$(VERSION).out >testm ; \
$$i globins b.seq 19 17 13 7 +M +L >testout 2>&1 ; \
cmp -s testout testm ; \
if [ $$? -eq 0 ] ; then \
@@ -129,7 +129,7 @@
fi ; \
\rm -f testout ; \
echo -n " $$TESTPROG(linear space)..." ; \
- linearize.sh master/$$TESTPROG.$(VERSION).out >testm ; \
+ ./linearize.sh master/$$TESTPROG.$(VERSION).out >testm ; \
$$i a.seq b.seq 17 13 7 +M +L >testout 2>&1 ; \
cmp -s testout testm ; \
if [ $$? -eq 0 ] ; then \
@@ -158,7 +158,7 @@
fi ; \
\rm -f testout ; \
echo -n " $$TESTPROG(linear space)..." ; \
- linearize.sh master/$$TESTPROG.$(VERSION).out >testm ; \
+ ./linearize.sh master/$$TESTPROG.$(VERSION).out >testm ; \
$$i a.seq b.seq $(MATDIR)/PAM250 0 13 7 +M +L >testout 2>&1 ; \
cmp -s testout testm ; \
if [ $$? -eq 0 ] ; then \
@@ -188,7 +188,7 @@
fi
@ \rm -f testout
@ echo -n " srlocalS(linear space)..."
- @ linearize.sh master/srlocalS.$(VERSION).out >testm
+ @ ./linearize.sh master/srlocalS.$(VERSION).out >testm
@ $(BINDIR)/srlocalS a.seq b.seq 19 17 13 7 +M +L >testout 2>&1
@ cmp -s testout testm
@ if [ $$? -eq 0 ] ; then \
@@ -209,7 +209,7 @@
fi
@ \rm -f testout
@ echo -n " msrlocalS(linear space)..."
- @ linearize.sh master/msrlocalS.$(VERSION).out >testm
+ @ ./linearize.sh master/msrlocalS.$(VERSION).out >testm
@ $(BINDIR)/msrlocalS a.seq b.seq $(MATDIR)/PAM250 0 13 7 +M +L >testout 2>&1
@ cmp -s testout testm
@ if [ $$? -eq 0 ] ; then \
@@ -230,7 +230,7 @@
fi
@ \rm -f testout
@ echo -n " trlocalS(linear space)..."
- @ linearize.sh master/mtrlocalS.$(VERSION).out >testm
+ @ ./linearize.sh master/mtrlocalS.$(VERSION).out >testm
@ $(BINDIR)/trlocalS a.seq b.pat 19 17 13 7 +M +L >testout 2>&1
@ cmp -s testout testm
@ if [ $$? -eq 0 ] ; then \
@@ -251,7 +251,7 @@
fi
@ \rm -f testout
@ echo -n " mtrlocalS(linear space)..."
- @ linearize.sh master/mtrlocalS.$(VERSION).out >testm
+ @ ./linearize.sh master/mtrlocalS.$(VERSION).out >testm
@ $(BINDIR)/mtrlocalS a.seq b.pat $(MATDIR)/PAM250 0 13 7 +M +L >testout 2>&1
@ cmp -s testout testm
@ if [ $$? -eq 0 ] ; then \
@@ -289,7 +289,7 @@
fi
@ \rm -f testout
@ echo -n " pvlocalS(linear space)..."
- @ linearize.sh master/pvlocalS.$(VERSION).out >testm
+ @ ./linearize.sh master/pvlocalS.$(VERSION).out >testm
@ $(BINDIR)/pvlocalS a.seq b.seq 19 17 13 7 +L mccaldon >testout 2>&1
@ cmp -s testout testm
@ if [ $$? -eq 0 ] ; then \
@@ -313,7 +313,7 @@
fi
@ \rm -f testout
@ echo -n " mpvlocalS(linear space)..."
- @ linearize.sh master/mpvlocalS.$(VERSION).out >testm
+ @ ./linearize.sh master/mpvlocalS.$(VERSION).out >testm
@ $(BINDIR)/mpvlocalS a.seq b.seq $(MATDIR)/PAM250 0 13 7 +L mccaldon >testout 2>&1
@ cmp -s testout testm
@ if [ $$? -eq 0 ] ; then \
@@ -337,7 +337,7 @@
fi
@ \rm -f testout
@ echo -n " pvsrlocalS(linear space)..."
- @ linearize.sh master/pvsrlocalS.$(VERSION).out >testm
+ @ ./linearize.sh master/pvsrlocalS.$(VERSION).out >testm
@ $(BINDIR)/pvsrlocalS a.seq 19 17 13 7 +L mccaldon >testout 2>&1
@ cmp -s testout testm
@ if [ $$? -eq 0 ] ; then \
@@ -361,7 +361,7 @@
fi
@ \rm -f testout
@ echo -n " mpvsrlocalS(linear space)..."
- @ linearize.sh master/mpvsrlocalS.$(VERSION).out >testm
+ @ ./linearize.sh master/mpvsrlocalS.$(VERSION).out >testm
@ $(BINDIR)/mpvsrlocalS a.seq $(MATDIR)/PAM250 0 13 7 +L mccaldon >testout 2>&1
@ cmp -s testout testm
@ if [ $$? -eq 0 ] ; then \
seqaln/test/linearize.sh (this is used only in make test)
--- linearize.sh.orig Mon Aug 02 00:41:07 1999
+++ linearize.sh Mon Aug 02 00:38:42 1999
@@ -1,3 +1,4 @@
+#!/bin/sh
# Remove, in order of expression:
# alignment lines beginning with position then letter
# alignment lines beginning with position then deletion
@@ -8,5 +9,5 @@
grep -v '[0-9] [A-Z]' $1 | \
grep -v '[0-9] -' | \
grep -v '\*' | \
- grep -v '\|' | \
+ grep -v '|' | \
sed -e 's/[0-9]*\.\.//g'
after these changes, make runs without errors
- make install
- works right out of the box if the directory hierarchy (see above) exists
- notes
- make test should give EXACT MATCH for all tests except for pfitS. This
program is broken in version 2.0 according to the authors.
- package availability
- http://members.tripod.com/~mhoenicka/seqaln.html
- contributed by
- hoenicka_markus@compuserve.com (Markus Hoenicka)
contents
contents
*sgrep 1.92a*
-----------
- what is it?
- a structured grep. This is a grep-like search tool for querying
all kinds of structured text. SGML/XML/HTML come to mind, but it
is also useful to search TeX or C source code and email/news
articles. The major difference to other search tools is that it
works on regions of text, not lines or the whole file. Regions
can be defined by offsets or by delimiting text like HTML-tags.
- system
- Windows NT4, sp3
- Cygwin
- for B20.1, text or binary mount
- preliminaries
- sources are from:
http://www.cs.helsinki.fi/~jjaakkol/sgrep.html
- /usr/local/bin should exist as a directory or symlink. Symlinks
in /usr/local called man and share should point to the
cygwinb20/man and cygwinb20/share directories, respectively
- configure
- ./configure
- make
- The generated Makefile needs the following changes:
+ search for the line:
bin_PROGRAMS = sgrep
and change it to
bin_PROGRAMS = sgrep.exe
+ search for the line:
sgrep: $(sgrep_OBJECTS) $(sgrep_DEPENDENCIES)
and change it to
sgrep.exe: $(sgrep_OBJECTS) $(sgrep_DEPENDENCIES)
+ add the -s flag to CFLAGS
- make install
- just run make install
- notes
- none
- package availability
- http://members.tripod.com/~mhoenicka/sgrep.html
- contributed by
- hoenicka_markus@compuserve.com (Markus Hoenicka)
contents
contents
*ssh-1.2.22-Win32-Beta1*
----------------------
- what is it?
- a port of the Secure Shell (ssh) to Cygwin. See
http://www.cs.hut.fi/ssh for more information.
- system
- Should work on any Win32 system. Tested on Win95
- Cygwin
- for B19
- preliminaries
- Need base Cygnuswin32 runtime environment. May need
networking.
- configure
- Includes hacked Makefile. Configure not touched yet.
- make
- No special parameters required.
- make install
- Doesn't work. Read install.w32 for install instructions.
- notes
- Read install.w32
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Mathur_Raju
- as ssh-1.2.22-Win32-Beta1-src.zip (source)
ssh-1.2.22-Win32-Beta1-src.zip.asc (PGP sign)
ssh-1.2.22-Win32-Beta1-src.zip.md5 (MD5 sum)
ssh-1.2.22-Win32-Beta1.zip (binaries)
ssh-1.2.22-Win32-Beta1.zip.asc (PGP sign)
ssh-1.2.22-Win32-Beta1.zip.md5 (MD5 sum)
README.ssh-GNUWIN32 (this file)
- contributed by
- raju@sgi.com (Raju Mathur)
contents
contents
*ssh 1.2.26*
----------
- what is it?
- Cygwin port of secure shell
- system
- NT4 (Windows 95 may or may not work - There are some notes to solve
problems (if they exist) for win95.)
- Cygwin
- for cygwinb20
- preliminaries
- Having cygwinb20 running is required :)
- configure
- Configure works (unchanged)
- make
- Works fine. Makefile unchanged
- make install
- May or may not work. See 00README.W32 for details.
- package availability
- ssh-1.2.26-CygWinB20.tar.gz (source)
- notes
- Shortcomings:
- I have no idea if X11 forwarding works on this thing. The
code that handles it is still there.
- I have no idea if the daemon works. I'd be surprised if it did!
- contributed by
- Francis Chang <fhchang@undergrad.math.uwaterloo.ca>
contents
contents
*stat*
-------
- what is it?
- a collection of data manipulation and statistical analysis tools.
The data manipulation tools work on simple whitespace-delimited
input files, and the result can be piped through analysis tools
to perform statistical analyses like mean, SEM, ANOVA etc.
- system
- Windows NT4, sp3
- Cygwin
- for B20.1, text or binary mount
- preliminaries
- sources are from:
http://www.acm.org/~perlman/stat/
The sources are not GPL'led. They are still free to use unless
you want to sell them. You have to contact the author (email:
perlman@acm.org, make sure to read the conditions on the homepage
first) to either obtain a crypt password or to receive a decoded
source archive.
- makefile uses yacc/bison, so the latter has to be set up
properly. You have to create an environment variable BISONLIB
which points to /usr/local/share/ (including the trailing slash)
which itself is either a softlink to cygwin-b20/share or a
mountpoint for this directory.
- calc.y needs the following modifications:
- /usr/local/bin should exist (directory or symlink)
--- ../../stat-orig/src/calc.y Fri Apr 02 14:31:02 1993
+++ calc.y Sat Aug 14 21:38:11 1999
@@ -33,6 +33,7 @@
#include <math.h>
#include <ctype.h>
#include <signal.h>
+#include <stdlib.h>
#ifdef macintosh
#include <IOCtl.h>
#define isatty(x) (!ioctl(x, FIOINTERACTIVE, NULL))
@@ -77,7 +78,7 @@
double eval (), Answer;
double *Constant;
char *getline ();
-FILE *Outfile = stdout;
+FILE *Outfile;
%}
%union
@@ -386,6 +387,7 @@
{
int i;
signal (SIGINT, SIG_IGN);
+ Outfile = stdout;
if (isatty (fileno (stdin)))
{
Interactive = 1;
- configure
- none
- make
- makefile needs the following changes:
--- makefile.orig Tue Jun 22 18:00:22 1993
+++ makefile Sat Aug 14 22:32:43 1999
@@ -13,15 +13,16 @@
# you may need to compile with the -bsd option added to CFLAGS
##########################################################################
-DESTDIR=../bin# destination directory
-DESTDIR=../../bin# destination directory
-CFLAGS =-O# C Compiler Options
+CC =gcc# use GNU c compiler
+DESTDIR=/usr/local/bin# destination directory
+#DESTDIR=../../bin# destination directory
+CFLAGS =-O -s# C Compiler Options
LINK =$(CC) $(CFLAGS) -o $(DESTDIR)/$@# Generic link command
LIBS =-lm# libraries needed (math)
EDITOR =/usr/ucb/vi# editor to call on make edit
-RM =/bin/rm -f# remove forcefully
-MV =/bin/mv# move/rename files
-MAKE =/bin/make# use for recursive makes
+RM =rm -f# remove forcefully
+MV =mv# move/rename files
+MAKE =make# use for recursive makes
MAINS = abut.c anova.c calc.y colex.c contab.c desc.c dm.y dprime.c \
dsort.c features.c ff.c fpack.c linex.c maketrix.c oneway.c \
@@ -43,9 +44,9 @@
skipnumber.c specol.c strings.c tmpfile.c z.c
all:
- @/bin/echo "Making all the |STAT Programs"
- @/bin/echo "Using compiler=$(CC) with options=$(CFLAGS)"
- @/bin/echo "Installing in directory=$(DESTDIR)"
+ @echo "Making all the |STAT Programs"
+ @echo "Using compiler=$(CC) with options=$(CFLAGS)"
+ @echo "Installing in directory=$(DESTDIR)"
@$(MAKE) -i $(PROGS)
edit:
@@ -73,8 +74,8 @@
calc: $(CALC)
$(LINK) $(CALC) $(LIBS)
calc.c: calc.y
- yacc calc.y
- $(MV) y.tab.c calc.c
+ bison calc.y
+ $(MV) calc.tab.c calc.c
cat:
$(LINK) -DCAT filter.c
@@ -103,8 +104,8 @@
dm.o: dm.c
$(CC) $(CFLAGS) -DPTREE -c dm.c
dm.c: dm.y
- yacc dm.y
- $(MV) y.tab.c dm.c
+ bison dm.y
+ $(MV) dm.tab.c dm.c
DPRIME=dprime.o number.o z.o parseline.o getopt.o
UNTESTED = "This program has not been rigorously tested"
This builds into stat/bin, you may change DESTDIR to /usr/local/bin to
install the binaries
- make install
- install manually (from build root):
- for installing the binaries, see above
- copy the man pages in stat/man into your man1 directory
- notes
- the calc utility uses the EOF character (Ctrl-D) to quit. This
doesn't work with CygWinB20.1, use Ctrl-Z instead to jump out.
- the calc utility has the same name (calc.exe) as the Windows
desktop calculator. Make sure that the CygWin binary path is in
$PATH before the Windows binary paths.
- package availability
- Currently no binary package publicly available due to the
restricted license. I may not put the package on a ftp or http
server, but I may give away copies. So build yourself or email me
if need be.
- a patchkit is available at
http://members.tripod.com/~mhoenicka/stat.html
- contributed by
- hoenicka_markus@compuserve.com (Markus Hoenicka)
contents
contents
*tacg 2.35*
---------
- what is it?
- restriction analysis software. searches also for nucleic acid
patterns and ORFs
- system
- Windows NT4, sp3
- Cygwin
- for B20.1, text or binary mount
- preliminaries
- get the sources from:
ftp://mamba.bio.uci.edu/pub/tacg/tacg-src-latest.tar.gz
- /usr/lib should be a symlink to
cygwin-b20/H-i586-cygwin32/i586-cygwin32/lib to let make find
libma.a (or use an equivalent mount)
- configure
- none
- make
- works with the following changes to Makefile.generic
--- Makefile.generic.orig Tue Oct 28 00:31:10 1997
+++ Makefile Sat Aug 07 00:45:53 1999
@@ -40,9 +40,9 @@
# on a large system, it should probably be '~/bin'. The default is to
# install it in the current diectory, which is no different than just
# 'making' it.
-DEST = .
+#DEST = .
#DEST = ~/bin
-#DEST = /usr/local/bin
+DEST = /usr/local/bin
XTHDRS =
@@ -62,8 +62,8 @@
# On Suns, running both SunOS and Solaris,depending on how the libs have been
# set up, you may have to add a path to the
-socket and nsl libs as well as the math lib, either static or shared:
-uncomment only one of the LIBS lines below:
+# socket and nsl libs as well as the math lib, either static or shared:
+# uncomment only one of the LIBS lines below:
# Shared libs - Sun
#LIBS = /usr/lib/libsocket.so.1 /usr/lib/libm.so.1 /usr/lib/libnsl.so.1
@@ -123,9 +123,9 @@
install: $(PROGRAM)
@echo Installing $(PROGRAM) in $(DEST)
- @-strip $(PROGRAM)
+ @-strip $(PROGRAM).exe
@if [ $(DEST) != . ]; then \
- (rm -f $(DEST)/$(PROGRAM); $(INSTALL) $(PROGRAM) $(DEST)); fi
+ (rm -f $(DEST)/$(PROGRAM).exe; $(INSTALL) $(PROGRAM).exe $(DEST)); fi
print:; @$(PRINT) $(HDRS) $(SRCS)
- make install
- works straightforward with the above patch
- additionally, you have to copy the files of the /data and /docs
subdirectories into one directory and let an environment variable
called TACGLIB point to this directory. Finally, copy the tacg.1
man page into your man1 subdirectory.
- package availability
- http://members.tripod.com/~mhoenicka/tacg.html
- contributed by
- hoenicka_markus@compuserve.com (Markus Hoenicka)
contents
contents
The tar ball includes a patch so that tar -I works with bzip2 files.
(Already applied)
unpack tar-1.12.tar.gz
cd tar-1.12
export CFLAGS=-I/usr/local/include
export LDFLAGS=-L/usr/local/lib
./configure
make
make check
ign test fails -- not sure why?
make install
contents
contents
*tar4bzip2*
---------
- what is it?
- binaries of bzip2 and tar with bzip2 support
- system
- built on win95b Cygwin B19.1+
- Cygwin
- for B19
- preliminaries
- tar vzxf bzip2-0.1pl2.tar.gz
- apply the tar patch to tar-1.12 from the cdk src
- configure
- no configure script open bzip2.c and make sure these
macros are defined like this.
/*--
Generic 32-bit Unix.
Also works on 64-bit Unix boxes.
--*/
#define BZ_UNIX 1
/*--
Win32, as seen by Jacob Navia's excellent
port of (Chris Fraser & David Hanson)'s excellent
lcc compiler.
--*/
#define BZ_LCCWIN32 0
- make
- just type make
- make install
- copy the binaries to your $PATH
- ln -s bzip2.exe bunzip2
- notes
- bzip2 is 10-50% more compressive on uncompressed data
than zip or gzip. already compressed data can grow
in size
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Mikey
- as gnuwin32_B19_tar4bzip2.tgz
- http://www.muraroa.demon.co.uk/
- http://www.digistar.com/bzip2/index.html
- http://www.digistar.com/bzip2/bzip2-0.1pl2.tar.gz
- contributed by
- jeffdbREMOVETHIS@netzone.com <Mikey>
contents
contents
*tcp wrappers version 7.6*
------------------------
- what is it?
- Tool set for monitoring and filtering connections to your
various daemons (telnetd, ftpd, sshd, etc)
- system
- Windows NT 4.0
- Cygwin
- for Cygwin 1.1.0 (haven't tested with 1.1.1, but I don't think it would have a problem)
- preliminaries
- get the source package
- tcp_wrap.tar.gz
it can be found
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/porters/Brooks_Prentis
- as tcp_wrap.tar.gz
-
- configure
- None
- make
- move tcp_wrappers_7.6/in_systm.h to
%cygdir%\usr\i686-cygwin\include\netinet
- make install
- None
- notes
- As with the original tcp wrapper tool set, you can either have
make move your files or manually do it. Default is to manually
move them, to change it, edit the Makefile. It is well
commented on how to do that.
- Source and Binaries are in the same tar file.
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/porters/Brooks_Prentis
- as tcp_wrap.tar.gz
- contributed by
- prentis@aol.net (Prentis Brooks)
contents
contents
*termcap-1.3*
-----------
- what is it?
-
- system
- ???
- Cygwin
- for B19
- 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)
contents
contents
*texinfo-3.12 (GNU texinfo tool)*
-------------------------------
- what is it?
- Texinfo is a documentation system that uses a single source file to
produce both on-line information and printed output.
- system
- tested it under NT 4
- Cygwin
- tested it with B20.1
- preliminaries
- none
- configure
- simply run it
- make
- check that MAKE_MODE=UNIX, then run it
- make install
- simply run it
- notes
- none
- package availability
- on prep.ai.mit.edu
- in /gnu/texinfo
- as texnfo-3.12.tar.gz
- contributed by
- van.woerkom@netcologne.de (Marc E.E. van Woerkom)
contents
contents
First, bootstrap by building only makeinfo.exe as explained in
gettext-0.10.35-cygwin-pre21.README
'Course, since gettext is a prerequisite, you might as well build
these packages first:
Prerequisites:
gettext
ncurses
Then, configure:
export CLFAGS=-I/usr/local/include
export LDFLAGS=-L/usr/local/lib
./configure --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --prefix=/usr/local
make
make check (a no-op)
make install
make_install will install the following files:
/usr/local/bin/info
/usr/local/bin/makeinfo
/usr/local/share/locale/de/LC_MESSAGES/texinfo.mo
/usr/local/share/locale/fr/LC_MESSAGES/texinfo.mo
/usr/local/bin/install-info
/usr/local/bin/texindex
/usr/local/bin/texi2dvi
/usr/local/info/info-stnd.info
/usr/local/info/texinfo*
/usr/local/info/info.info
and then it runs the following commands [1]:
install-info --info-dir=/usr/local/info /usr/local/info/info-stnd.info
install-info --info-dir=/usr/local/info /usr/local/info/info.info
install-info --info-dir=/usr/local/info /usr/local/info/texinfo
and finally, I installed these files by hand
/usr/local/share/texmf/tex/texinfo/texinfo.tex
/usr/local/share/texmf/generic/dvips/epsf.tex
[1]
If you unpack the binary distro, you'll need to run these three
commands yourself
contents
contents
unpack tiff-v3.5.2.tar.gz
cd tiff-v3.5.2
patch < ../tiff-v3.5.2-cygwin-pre21-dll.patch
to avoid a 6.5MB library, force the compile to NOT use "-g". However, the
configure program is braindead, so you have to define GCOPTS to be something
non-empty, but useless:
export GCOPTS=-DFOO__BAR
./configure
make
STOP the make after libtiff is created.
rm any .exe's created
mkdir tmp
cp libtiff.a tmp
dlltool-def libtiff.a --export-all-symbols --output-def libtiff.def
cd tmp
ar x libtiff.a
dllwrap *.o --def ../libtiff.def -o ../libtiff.dll
rm *
cd ..
rmdir tmp
mv libtiff.a libtiff.static.a
dlltool --def libtiff.def --output-lib libtiff.dll.a
ln -s libtiff.dll.a libtiff.a
cp libtiff.dll /usr/local/bin
chmod 755 /usr/local/bin/libtiff.dll
make
make install
cp libtiff.static.a /usr/local/lib
cp libtiff.dll.a /usr/local/lib
cp dl_import.h /usr/local/include
chmod 755 /usr/local/lib/libtiff.static.a
chmod 755 /usr/local/lib/libtiff.dll.a
chmod 644 /usr/local/include/dl_import.h
cd /usr/local/lib
rm libtiff.a
ln -s libtiff.dll.a libtiff.a
contents
contents
unpack tiff-v3.5.2.tar.gz
cd tiff-v3.5.2
patch < ../tiff-v3.5.2-cygwin-pre21.patch
to avoid a 6.5MB library, force the compile to NOT use "-g". However, the
configure program is braindead, so you have to define GCOPTS to be something
non-empty, but useless:
export GCOPTS=-DFOO__BAR
./configure
make
make install
/usr/local/bin/fax2ps.exe
/usr/local/bin/fax2tiff.exe
/usr/local/bin/gif2tiff.exe
/usr/local/bin/pal2rgb.exe
/usr/local/bin/ppm2tiff.exe
/usr/local/bin/ras2tiff.exe
/usr/local/bin/rgb2ycbcr.exe
/usr/local/bin/thumbnail.exe
/usr/local/bin/tiff2bw.exe
/usr/local/bin/tiff2ps.exe
/usr/local/bin/tiff2rgba.exe
/usr/local/bin/tiffcmp.exe
/usr/local/bin/tiffcp.exe
/usr/local/bin/tiffdither.exe
/usr/local/bin/tiffdump.exe
/usr/local/bin/tiffinfo.exe
/usr/local/bin/tiffmedian.exe
/usr/local/bin/tiffsplit.exe
/usr/local/lib/libtiff.a
/usr/local/include/tiff.h
/usr/local/include/tiffio.h
/usr/local/man/man1/fax2ps.1
/usr/local/man/man1/fax2tiff.1
/usr/local/man/man1/gif2tiff.1
/usr/local/man/man1/pal2rgb.1
/usr/local/man/man1/ppm2tiff.1
/usr/local/man/man1/ras2tiff.1
/usr/local/man/man1/rgb2ycbcr.1
/usr/local/man/man1/sgi2tiff.1
/usr/local/man/man1/thumbnail.1
/usr/local/man/man1/tiff2bw.1
/usr/local/man/man1/tiff2ps.1
/usr/local/man/man1/tiffcmp.1
/usr/local/man/man1/tiffcp.1
/usr/local/man/man1/tiffdither.1
/usr/local/man/man1/tiffdump.1
/usr/local/man/man1/tiffgt.1
/usr/local/man/man1/tiffinfo.1
/usr/local/man/man1/tiffmedian.1
/usr/local/man/man1/tiffsplit.1
/usr/local/man/man1/tiffsv.1
/usr/local/man/man3/libtiff.3t
/usr/local/man/man3/TIFF*.3t
/usr/local/doc/tiff/*
/usr/local/doc/tiff/images/*
contents
contents
*tin-1.4.4*
---------
- what is it?
- A Usenet newsreader
- system
- Win32 (NT fits best)
- Cygwin (http://www.cygwin.com/setup.exe)
- for cygwin1.dll 1.1.8
- preliminaries
- install ncurses first
- get tin source
- it can be found
- on ftp://ftp.tin.org
- in /tin/current/
- as tin-1.4.4.tar.gz
- if it no more available there, it should be in this directory
at ftp.uni-erlangen.de as tin-1.4.4-src.tar.gz
(this README is included)
- unpack the source
- $ tar zxvf tin-1.4.4.tar.gz
- $ cd tin-1.4.4
- configure
- $ export CC=gcc
- $ export CFLAGS=-DSTATIC
- $ ./configure --with-ncurses --libdir=/usr/local/lib --disable-locale
- make install
- edit the Makefile in /src, this part:
install_manpage: $(INSTALL_PREFIX)$(INS_MANUAL_DIR)$(INS_MANUAL_EXT)
@$(ECHO) "Installing $(EXE) manual page to $(INSTALL_PREFIX)$(INS_MANUAL_DIR)$(INS_MANUAL_EXT)..."
@$(INSTALL) -m 444 $(DOCDIR)/tin.$(MANEXT) $(INSTALL_PREFIX)$(INS_MANUAL_DIR)$(INS_MANUAL_EXT)/tin.$(INS_MANUAL_EXT)
^^^ here and ^^^ here
where now is 'tin' was $(EXE) before (now, before make install, it should look like i showed two lines above )
- $ cd src
- $ make install
- after install
- add to your profile (.bashrc):
export NNTPSERVER=your.nntp.server
- notes
- You also need an editor. vim works fine.
- package availability (binaries only)
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.1
- as tin-1.4.4-cygwin-1.1.8.tar.gz
- package availability (sourcees)
- s.a.
- in /pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.1
- as tin-1.4.4-src.tar.gz (this README is included)
- contributed by
- gerrit.haase@t-online.de (Gerrit Peter Haase) 2001-03-06
contents
contents
*tkinfo-1.5*
----------
- what is it?
- A tk script to read and display GNU "info" files
- system
- Windows NT4 and Windows 95
- preliminaries
- Uncompress and place file tkinfo somewhere in path
- configure
- none
- make
- none
- make install
- none
- notes
- I changed the font size from 12 to 16 points, and
updated default search path
- package availability
- originally tkinfo-1.5.tar.gz, available on many sites
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Billinghurst_David
- as tkinfo-1.5.zip
- contributed by
- David.Billinghurst@riotinto.com.au
contents
contents
*ucl-0.92*
--------
- what is it?
- UCL is a portable lossless data compression library written
in ANSI C.
- homepage: http://wildsau.idv.uni-linz.ac.at/mfx/ucl.html
- system
- Compiled on: CYGWIN_NT-4.0 1.1.8(0.34/3/2)
- for cygwin
- preliminaries for *building*
- nasm
- get the source package
- ucl-0.92.tar.gz
it can be found
- at the homepage (see above)
- or at http://wildsau.idv.uni-linz.ac.at
- in /mfx/download/ucl/
- as ucl-0.92.tar.gz
- configure
- $ configure
- make
- $ make
- make install
- $ make install
- notes
- builds OOTB
- (binaries) package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.1
- as ucl-0.92-cygwin.tar.gz
- (source) package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.1
- as ucl-0.92-src.tar.gz
- contributed by
- gerrit.haase@t-online.de (Gerrit Peter Haase) 2001-04-15
contents
contents
*un*
--
- what is it?
- a converter for physical units. The simplest example is to find
out how many cm make up one inch. In the menu-driven software,
you type in a number in your given unit and see what this number
corresponds to in all other units of the same group. Groups are
e.g. length, mass, volume, temperature, cooking volumes.
- system
- Windows NT4, sp3
- Cygwin
- for B20.1, text or binary mount
- preliminaries
- get the sources at http://www.wctc.net/~wallin/convert/units.tar.gz
- /usr/local/bin and /usr/local/man should be symlinks to
cygwin-b20/H-i586-cygwin32/i586-cygwin32/bin and /man,
respectively (or use equivalent mounts)
- configure
- none
- make
- apply the following patch to makefile:
--- makefile.orig Fri Jun 23 21:08:28 1989
+++ makefile Fri Aug 06 22:20:16 1999
@@ -1,9 +1,9 @@
# UN.C
# Unit conversion program
-BIN = /usr/local
-CC = cc -O
-MAN = /usr/man/manl
+BIN = /usr/local/bin
+CC = gcc -O
+MAN = /usr/local/man/man1
PROG = un
OBJ = u.o cons.o control.o getit.o temp.o
INC = un.h unit_table.h
@@ -27,8 +27,8 @@
$(CC) -c temp.c
install:
- cp $(PROG) $(BIN)
- chmod a+rx $(BIN)/$(PROG)
- strip $(BIN)/$(PROG)
- cp $(PROG).n $(MAN)/$(PROG).l
- chmod a+r $(MAN)/$(PROG).l
+ install $(PROG).exe $(BIN)
+ chmod a+rx $(BIN)/$(PROG).exe
+ strip $(BIN)/$(PROG).exe
+ install $(PROG).n $(MAN)/$(PROG).1
+ chmod a+r $(MAN)/$(PROG).1
- make install
- works straightforward after applying the above patch
- package availability
- http://members.tripod.com/~mhoenicka/un.html
- contributed by
- hoenicka_markus@compuserve.com (Markus Hoenicka)
contents
contents
unpackled package was built without encryption support (thanks to stupid
US governent regulations). If you want to build zip *with* encryption support
it should work; just unpack the source code here, and apply the patch. Then
you need to get the zcrypt27.zip package from
ftp://ftp.icce.rug.nl/infozip/src/ and overwrite the dummy files ./crypt.c and
./crypt.h
Before building (either the regular or the encryption-enable version) be sure
that the "crypt.h" file in your /usr/local/include has been renamed.
unpack unzip532.tar.gz
cd unzip-5.32
patch -p1 < ../unzip-5.32-cygwin-pre21.patch
make -f unix/Makefile generic
make -f unix/Makefile test
ignore failure of unzipsfx. It's not supposed to work, since it
makes unwarranted assumptions about the binary file format.
make -f unix/Makefile install
/usr/local/bin/unzip.exe
/usr/local/bin/funzip.exe
/usr/local/bin/unzipsfx.exe
/usr/local/bin/zipgrep
/usr/local/bin/zipinfo.exe (copy of unzip.exe)
/usr/local/man/man1/funzip.1
/usr/local/man/man1/unzip/1
/usr/local/man/man1/unzipsfx.1
/usr/local/man/man1/zipgrep.1
/usr/local/man/man1/zipinfo.1
contents
contents
The precompiled package was built without encryption support (thanks to stupid
US governent regulations). If you want to build zip *with* encryption support
it should work; just unpack the source code here, and apply the patch. Then
you need to get the following:
the zcrypt29.zip package from ftp://ftp.freesoftware.com/pub/infozip/src
extract it and and overwrite the dummy files ./crypt.c and ./crypt.h
The US has slightly relaxed export restrictions on encryption source code,
but not binaries. Therefore the precompiled versions here do not contain
encryption code. Also, I will not provide the encryption source because
the law requires certain government agencies to be notified, and I'm not
willing to do that.
Before building (either the regular or the encryption-enable version) be sure
that the "crypt.h" file in your /usr/local/include has been renamed.
The build instructions here are slightly different than those I presented
for unzip-5.32. As Cosmin Truta pointed out,
Please note that Cygwin is regarded as a Windoze platform,
not as Unix. Therefore, the compilation is
make -f win32/makefile.gcc
for both Cygwin and Mingw32.
The files produced have the HostOS value equal to 11 (WinNT
filesystem), not 3 (Unix), and the NTSD descriptors are also
stored in the zip archive, along with the universal time
(as in the Unix versions).
unpack zip541.tar.gz
cd unzip-5.41
LOCAL_UNZIP="-DHAVE_TERMIOS_H -DDIRENT" \
make -f win32/makefile.gcc
install -m 755 *.exe /usr/local/bin
install -m 755 unzip.exe /usr/local/bin/zipinfo.exe
install -m 755 unix/zipgrep /usr/local/bin
install -m 644 man/*.1 /usr/local/man/man1
/usr/local/bin/unzip.exe
/usr/local/bin/funzip.exe
/usr/local/bin/unzipsfx.exe
/usr/local/bin/zipgrep
/usr/local/bin/zipinfo.exe (copy of unzip.exe)
/usr/local/man/man1/funzip.1
/usr/local/man/man1/unzip/1
/usr/local/man/man1/unzipsfx.1
/usr/local/man/man1/zipgrep.1
/usr/local/man/man1/zipinfo.1
contents
contents
*upx-1.07*
--------
- what is it?
- UPX is an advanced executable file compressor.
- homepage: http://wildsau.idv.uni-linz.ac.at/mfx/upx.html
- system
- Compiled on: CYGWIN_NT-4.0 1.1.8(0.34/3/2)
- for cygwin
- preliminaries for *building*
- ucl-0.92 source
- get the source package
- upx-1.07-src.tar.gz
it can be found
- at the homepage (see above)
- or at http://wildsau.idv.uni-linz.ac.at
- in /mfx/download/upx/
- as upx-1.07-src.tar.gz
- unpack the source (tar zxvf upx-x.xx-src.tar.gz)
- cd upx-x.xx
- cd src
- set the environment variable UCLDIR to point to your
UCL installation, e.g.
$ export UCLDIR=/src/mfx/ucl
- make
- $ make target=cygwin
- stubs are working only at linux at this time?
- install binary
- $ cp upx.exe /usr/local/bin
- install docs
- cd ..
- cd doc
- make
- cp upx.1 /usr/local/man/man1
- mkdir /usr/doc/upx-1.07
- cp upx.html /usr/doc/upx-1.07
- notes
- builds OOTB
- it is easier to fetch the cygwin binary:-)
- (binaries) package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.1
- as upx-1.07-cygwin.tar.gz
- (source) package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Haase_Gerrit/1.1
- as upx-1.07-src.tar.gz
- contributed by
- gerrit.haase@t-online.de (Gerrit Peter Haase) 2001-04-15
contents
contents
*uucp-1.06.1*
-----------
- what is it?
- Ian Taylor's Unix to Unix copy: mail and news over modem lines.
This is the standard UUCP package of the Free Software Foundation.
- system
- Windows NT4 German / SP5
- Cygwin
- for 1.0
- binary mounts only
- CYGWIN=binmode glob strip_title title notty nontea nontsec
- preliminaries
- get the source package
- uucp-1.06.1.tar.gz
it can be found
- on ftp.uni-erlangen.de
- in /cp/gnuwin32/cygwin/porters/Hirmke_Michael/1.0
- as uucp-1.06.1-src.tar.gz
- configure
- works without changes
- example: ./configure --prefix=/usr/local
- edit ./Makefile afterwards
- remove all lines with "chmod" and "chown", because they can't
handle .exe extensions; be careful with continuation lines
- of course you can also introduce something like $SUFFIX, but
this isn't necessary on Win32 systems;
- make
- works without changes
- make install
- mkdir <prefix>/lib
- prefix is what you told configure with --prefix
- example: mkdir /usr/local/lib
- mkdir <prefix>/man
- prefix is what you told configure with --prefix
- example: mkdir /usr/local/man
- run "make install" as normal
- be sure to use the replacement install script instead of
install.exe, so that .exe suffixes are handled properly
- make install-info
- works without changes with Cygwin 1.0, which comes with texinfo
- notes
- you have to properly configure this package before you can use it;
if you aren't familiar with Taylor uucp I would suggest to read
a few good docs before starting
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Hirmke_Michael/1.0
- as uucp-1.06.1-cygwin-1.0-bin.tar.gz
- or uucp-1.06.1-cygwin-1.0-bin.zip
- contributed by
- Michael@Hirmke.de (Michael Hirmke)
contents
contents
*uudeview-0.5.13*
--------------
- what is it?
- uudeview - a powerful decoder for binary files, supports the
uuencoding, xxencoding, Base64 and BinHex encoding methods, and
is able to handle split-files (which have been sent in multiple
parts) as well as multiple files at once, thus greatly simplifying
the decoding process. Usually, you will not have to manually edit
files to prepare them for decoding.
- system
- Windows NT4, sp3
- configure
- works without changes.
- make
- works without changes
- make install
- cp binaries to $PATH.
- package availability
- on ftp://sunsite.unc.edu
- in /pub/Linux/utils/text
- as uudeview-0.5.13.tar.gz
- http://www.informatik.uni-frankfurt.de/~fp/uudeview/
- contributed by
- dnick@her.forthnet.gr (Nick Dandalis)
contents
contents
*vim-5.5*
-------
- what is it?
- Vim (Vi Improved) is an almost compatible version of the UNIX
editor vi whereby almost every possible command can be performed
using only ASCII characters. Only the 'Q' command is missing
(you don't need it). Many new features have been added: multi
level undo, command line history, filename completion, block
operations, editing of binary data, etc. Vi is available for
the AMIGA, MS-DOS, Windows NT, and various versions of UNIX.
- system
- Windows NT4 German / SP5
- Cygwin
- for 1.0
- binary mounts only
- CYGWIN=binmode glob strip_title title notty nontea nontsec
- preliminaries
- you first have to install *ncurses-4.x*, if you want vim to
run in another terminal mode than the builtin ones;
if you are using Cygwin 1.0, ncurses is already installed on
your system as one of the distrib packages
- get the source packages
- vim-5.5.tar.gz (the source code)
- vim-5.5-rt-unix.tar.gz (the so called runtime system)
they can be found
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Hirmke_Michael/1.0
- as vim-5.5-src.tar.gz
and
- as vim-5.5-rt-unix.tar.gz
- configure
- works without changes, for example with
./configure --prefix=/usr/local
- make
- works without changes
- make install
- export SUFFIX=.exe
- now "make install" runs without further problems
- notes
- none
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Hirmke_Michael/1.0
- or vim-5.5-cygwin-1.0-without-gui-bin.tar.gz
- or vim-5.5-cygwin-1.0-without-gui-bin.zip
- contributed by
- Michael@Hirmke.de (Michael Hirmke)
contents
contents
unpack vim-5.5-src.tar.gz
unpack vim-5.5-rt.tar.gz
cd vim-5.5
CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure --prefix=/usr/local --x-includes=/usr/X11R6.4/include --x-libraries=/usr/X11R6.4/lib --enable-gui=no --disable-gtktest --disable-gpm --with-tlib=ncurses
make
make will fail because the libraries are in the wrong order. enter the following command by hand:
gcc -L/usr/local/lib -o vim buffer.o charset.o digraph.o edit.o eval.o ex_cmds.o ex_docmd.o ex_getln.o fileio.o getchar.o if_cscope.o main.o mark.o memfile.o memline.o menu.o message.o misc1.o misc2.o multbyte.o normal.o ops.o option.o os_unix.o pathdef.o quickfix.o regexp.o screen.o search.o syntax.o tag.o term.o ui.o undo.o window.o version.o -L/usr/X11R6/lib -lXt -lICE -lSM -lX11 -lncurses
then restart make
mkdir -p /usr/local/share/vim/vim55/doc
mkdir -p /usr/local/share/vim/vim55/syntax
mkdir -p /usr/local/share/vim/vim55/macros
mkdir -p /usr/local/share/vim/vim55/tools
export SUFFIX=.exe
make install
Then, edit the file /usr/local/share/vim/vim55/syntax/synload.vim
to fix the colors. It should look like this: when you're done,
starting around line 20.
if &background == "dark"
" hi Comment term=bold ctermfg=Cyan guifg=#80a0ff
" hi Constant term=underline ctermfg=Magenta guifg=#ffa0a0
" hi Special term=bold ctermfg=LightRed guifg=Orange
" hi Identifier term=underline cterm=bold ctermfg=Cyan guifg=#40ffff
" hi Statement term=bold ctermfg=Yellow guifg=#ffff60 gui=bold
" hi PreProc term=underline ctermfg=LightBlue guifg=#ff80ff
" hi Type term=underline ctermfg=LightGreen guifg=#60ff60 gui=bold
" hi Ignore ctermfg=black guifg=bg
hi Comment term=bold ctermfg=Blue guifg=#80a0ff
hi Constant term=underline ctermfg=Cyan guifg=#ffa0a0
hi Special term=bold ctermfg=LightRed guifg=Orange
hi Identifier term=underline cterm=bold ctermfg=Cyan guifg=#40ffff
hi Statement term=bold ctermfg=Yellow guifg=#ffff60 gui=bold
hi PreProc term=underline ctermfg=Magenta guifg=#ff80ff
hi Type term=underline ctermfg=Green guifg=#60ff60 gui=bold
hi Ignore ctermfg=black guifg=bg
else
contents
contents
The following will build vim without any dependence on
X11 and without any kind of GUI - an old-fashioned
terminal-based editor. If you do want to build with
X support, the hint at the bottom of this file may
be helpful.
unpack vim-5.6-src.tar.gz
unpack vim-5.6-rt.tar.gz
cd vim-5.6
CFLAGS=-I/usr/local/include \
LDFLAGS=-L/usr/local/lib \
./configure \
--prefix=/usr/local \
--host=i686-pc-cygwin \
--enable-gui=no \
--disable-gtktest \
--disable-gpm \
--without-x \
--with-tlib=ncurses
make
export SUFFIX=.exe
make install
Then, edit the file /usr/local/share/vim/vim56/syntax/synload.vim
to fix the colors. It should look like this: when you're done,
starting around line 20.
if &background == "dark"
" hi Comment term=bold ctermfg=Cyan guifg=#80a0ff
" hi Constant term=underline ctermfg=Magenta guifg=#ffa0a0
" hi Special term=bold ctermfg=LightRed guifg=Orange
" hi Identifier term=underline cterm=bold ctermfg=Cyan guifg=#40ffff
" hi Statement term=bold ctermfg=Yellow guifg=#ffff60 gui=bold
" hi PreProc term=underline ctermfg=LightBlue guifg=#ff80ff
" hi Type term=underline ctermfg=LightGreen guifg=#60ff60 gui=bold
" hi Ignore ctermfg=black guifg=bg
hi Comment term=bold ctermfg=Blue guifg=#80a0ff
hi Constant term=underline ctermfg=Cyan guifg=#ffa0a0
hi Special term=bold ctermfg=LightRed guifg=Orange
hi Identifier term=underline cterm=bold ctermfg=Cyan guifg=#40ffff
hi Statement term=bold ctermfg=Yellow guifg=#ffff60 gui=bold
hi PreProc term=underline ctermfg=Magenta guifg=#ff80ff
hi Type term=underline ctermfg=Green guifg=#60ff60 gui=bold
hi Ignore ctermfg=black guifg=bg
else
---------------------------------------------------------------
When building with X support, make will fail at a certain point
because the link libraries are in the wrong order. Just link
by hand with the following command, and then restart the make.
gcc -L/usr/local/lib -o vim buffer.o charset.o digraph.o edit.o eval.o ex_cmds.o ex_docmd.o ex_getln.o fileio.o getchar.o if_cscope.o main.o mark.o memfile.o memline.o menu.o message.o misc1.o misc2.o multbyte.o normal.o ops.o option.o os_unix.o pathdef.o quickfix.o regexp.o screen.o search.o syntax.o tag.o term.o ui.o undo.o window.o version.o -L/usr/X11R6/lib -lXt -lICE -lSM -lX11 -lncurses
contents
contents
NAME: w3m
VERSION: 0.3
RELEASE: 1
SUMMARY: A pager with Web browsing abilities.
DISTRIBUTION:
VENDOR:
LICENSE: BSD
PACKAGER: Hansom Young <glyoung@users.sourceforge.net>
GROUP: Applications/Internet
OS: Cygwin
ARCH: i586
SOURCE RPM:
DESCRIPTION:
The w3m program is a pager (or text file viewer) that can also be used
as a text-mode Web browser. W3m features include the following: when
reading an HTML document, you can follow links and view images using
an external image viewer; its internet message mode determines the
type of document from the header; if the Content-Type field of the
document is text/html, the document is displayed as an HTML document;
you can change a URL description like 'http://hogege.net' in plain
text into a link to that URL.
contents
contents
*Webalizer 1.20-10*
-----------------
- what is it?
- webalizer is a web server log file statistics tool
- system
- Windows NT 4 (other not tested)
- Cygwin
- for B20
- preliminaries
- need gd-lib to compile
- configure
- no configure required
- make
- simply type make
- make install
- copy the executable to /usr/local/bin
- copy the sample.conf to /etc/webalizer.conf and customize it
- copy the webalizer.1 to /usr/local/man/man1
- notes
- can work with the scheduler service
- package availability
- on http://www.mrunix.net/
- in path webalizer
- as webalizer-1.20-10-src.tgz
- contributed by
- k.m@gmx.net (Klaus Mueller)
contents
contents
*wget-1.5.3*
----------
- what is it?
- GNU Wget is a free network utility to retrieve files from the World
Wide Web using HTTP and FTP, the two most widely used Internet
protocols. It works non-interactively, thus enabling work in the
background, after having logged off.
- system
- WinNT 4.0 SP3 with Cygwin B20.1
- preliminaries
- none
- configure
- works without changes
- make
- works without changes
- make install
- works without changes
- installs to /usr/local/bin and /usr/local/man
- notes
- the package has been built for binary mounts and not tested on
nonbinary ones.
- unfortunately wget tends to crash after some time when doing
recursive web-sucks. But I don't think that this is due to wget
itself...
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Weiser_Michael/B20
- as wget-1.5.3-cygwin-b20-bin.tar.gz
- contributed by
- Michael Weiser <michael@weiser.saale-net.de>
contents
contents
unpack wget-1.5.3.tar.gz
cd wget-1.5.3
patch -p1 < ../wget-1.5.3-cygwin1.1.patch
# I couldn't get nls support to work (my version of gettext, and the
# cygwin <locale.h>, do not define "LC_MESSAGES" so NLS is broken.
CFLAGS=-I/usr/local/include \
LDFLAGS=-L/usr/local/lib \
./configure \
--prefix=/usr/local \
--disable-nls
# although configure reports that it successfully found strerror() and
# select(), the config.h that it created did not define HAVE_STREROR
# nor HAVE_SELECT.
# Edit src/config.h and change these lines:
-/* #undef HAVE_SELECT */
+#define HAVE_SELECT 1
-/* #undef HAVE_STRERROR */
+#define HAVE_STRERROR 1
make
make install
/usr/local/bin/wget.exe
/usr/local/info/wget.info
/usr/local/info/wget.info-1
/usr/local/info/wget.info-2
/usr/local/info/wget.info-3
/usr/local/etc/wgetrc
contents
contents
*xchat-1.6.0*
-----------
- what is it?
- text-based part of a X-Windows IRC client
- system
- tested on Windows 95, Windows 2000
- Cygwin
- compiled with Cygwin 1.1.5, openssl support
- preliminaries
- http://www.xchat.org/files/source/1.6/xchat-1.6.0.tar.gz
- configure
- ./configure --prefix=/usr --enable-openssl
- make
- make
- make install
- make install
- notes
- compiled without perl and python support
- executable is <prefix>/bin/xchat-text.exe
- package availability
- on ftp.uni-erlangen.de
- in pub/win32/develop/gnuwin32/cygwin/porters/Matuska_Martin/V1.1
- as xchat-1.6.0-1.tar.gz
- contributed by
- Martin Matuska <rebum@cygwin.cjb.net>
contents
contents
*Xfig 3.2.3d and transfig 3.2.3d*
-------------------------------
(Jul 2001)
- what is it?
- The xfig package is a drawing program + utilities that is
especially useful in conjunction with the LaTeX document
processing system.
This port includes support for international (Asian) languages.
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin32/porters/Humblet_Pierre_A/V1.1
- as xfig-3.2.3d-cygwin-1.3-bin.tar.gz
- package installation:
- Basic Cygwin installation, http://sources.redhat.com/cygwin
In the Setup program menu, load at least the following
packages: ash bash bzip2 cygwin gzip tar,
and perhaps ghostscript (see discussion below).
- Download and untar in / the file listed above:
cd /
tar xzf xfig-3.2.3d-cygwin-1.1-bin.tar.gz
This will also install in /usr/X11R6/bin
a script called gs.sh and a script called lpr.
- Download and install the XFree X11 system from
http://sources.redhat.com/cygwin/xfree/
according to the instructions provided there.
If you do not wish to use the Xfree XServer (see below),
you can download only Xbin.tgz and Xlib.tgz and untar
them in /usr/X11R6
This partial installation suffices for xfig but does not
include e.g. the app-defaults, available in Xetc.tgz
(untar in /usr/X11R6x/lib/X11 ).
In either case add /usr/X11R6/bin to your PATH.
Before you can start Xfig you must also install and launch an
X11R5 or X11R6 X server. The XFree project (see above)
provides such a server called XWin.
For a list & reviews of other available servers
http://www.rahul.net/kenton/xsites.html
For a X11R6 server (free for sessions < 2 hours):
http://www.starnet.com/download
For a US$ 25 X11R5 version:
http://www.microimages.com
If the StarNet server does not display correct colors,
specify PseudoColor mode in the configuration menu.
The Microimages X server works but it does not display
properly the font menu and .xbm images. An e-mail from
<tech@microimages.com> dated Thu, 25 May 2000 states:
"MI/X was designed to provide a cross platform interface
for our professional GIS software, TNTmips. Full support
for xfig is not something that is needed for this purpose.
Since development of MI/X is driven by the needs of TNTmips
and our clients who use it, we do not currently have plans
to fix this."
- To import and export from/to various formats, spell and print,
xfig and fig2dev rely on the following packages. They are
not necessary to the basic functionality of Xfig nor to
the production of postscript and latex output.
- gunzip (standard in Cygwin)
- giftopnm pbmtoxbm pgmtopbm pnmtopng pnmtotiff ppmquant
ppmtoacad ppmtogif ppmtojpeg ppmtopcx ppmtopgm
ppmtoxpm tifftopnm (pnmscale and cjpeg are not used anymore)
from the netpbm package (version 9.2 or later) available
in the same ftp directory as Xfig
These programs are installed in /usr/local/bin/netpbm,
which sould be included in your PATH
- spell
from the ispell available in the same directory as Xfig
These programs are installed in /usr/local/bin,
which sould be included in your PATH
- gs (ghostscript)
with devices png16m pcx256 pdfwrite ppmraw tiff24nc jpeg
(in addition to the device used for printing, see below)
You can use the version of gs compiled for Cygwin,
part of the ghostscript.
Another option is to get the latest ghostscript for Windows,
http://www.ghostscript.com and http://www.cs.wisc.edu/~ghost,
as well as ghostview for Windows (which comes with gsprint,
see below).
The Windows package comes with the program gswin32c.exe,
which expects Windows pathnames.
This Xfig package provides a shell script /usr/X11R6/bin/gs.sh
to perform the appropriate translations. This script will
automatically try to find gswin32c.exe If it fails, edit
the file to set the proper path.
To use it, remove the extension .sh from /usr/X11R6/bin/gs.sh
- lpr
to print.
A script is provided in /usr/X11R6/bin to print a single
postscript file. It relies on gsprint.exe from
http://www.cs.wisc.edu/~ghost/gsview/gsprint.htm
or (if absent) on gs for Windows with device mswinpr2.
Delete or rename it if you have another lpr
- To obtain a reasonable window, put a command such as the following
in $HOME/.profile (or $HOME/.bashrc)
function xfig () { command xfig -pwidth 8 -pheight 7
-but_per_row 3 -startgridmode 1 -startposnmode 1 $* & }
In Cygwin, your HOME directory is set by default to /home/username
- Do not forget to "export DISPLAY=localhost:0", or specify the
display on the command line.
- To start in color, create a file $HOME/.Xdefaults with the line
*customization: -color
Avoid introducing \r in that file.
- Edit the file /etc/X11/app-defaults/Fig
to set the paths to your favorite browser and acroread
for use in the Xfig "help" menu and to customize the look
of xfig. Avoid introducing \r in that file.
- In case of problems specific to this port, contact
Pierre.Humblet@ieee.org (Pierre A. Humblet).
Before writing, verify your installation by executing
other X programs, such as xdpyinfo.
The following information is only necessary to recompile
the package from scratch. It outlines what I did, other
setups may work as well.
- system
- Windows 98
- Cygwin
- 1.1.X
- binary mount
- CYGWIN=notitle tty
- preliminaries
- DELETE ALL FILES (if any) in /usr/include/X11
- Xfig 3.2.3d: in ftp://www-epb.lbl.gov/xfig
- TransFig 3.2.3d: in ftp://www-epb.lbl.gov/xfig
- Development packages for X11 on http://sources.redhat.com/cygwin/xfree/
Xprog.tgz on
ftp://mirrors.rcn.net/pub/sourceware/cygwin/xfree/xc-4-binaries/4.1.0
- Optionally Xaw3d from
ftp://ftp.x.org/contrib/widgets/Xaw3d/R6.3/Xaw3d-1.5.tar.gz
Instructions (from Jean-Marie.Chretien@ibt.univ-angers.fr)
Uncomment and edit line 44 of Imakefile to
EXTRA_INCLUDES = -I. -I./exports/include
then:
xmkmf
make includes
make depend
make
make install
- xfig:
- edit Imakefile
Define USEXPM, USEXPM_ICON, XPMINC, XAW3DINC, I18N
but not TABLIB and USETAB
- transfig
- edit transfig/Imakefile
You may want to use LaTeX2e
- edit fig2dev/Imakefile
Define XFIGLIBDIR, USEXPM, HAVE_SETMODE and FIG2DEV_LIBDIR
but not NEED_STRERROR
- make
- for xfig:
- xmkmf
- make
- make install
- make install.man
- for transfig
- xmkmf
- make Makefiles
- make
- make install
- make install.man
- contributed by
- Pierre.Humblet@ieee.org (Pierre A. Humblet)
***************************************************************************
- Xfig requires the fonts listed below.
They were not supplied when I tried the MicroImages server.
You can use the "mkfontdir" program (from xfree86-4.0-Prog.tar.bz2)
to rebuild the "fonts.dir" file, rather than the manual procedure
outlined in the MicroImages FAQ, but the extensions (bdf, pcf) must
be in lowercase. You can store your new imported fonts in their own
directory and use the "xset fp+ path" command to tell the server.
From the Xfig README
You can get these fonts from ftp://ftp.cs.wisc.edu/pub/ghost/aladdin/fonts
n021003l.pfb -adobe-times-medium-r-normal--0-0-0-0-p-0-iso8859-1
n021004l.pfb -adobe-times-bold-r-normal--0-0-0-0-p-0-iso8859-1
n021023l.pfb -adobe-times-medium-i-normal--0-0-0-0-p-0-iso8859-1
n021024l.pfb -adobe-times-bold-i-normal--0-0-0-0-p-0-iso8859-1
a010013l.pfb -adobe-avantgarde-book-r-normal--0-0-0-0-p-0-iso8859-1
a010015l.pfb -adobe-avantgarde-demi-r-normal--0-0-0-0-p-0-iso8859-1
a010033l.pfb -adobe-avantgarde-book-o-normal--0-0-0-0-p-0-iso8859-1
a010035l.pfb -adobe-avantgarde-demi-o-normal--0-0-0-0-p-0-iso8859-1
b018012l.pfb -adobe-bookman-light-r-normal--0-0-0-0-p-0-iso8859-1
b018015l.pfb -adobe-bookman-demi-r-normal--0-0-0-0-p-0-iso8859-1
b018032l.pfb -adobe-bookman-light-i-normal--0-0-0-0-p-0-iso8859-1
b018035l.pfb -adobe-bookman-demi-i-normal--0-0-0-0-p-0-iso8859-1
n019003l.pfb -adobe-helvetica-medium-r-normal--0-0-0-0-p-0-iso8859-1
n019004l.pfb -adobe-helvetica-bold-r-normal--0-0-0-0-p-0-iso8859-1
n019023l.pfb -adobe-helvetica-medium-o-normal--0-0-0-0-p-0-iso8859-1
n019024l.pfb -adobe-helvetica-bold-o-normal--0-0-0-0-p-0-iso8859-1
n019043l.pfb -adobe-helvetica-medium-r-narrow--0-0-0-0-p-0-iso8859-1
n019044l.pfb -adobe-helvetica-bold-r-narrow--0-0-0-0-p-0-iso8859-1
n019063l.pfb -adobe-helvetica-medium-o-narrow--0-0-0-0-p-0-iso8859-1
n019064l.pfb -adobe-helvetica-bold-o-narrow--0-0-0-0-p-0-iso8859-1
c059013l.pfb -adobe-new century schoolbook-medium-r-normal--0-0-0-0-p-0-iso8859-1
c059033l.pfb -adobe-new century schoolbook-medium-i-normal--0-0-0-0-p-0-iso8859-1
c059016l.pfb -adobe-new century schoolbook-bold-r-normal--0-0-0-0-p-0-iso8859-1
c059036l.pfb -adobe-new century schoolbook-bold-i-normal--0-0-0-0-p-0-iso8859-1
p052003l.pfb -adobe-palatino-medium-r-normal--0-0-0-0-p-0-iso8859-1
p052004l.pfb -adobe-palatino-bold-r-normal--0-0-0-0-p-0-iso8859-1
p052023l.pfb -adobe-palatino-medium-i-normal--0-0-0-0-p-0-iso8859-1
p052024l.pfb -adobe-palatino-bold-i-normal--0-0-0-0-p-0-iso8859-1
z003034l.pfb -adobe-itc zapf chancery-medium-i-normal--0-0-0-0-p-0-iso8859-1
contents
contents
xfig and transfig have been ported to Cygwin.
The patched sources and the binary can be
obtained by using Cygwin's setup program
available on http://www.cygwin.com
contents
contents
*xpdf-0.7a*
---------
- what is it?
-
- system
- ???
- Cygwin
- for B19
- preliminaries
- none
- configure
- run configure using '--with-gzip' otherwise it tries to use
uncompress
- make
- run make all. this balks at the end when strip tries to
strip the exes.(.exe suffix)
- make install
- works without changes
- notes
- none
- package availability
- on ftp.aimnet.com
- in /pub/users/derekn/xpdf
- as xpdf-0.7a.tar.gz
- contributed by
- ccurtin@trintech.com (Coley Curtin)
contents
contents
*xpm-3.4k*
--------
- what is it?
XPM (X PixMap) is a format for storing/retrieving X pixmaps
to/from files. This library provides a set of functions for
manipulating such images.
- system
- WinNT 4.0 SP3 with Cygwin B20.1
and egcs-1.1.1
- preliminaries
- none
- configure
- not provided
- make
- add the following links to /usr/X11R6.4/include just to make
makedepend happy
_ansi.h -> <your path>/i586-cygwin32/include/_ansi.h
ctype.h -> <your path>/i586-cygwin32/include/ctype.h
fcntl.h -> <your path>/i586-cygwin32/include/fcntl.h
machine -> <your path>/i586-cygwin32/include/machine/
stdarg.h -> <your path>/lib/gcc-lib/i586-cygwin32/<your gcc-dir>/include/stdarg.h
stddef.h -> <your path>/lib/gcc-lib/i586-cygwin32/<your gcc-dir>/include/stddef.h
stdio.h -> <your path>/i586-cygwin32/include/stdio.h
stdlib.h -> <your path>/i586-cygwin32/include/stdlib.h
string.h -> <your path>/i586-cygwin32/include/string.h
strings.h -> <your path>/i586-cygwin32/include/strings.h
sys -> <your path>/i586-cygwin32/include/sys/
time.h -> <your path>/i586-cygwin32/include/time.h
unistd.h -> <your path>/i586-cygwin32/include/unistd.h
where <your path> is your Cygwin installation path and
<your gcc-dir> the name of your compiler's subdir (e.g.
egcs-2.91.60)
- run xmkmf -a
- apply the following patch to lib/Makefile using
'patch -p0 -i patchfile'
--- Makefile.org Thu Jan 14 22:34:29 1999
+++ Makefile Thu Jan 14 22:41:02 1999
@@ -552,6 +552,8 @@
LIBNAME = Xpm
+REQUIREDLIBS=-lX11
+
all::
$(_NULLCMD_)
$(_NULLCMD_)
@@ -595,7 +597,7 @@
if [ -f $(BASE_COUNTER) ]; then true; \
else echo 0x67000000 > $(BASE_COUNTER); fi
dlltool --dllname lib$(LIBNAME).dll --def $(LIBNAME).def --output-lib lib$(LIBNAME).a
- dllwrap -s -o lib$(LIBNAME).dll $(OBJS) junk.o $(REQUIREDLIBS) -image-base `cat $(BASE_COUNTER)`
+ dllwrap -s -o lib$(LIBNAME).dll $(OBJS) --def $(LIBNAME).def junk.o $(REQUIREDLIBS) -image-base `cat $(BASE_COUNTER)`
IMAGE_LENGTH=`objdump -x lib$(LIBNAME).dll |awk '/SizeOfImage/ {print "0x"$$2}'`; \
export IMAGE_LENGTH=`expr '(' \`printf %u $$IMAGE_LENGTH\` / 65536 + 1 ')' '*' 65536` ; \
export IMAGE_BASE=`cat $(BASE_COUNTER)`; \
The file is also available via FTP as xpm-3.4k-cygwin.diff.
- make sure that /usr/X11R6.4/lib is in your LIBRARY_PATH
- run make
- make install
- works without changes
- notes
- the package has been built for binary mounts and not tested on
nonbinary ones.
- it has been build with Sergey Okhapkins X11R6.4 binary
distribution for B20
- the way to make the compile work seems quite ugly to me.
Perhaps there's something screwed up in my setup. Any tips from
the insiders?
- package availability
- on ftp.uni-erlangen.de
- in /pub/pc/gnuwin32/cygwin/porters/Weiser_Michael/B20
- as xpm-3.4k-cygwin-b20-bin.tar.bz2
- contributed by
- Michael Weiser <michael@weiser.saale-net.de>
contents
contents
This will allow you to build two libXpm's:
the first is a normal one,
the second has no dependence on X and can be used to
build XEmacs with XPM support and MSWindowing (not X).
unpack xpm-3.4k.tar.gz
cd xpm-3.4k
patch < ../xpm-3.4k-cygwin-pre21.patch
cd lib
make -f Makefile.noXatall
rm *.o
cd ..
make -f Makefile.noX
cd sxpm
install -c -m 0644 sxpm.man /usr/local/man/man1/sxpm.1
cd ../cxpm
install -c -m 0644 cxpm.man /usr/local/man/man1/cxpm.1
cd ../lib
install -c -m 0644 libXpm-noX.a /usr/local/lib
cd /usr/local/lib
ranlib libXpm-noX.a
mv libXpm.a libXpm-X.a
ln -s libXpm-noX.a libXpm.a
cd /usr/local/include
ln -s X11/xpm.h xpm.h
contents
contents
The precompiled package was built without encryption support (thanks to stupid
US governent regulations). If you want to build zip *with* encryption support
it should work; just unpack the source code here, and apply the patch. Then
you need to get the zcrypt27.zip package from
ftp://ftp.icce.rug.nl/infozip/src/ and overwrite the dummy files ./crypt.c and
./crypt.h
Before building (either the regular or the encryption-enable version) be sure
that the "crypt.h" file in your /usr/local/include has been renamed.
unpack zip22.tar.gz
cd zip-2.2
patch -p1 < ../zip-2.2-cygwin-pre21.patch
make -f unix/Makefile generic
make -f unix/Makefile install
/usr/local/bin/zip.exe
/usr/local/bin/zipnote.exe
/usr/local/bin/zipsplit.exe
/usr/local/bin/zipcloak.exe
/usr/local/man/man1/zip.1
contents
contents
The precompiled package was built without encryption support (thanks to stupid
US governent regulations). If you want to build zip *with* encryption support
it should work; just unpack the source code here, and apply the patch. Then
you need to get the following:
the zcrypt29.zip package from ftp://ftp.freesoftware.com/pub/infozip/src
extract it and and overwrite the dummy files ./crypt.c and ./crypt.h
The US has slightly relaxed export restrictions on encryption source code,
but not binaries. Therefore the precompiled versions here do not contain
encryption code. Also, I will not provide the encryption source because
the law requires certain government agencies to be notified, and I'm not
willing to do that.
Before building (either the regular or the encryption-enable version) be sure
that the "crypt.h" file in your /usr/local/include has been renamed.
The build instructions here are slightly different than those I presented
for zip-2.2. As Cosmin Truta pointed out,
Please note that Cygwin is regarded as a Windoze platform,
not as Unix. Therefore, the compilation is
make -f win32/makefile.gcc
for both Cygwin and Mingw32.
The files produced have the HostOS value equal to 11 (WinNT
filesystem), not 3 (Unix), and the NTSD descriptors are also
stored in the zip archive, along with the universal time
(as in the Unix versions).
unpack zip23.tar.gz
cd zip-2.3
patch -p1 < ../zip-2.3-cygwin1.1.patch
make -f win32/makefile.gcc
install -m 755 *.exe /usr/local/bin
install -m 644 man/zip.1 /usr/local/man/man1
/usr/local/bin/zip.exe
/usr/local/bin/zipnote.exe
/usr/local/bin/zipsplit.exe
/usr/local/bin/zipcloak.exe
/usr/local/man/man1/zip.1
contents
contents
zlib-static:
unpack zlib-1.1.3
cd zlib-1.1.3
configure --prefix=/usr/local
# can't say '--host=i686-pc-cygwin' because zlib's configure isn't
# really THE configure. It's some other hacked up script, and
# doesn't support --host.
# NOTE: if you want 586 or 686-specific assembler code,
# define 'OBJA' in the makefile as follows:
# OBJA = match.o
make
make test
make install
/usr/local/include/zlib.h
/usr/local/include/zconf.h
/usr/local/lib/libz.a
-----------------------------------------------
zlib-dll:
unpack zlib-1.1.3
cd zlib-1.1.3
patch -p1 < ../zlib-1.1.3-cygwin1.1-dll.patch
# NOTE: if you want 586 or 686-specific assembler code,
# define 'OBJA' in the makefile as follows:
# OBJA = match.o
make
make test
make install
/usr/local/include/zlib.h
/usr/local/include/zconf.h
/usr/local/include/dl_import.h
/usr/local/bin/libz.dll
/usr/local/lib/libz.a
My package:
/usr/local/include/dl_import.h
/usr/local/include/zlib.h (dll version)
/usr/local/include/zconf.h (dll version)
/usr/local/include/static/zlib.h (static version)
/usr/local/include/static/zconf.h (static version)
/usr/local/lib/libz.a-static
/usr/local/lib/libz.a-dll
/usr/local/bin/libz.dll
symlink libz.a to libz.a-dll
# NOTE: the 'static' and 'dynamic' headers are
# actually identical. I just wanted to establish the
# pattern, if it becomes necessary for future packages
# Yes, I know you can/should do all this with #defines,
# and that will work in the current configuration. However,
# it's all about flexibility. I want Joe User to be able
# to say "I hate dll's" and completely eradicate them, and
# not have to use special #defines to do so.
# However, in this case, it's simple:
# just change the symlink for libz.a and POOF: static linking.
# As it happens, dl_import.h was ONLY used internally. It isn't
# referenced from zlib.h or zconf.h
contents
contents
unpack zlib-1.1.3.tar.gz
cd zlib-1.1.3
patch -p1 < ../zlib-1.1.3-cygwin-pre21-dll.patch
make
rm example.o
rm example.exe
rm minigzip.exe
rm minigzip.o
mkdir tmp
cp libz.a tmp
dlltool-def libz.a --export-all-symbols --output-def libz.def
cd tmp
ar x libz.a
dllwrap *.o --def ../libz.def -o ../libz.dll
rm *
cd ..
rmdir tmp
mv libz.a libz.static.a
dlltool --def libz.def --output-lib libz.dll.a
ln -s libz.dll.a libz.a
cp libz.dll /usr/local/bin
chmod 755 /usr/local/bin/libz.dll
make test
make install
cp libz.static.a /usr/local/lib
cp libz.dll.a /usr/local/lib
cp dl_import.h /usr/local/include
chmod 755 /usr/local/lib/libz.static.a
chmod 755 /usr/local/lib/libz.dll.a
chmod 644 /usr/local/include/dl_import.h
cd /usr/local/lib
rm libz.a
ln -s libz.dll.a libz.a
contents
contents
unpack zlib-1.1.3.tar.gz
cd zlib-1.1.3
./configure --prefix=/usr/local
make
make test
make install
contents
contents
zsh-3.1.9-beta
--------------
Powerful interactive shell with innumerable features. See http://www.zsh.org/
Built with Cygwin 1.1 on Windows 2000 for intel x86.
Source package: zsh-beta.tar.gz
from ftp://ftp.zsh.org/pub/zsh/zsh-3.1.9.tar.gz
To build:
./configure --prefix=/usr/local
make
make install
Rafael Kitover (caelum@debian.org)
contents
contents
contents
- This site does not only collect Cygwin packages, but packages for
all available Unix emulation layers or subsystems for Windows
32bit. For that reason the name did not change to Cygwin, but
remains GNUWin32! At the moment there are packages for Cygwin and
Mingw32 available.
- How to upload to our German GNUWin32 site:
site: ftp.franken.de
user: ftp/anonymous
password: <email address>
To get directly to the GNUWin32 upload/incoming directory type
"cd gnuwin32:" (note the colon following "gnuwin32") and then
"cd incoming"
Please always add a short readme on what you've uploaded. Please
do also provide the appropriate source package with exactly the
same source you used to build your binary package. This is
absolutely necessary to satisfy the GPL under which the Cygwin
libraries are distributed. These are the ones you presumably
linked your package against.
I'd like best, if the description would follow this format:
----------------------< snip snip snip >-------------------------
*<package name>*
--------------
- what is it?
- <short package description>
- system
- <system type, i.e. Windows NT4, Windows 95, ...>
- Cygwin/Mingw
- for <which Cygwin/Mingw version>
- preliminaries
- get the source package
- <name of the source package>
it can be found
- on <server name>
- in <path name>
- as <package name>
- <which other arrangements to make>
- configure
- <which changes and parameters are necessary for configure>
- make
- <which changes and parameters are necessary for make>
- make install
- <which changes and parameters are necessary for make install>
- notes
- <what else might be interesting to know>
- package availability
- on <site name>
- in <path>
- as <package name>
- contributed by
- <email address> (<your name>)
----------------------< snip snip snip >-------------------------
There is no need to tell me, that you have uploaded something,
because I'll get informed automatically.
Please note:
*I will delete anything, which does not look like a useful*
*GNUWin32 package !*
*So please don't upload any warez, spam or similar garbage !*
contents
contents
contents
not yet implemented
contents
top