Dillo 3 on OpenBSD
Benjamin Johnson <[email protected]>
| Newsgroups | gmane.comp.web.dillo.devel |
|---|---|
| Message-ID | <CAG9-4S_NLbPXSn+AKv-bMcehAc0vwvgNeYpuAyVqKd_sAQ4duw@mail.gmail.com> |
Just wanted to let you know that dillo-3.0 runs quite nicely on
OpenBSD (tested with both mainline and Dillo-Win32, on OpenBSD
4.9/i386).
Here are some quick build instructions for mainline if anyone wants to
try it out. Note that I like to install things to my home directory,
but you can remove the --prefix= and --bindir= options if you want to
install it system-wide.
1. Download the Dillo and FLTK 1.3 sources to a convenient location --
I use ~/download. Note that OpenBSD doesn't currently have an FLTK
1.3 package.
2. Install some dependencies from OpenBSD's packages:
$ sudo pkg_add -i bzip2 jpeg png
3. Build and install FLTK:
$ cd /tmp
$ tar -xzvf ~/download/fltk-1.3.0-source.tar.gz
$ cd fltk-1.3.0
$ CFLAGS='-Os' CXXFLAGS='-Os' ./configure \
--prefix=$HOME/download/fltk --bindir=$HOME/bin --enable-xft
$ make && make install
4. Build and install Dillo:
$ cd /tmp
$ tar -xjvf ~/download/dillo-*.tar.bz2
$ cd dillo-*
$ CFLAGS='-Os' CXXFLAGS='-Os' ./configure \
--prefix=$HOME/download/dillo --bindir=$HOME/bin \
--disable-threaded-dns
$ make && make install && strip $HOME/bin/dillo
Dillo should be installed and ready to go.
By the way, I don't know if you *need* --disable-threaded-dns in step
4. I usually add it, and I'm sure there's a reason, but I don't
remember exactly why. So if you try it, let me know if Dillo runs
without that option. :-)
Cheers,
~Benjamin