xemacsweb / Download / optLibs.content

Optional Libraries
john s jacobs anderson, stealing content from the faq again...
Adrian Aichner
Martin Buchholz
Sandra Wambold
Ben Wing
  <h1>Optional Libraries</h1>

    Most external libraries used by XEmacs can be found at the XEmacs
    FTP site: <a href=""

    This page lists programs that are not included in the XEmacs
    distribution, but which are either used by various packages that are
    in the distribution or are enhancements which can be compiled into
    XEmacs.  Where available, ftp sites, web home pages, and configure flags
    (although you should never have to specify library configure flags
    since they are autodetected) are indicated below.</p>

    Most of the files listed below contain the sources to these programs,
    and you will have to build them yourself.  However, some binaries are
    available for the Win32 (i.e. native Windows 9x/NT/2000/XP), Cygwin and
    MinGW platforms.</p>

  <h1><a name="section-1.">Windows Binaries:</a></h1>
    The <a href="win32">win32</a>
    directory contains binaries for common graphics libraries needed for
    building XEmacs and for zlib, needed to support the PNG library.
    We recommend that you run <a href="win32/optional-libs.exe">
    optional-libs.exe</a>, a self-extracting executable, which will
    install pre-built binaries for all of the optional graphics libraries
    needed by XEmacs, in the correct hierarchy as expected by XEmacs.
    Then just set the <tt>OPTIONAL_LIBRARY_DIR</tt> parameter to the
    appropriate directory in which you installed the libraries (by default,

    We no longer provide binaries for CVS, SSH or patch.  If you want these,
    just install <a href="">Cygwin</a>, which provides
    versions of these and all other common Unix utilities, has an easy
    install program, and is frequently updated.

  <h1><a name="section-2.">Cygwin, XFree86 Binaries:</a></h1>
    <strong>Cygwin</strong> is a POSIX emulation environment for MS
    Windows.  Development on Cygwin is quite active.  Nearly every major or
    even semi-significant open-source Unix package on earth has been ported
    to Cygwin and is available in pre-built format from the Cygwin website.
    If you are planning on doing any development on XEmacs under Windows
    it's pretty much mandatory to install Cygwin.  Among other things, you
    will undoubtedly need ssh and CVS, and GNU make as well if you want to
    rebuild the XEmacs packages or the web site.</p>

    Get Cygwin from <a href="">
    </a>.  (You will be asked to choose a mirror site; try Part of the setup process allows you to install
    XFree86.  Other useful packages to consider are CVS (for access to the
    XEmacs source tree), ssh (needed in conjunction with CVS), make (for
    building the packages or the web site), gcc (for compiling XEmacs under
    Cygwin), png/zlib/Xpm/jpeg/tiff/compface libraries (see below), various
    other libraries (see below; prebuilt versions of most of them exist),
    autoconf (for rebuilding <tt>configure</tt>), TeX (for rebuilding
    certain parts of the package hierarchy), and wget (for rebuilding the
    web site).</p>

  <h1><a name="section-3.">MinGW Binaries:</a></h1>
    Get MinGW from <a href=""></a>.
    (<strong>MinGW</strong> is a version of GCC that uses
    native Microsoft DLL's instead of requiring a POSIX-emulation DLL,
    as Cygwin does.)</p>

    The <a href="">mingw</a>
    directory contains binaries for the graphics libraries (Xpm, png+zlib,
    jpeg, tiff, compface -- remember that gif support is built in) needed
    for building XEmacs using the MinGW compiler.  <strong>NOTE</strong>:
    Many of the binaries are out-of-date.  Compile
    them yourself if possible.</p>

  <h1><a name="section-4.">Image Format Libraries:</a></h1>

    The <strong>XPM</strong> image format library
    <strong>(virtually mandatory when building XEmacs)</strong><br />
    <a href="">xpm-3.4k.tar.gz</a><br />
    <a href=""></a><br />
    configure flag: <tt>--with-xpm</tt></p>

    The <strong>PNG</strong> image format library
    <strong>(strongly encouraged when building XEmacs)</strong><br />
    <a href="">libpng-1.2.8-config.tar.gz</a><br />
    <a href=""></a><br />
    configure flag: <tt>--with-png</tt></p>

    The <strong>ZLIB</strong> compression library <strong>(strongly
    encouraged when building XEmacs)</strong> is used by the PNG library.
    A GZIP coding system is also available, in XEmacs 21.5 and onward.<br />
    <a href="">zlib-1.2.3.tar.gz</a><br />
    <a href=""></a><br />
    configure flag: <tt>--with-zlib</tt></p>

    The <strong>JPEG</strong> image format library
    (useful when building XEmacs)<br />
    <a href="">jpegsrc.v6b.tar.gz</a><br />
    <a href=""></a><br />
    configure flag: <tt>--with-jpeg</tt></p>

    The <strong>GIF</strong> image format library
    (useful when building XEmacs)<br />
    <a href="">giflib-4.1.6.tar.gz</a><br />
    <a href=""></a><br />
    configure flag: <tt>--with-gif</tt></p>

    The <strong>TIFF</strong> image format library
    (not especially important when building XEmacs)<br />
    <a href="">tiff-3.7.3.tar.gz</a><br />
    <a href=""></a><br />
    configure flag: <tt>--with-tiff</tt></p>

    <strong>compface</strong> (not especially important when building XEmacs)
    is an old library for viewing X-Faces in messages.
    It is not really being maintained, but still works.
    The version of this library at
    includes the <tt></tt> script, written by,
    which may be useful when generating your own xface.<br />
    <a href="">compface-1.5.1.tar.gz</a><br />
    <a href=""></a> <br />
    configure flag: <tt>--with-xface</tt></p>

  <h1><a name="section-5.">X-Windows Widget Sets:</a></h1>

    <strong>GTK+</strong> is a modern widget set for X Windows.
    XEmacs still requires GTK+ v1, although support for GTK+ v2 is planned.
    <br />
    <a href="">gtk+-1.2.10.tar.gz</a><br />
    <a href="">glib-1.2.10.tar.gz</a><br />
    <a href=""></a><br />
    configure flag: <tt>--with-gtk</tt></p>

    <strong>Xaw3d</strong> is designed to be a drop-in replacement for the
    Athena widget library that `looks cooler'.<br />
    <a href="">Xaw3d-1.5.tar.gz</a><br />
    <a href=""></a><br />
    configure flag: <tt>--with-athena=3d</tt></p>

    <strong>OpenMotif</strong> is the free release of Motif, a standard widget
    set for X Windows.<br />
    <a href="">openmotif2.1.30pl5.tar.gz</a><br />
    <a href=""></a><br />
    configure flag: <tt>--with-scrollbars=motif,--with-dialogs=motif,--with-widgets=motif,--with-xim=motif</tt><br />
  (We <strong>don't</strong> currently recommend compiling with Motif menubars,
  as they are probably broken.  They were broken awhile ago and no one has
  tried to fix them.)</p>

    <strong>LessTif</strong> is a library that is compatible with Motif, dating back from the days before Motif was free and still actively developed.<br />
    <a href="">lesstif-0.94.4.tar.gz</a><br />
    <a href=""></a><br />
    configure flag: <tt>--with-scrollbars=motif,--with-dialogs=motif,--with-widgets=motif</tt><br />
  (Same caveats apply for menubars as with OpenMotif.  Also LessTif didn't use
    to work with XIM; this may have changed.)</p>

  <h1><a name="section-6.">Other Multimedia:</a></h1>
    <strong>Network Audio System</strong> (NAS) is a client-server sound library for X.<br />
    <a href="">nas-1.7.src.tar.gz</a><br />
    <a href="">nas-1.7b.src.tar.gz (experimental)</a><br />
    <a href=""></a><br />
    configure flag: <tt>--with-sound=nas</tt></p>

    <strong>Enlightened Sound Daemon</strong> (ESD) is yet another sound system.<br />
    <a href="">esound-0.2.8.tar.gz</a><br />
    <a href=""></a><br />
    configure flag: <tt>--with-sound=esd</tt></p>

    <strong>Netpbm</strong> is a collection of programs that XEmacs might use at runtime.<br />
    <a href="">netpbm-10.26.12.tgz</a><br />
    <a href=""></a></p>

  <h1><a name="section-7.">Databases:</a></h1>
    These DBM implementations are supported by XEmacs:
    native dbm (provided by OS), GDBM, and Berkeley DB version 1, 2 and 3.</p>

    <strong>GDBM</strong> is the GNU DBM library, compatible with the Unix dbm library.<br />
    <a href="">gdbm-1.8.3.tar.gz</a><br />
    <a href=""></a><br />
    <a href=""></a><br />
    configure flag: <tt>--with-database=gnudbm</tt></p>

    <strong>Berkeley DB</strong> is provided by Sleepycat Software.<br />
    <a href="">db-4.3.28.tar.gz</a><br />
    <a href=""></a><br />
    configure flag: <tt>--with-database=berkdb</tt></p>

    <strong>OpenLDAP</strong> is an implementation of the LDAP X.500 Directory protocol.<br />
    <a href="">openldap-2.3.4.tgz</a><br />
    <a href=""></a><br />
    configure flag: <tt>--with-ldap</tt></p>

    <strong>PostgreSQL</strong> is an SQL-compliant object-relational database management system.<br />
    <a href="">postgresql-8.0.3.tar.gz</a><br />
    <a href="">postgresql-base-8.0.3.tar.gz</a><br />
    <a href=""></a><br />
    configure flag: <tt>--with-postgresql</tt></p>

  <h1><a name="section-8.">Internationalization:</a></h1>
    <strong>Canna</strong> is a Japanese language input method.<br />
    <a href="">Canna37p3.tar.gz</a><br />
    <a href="">cfw35f1p.exe (Canna on W95; very old)</a><br />
    <a href=""></a><br />
    configure flag: <tt>--with-canna</tt></p>

    <strong>Wnn</strong> is a multi-language mule input method.  Wnn6 and
    Wnn7 are commercial versions.  Wnn4, now completely orphaned, was once
    the free version.  There is now a FreeWnn effort; it is not verified
    whether this version works with XEmacs.<br />
    <a href="">FreeWnn-1.10.tar.gz</a><br />
    <a href="">FreeWnn-Server-1.10.tar.gz</a><br />
    <a href="">Wnn4.2.tar.gz</a><br />
    <a href=""></a> (commercial version)<br />
    <a href=""></a><br />
    configure flag: <tt>--with-wnn</tt></p>

  <p>The Wnn sites are in Japanese.  Here is a site in English with some
  info on WNN:<br />
    <a href=""></a></p>

    <strong>Mew</strong> is a multi-lingual mailreader.<br />
    <a href="">mew-4.2.tar.gz</a><br />
    <a href=""></a><br /></p>

    <strong>mlterm</strong> is a multi-lingual terminal emulator with
    special support for Asian languages with large character sets.
    There are other similar programs (e.g. xiterm), but this one appears
    to be the most actively maintained.<br />
    <a href="">mlterm-2.9.2.tar.gz</a><br />
    <a href=""></a><br /></p>

    <strong>kterm</strong> was for a long time the standard Asian-language
  terminal emulator, but appears to have not been maintained since 1996.<br />
    <a href="">kterm-6.2.0.tar.gz</a><br />
    <a href=""></a><br />
    <a href=""></a></p>

    <strong>ispell</strong> is a spelling checker with support for multiple languages.<br />
    <a href="">ispell-3.3.02.tar.gz</a><br />
    <a href=""></a><br />
    <a href=""></a></p>

    <strong>SKK</strong> (Simple Kana-to-Kanji) is a simple input method for Japanese.
It has been modified to work with XEmacs.<br />
    <a href="">skk-8.6x.tar.gz</a><br /></p>

    <strong>X11 fonts</strong> for numerous languages.<br />
    <a href="">intlfonts-1.2.1.tar.gz</a><br />
    <a href=""></a></p>

  <h1><a name="section-9.">Miscellaneous:</a></h1>

    <strong>ncurses</strong> is the standard free software curses library.<br />
    <a href="">ncurses-5.4.tar.gz</a><br />
    <a href=""></a><br />
    configure flag: <tt>--with-ncurses</tt></p>

    <strong>GMP</strong> is a free library for arbitrary precision
    arithmetic.  Support for bignums using GMP exists in XEmacs 21.5 and
    later.<br />
    <a href="">gmp-4.1.4.tar.gz</a><br />
    <a href=""></a><br />
    configure flag: <tt>--use-number-lib=gmp</tt></p>

  <h1><a name="section-10.">Developer Tools:</a></h1>
    <strong>CVS</strong> is the version control system used by XEmacs to manage the sources.<br />
    <a href="">cvs-1.11.20.tar.gz</a><br />
    <a href="">cvs-1.12.12.tar.gz (experimental)</a><br />
<strong>NOTE</strong>: The CVS home page recently (August 2, 2005) moved.<br />
    <a href=""></a><br /></p>

    <strong>bzip2</strong> is a compressor that compresses much better than gzip.<br />
    <a href="">bzip2-1.0.3.tar.gz</a><br />
    <a href=""></a><br /></p>

    <strong>texi2html</strong> is a script that converts Texinfo pages to HTML.<br />
    <a href="">texi2html-1.76.tar.gz</a><br />
<strong>NOTE</strong>: The texi2html home page recently (August 2, 2005) moved.<br />
    Current home page: <a href=""></a><br /></p>

    <strong>Gnats</strong> is a bug tracking system.<br />
    <a href="">gnats-4.1.0.tar.gz</a><br />
    <a href="">cern_wwwgnats_v2.0-beta.tar.gz</a> (WWW front end to Gnats, extremely old)<br />
    <a href=""></a><br /></p>

    Use <strong>autoconf</strong> to generate `configure' from `'.<br />
Use autoconf to generate `configure' from `'.
<strong>NOTE</strong>: Only autoconf 2.13 works with XEmacs 21.4.  XEmacs 21.5 and above work with the current 2.59 release.
    <a href="">autoconf-2.13.tar.gz</a><br />
    <a href="">autoconf-2.59.tar.gz</a><br />
    <a href=""></a><br /></p>

    Use the <strong>applypatch</strong> program from the <strong>makepatch</strong> package
    to apply patches to upgrade from one beta release to another.
    Use this if you have a slow or expensive connection to the Net.<br />
    <a href="">makepatch-2.00_12.tar.gz</a><br />
    <a href=""></a><br />
    <a href=""></a></p>

<!-- Keep this comment at the end of the file
Local variables:
mode: xml
sgml-parent-document:("../template.html" "html" "body" "table" "tr" "td")