Mail Archives: cygwin-announce/2000/08/25/23:39:18
This is the intial port to cygwin's new packaging scheme of the GNU
Database Manager package gdbm. gdbm is a pre-requisite for cvs; this
port is based on the official gdbm-1.8.0 package from the FSF.
Please read this message in its entirety. A list of changes/notes
concerning this package appear below.
To update your installation, click on the "Install Cygwin now" link on
the http://sources.redhat.com/cygwin web page. This downloads setup.exe
to your system.
Run setup and answer all of the questions. PLEASE, PLEASE, PLEASE
choose a mirror site for your download. The 'sources.redhat.com' site
is badly overloaded. The mirrors below have the latest version of this
package:
ftp://ftp.sunsite.utk.edu/pub/cygwin/ (US)
ftp://gd.tuwien.ac.at/gnu/cygwin/ (Austria)
http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/
(UK)
Note that if this is the first time that you've run the new GUI version
of setup, it will currently download the whole cygwin net release again.
After this point it will only download what is needed.
If you have questions or comments, please send them to the Cygwin
mailing list at: cygwin AT sources DOT redhat DOT com . I would appreciate if you
would use this mailing list rather than emailing me directly. This
includes ideas and comments about the setup utility or Cygwin general.
If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.
*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***
If you want to unsubscribe to the cygwin-announce mailing list, look at
the "List-Unsubscribe: " tag in the email header of this message. Send
email to the address specified there. It will be in the format:
cygwin-announce-unsubscribe-you=yourdomain DOT com AT sources DOT redhat DOT com
NOTES:
o Building the package from source requires gcc-2.95.2-2 and
binutils-20000722-1 or later
o I've had gdbm-1.8.0 on cygutils for some time, but the cygutils
version was staticlib only, and didn't follow the official cygwin
package layout rules.
o The package includes several test and conversion utilities which are
useful for evaluating gdbm, and converting older ndbm and dbm databases
to the gdbm format. These utilities are dynamically linked, although the
build process will make both dynamically and statically linked versions.
o The package also includes compatibility headers, so that gdbm can be
used as a drop-in replacement for ndbm and dbm.
o Abides by the cygwin package system standard:
- import-lib /usr/lib/libgdbm.dll.a
- static-lib /usr/lib/libgdbm.a
- stripped dll /usr/bin/libgdbm.dll
- cygwin-specific docs in /usr/doc/Cygwin/gdbm-1.8.0.README
- generic docs in /usr/doc/gdbm-1.8.0/*
o A cygwin-specific README and PATCH are stored in the source archive,
under <top>/CYGWIN-PATCHES/* (although that patch has already been
applied to the archive itself). The cygwin-specific README is also
installed by the binary distribution as described above.
o If you are building a package that depends on gdbm, and you wish to
link *statically*, define -DGDBM_STATIC to get the 'correct' #define's
in gdbm.h when compiling the .o files in your package. Also, use 'gcc
-static' when linking your package.
o Also, use -DGDBM_STATIC when using the compatibility headers
(ndbm.h/dbm.h) if linking statically. Don't use '-DNDBM_STATIC' or
'-DDBM_STATIC'.
o No special -Ddefine options or link options are needed when building a
package that depends on gdbm and you want to link dynamically
(recommended). This is also the case if you are using gdbm as a
replacement for ndbm/dbm and are using the ndbm.h/dbm.h compatibility
headers.
--Chuck Wilson
- Raw text -