[Logo]Installing Dillo on Cygwin

Dillo RPMs | Cygwin HOWTO | History

[Screenshot of Dillo Home Page viewed in Dillo and Internet Explorer on Windows 2000 with Cygwin] The Dillo Web Browser is designed for POSIX-compliant operating systems. For most practical purposes, this means Unix and Unix-like systems. However, the Cygwin project provides a Linux API and GNU tools, making it possible to run a POSIX subsystem on top of Microsoft Windows.

These directions are out of date. Later versions in the Dillo 0.8 series were reported to have problems on Cygwin, and Dillo 2 is based on FLTK2, not GTK1, so you will need to install FLTK2 first.

Now that GTK+ is included in Cygwin, it is possible to compile Dillo “out of the box.” Core browser functionality seems to work fine, but the DPI system does not seem to work under Cygwin. Features implemented as DPIs in Dillo 0.8.4 include bookmarks, FTP, and file downloading.

Directions: Building From Source

Note: If you have previously compiled GTK+ and GLib from source, you should probably do a make uninstall and remove any remaining traces, then reinstall them through the Cygwin installer.

  1. Log in with the account you used to install Cygwin.
  2. Shut down Cygwin and re-run the Cygwin installer. Install any of the following packages that you do not already have.
  3. Start Cygwin/X11 either by running startx from the Cygwin command line or by running C:\cygwin\usr\X11R6\bin\startxwin.bat. (You may want to create a shortcut on your desktop or quick-launch toolbar.)
  4. Check your path to make sure that /usr/local/bin is listed:
       echo $PATH
    If necessary, add it:
       export PATH=$PATH:/usr/local/bin
    (If you have to do this, you may want to edit startxwin.bat to make sure it is always included.)
  5. Build and Install Dillo
    1. Extract the Dillo source code:
         tar jxf /path/to/dillo-0.8.4.tar.bz2
    2. Install normally*:
         ./configure; make; make install

      or

         ./configure; make; make install-strip
  6. You can now run Dillo! However, DPI (plugin) functionality will not work. This means you will not be able to use bookmarks, downloads, FTP, or view the local filesystem.

* If you are building a CVS snapshot, a patched version, or if make fails, you may need to run the autotools first. In CVS, these commands are usually provided in the autogen.sh script. If you've installed glib and gtk+ in /usr/local, you'll have to pass the -I option to aclocal. Either edit the autorun.sh script, or just run the following within the Dillo build directory:

   aclocal -I /usr/local/share/aclocal
   autoheader
   autoconf
   automake -a

DPI Issues

The DPI service looks for files ending in .dpi. On Windows, all application files end in .exe. So Cygwin adds an .exe extension to the .dpi files, leaving them with names like bookmarks.dpi.exe, which the DPI service can't find.

The first thing you need to do is go into /usr/local/lib/dillo/dpi and rename all the files from whatever.dpi.exe to whatever.dpi. There will be one of these files per directory. Without this step, dpid won't even find the plugins.

Unfortunately, even with this step, it still seems to have problems. I don't know enough about programming with sockets or how sockets work on Cygwin to debug it myself, although I may try at some point. If you happen to get DPI working on Cygwin, I'd appreciate it if you would tell me how!

See Also

Back to Dillo RPMs | Software | Home | Search

Last modified October 13, 2008 (Directions last updated April 28, 2005) - software@hyperborea.org

W3C Valid XHTML · W3C Valid CSS · W3C WAI Level A
Use Any Browser · Get Firefox · Get Opera · Alternative Browser Alliance