Skip to content

Installation: OpenBSD

Dan Callaghan edited this page Apr 13, 2024 · 11 revisions
  1. $ sudo pkg_add xz xapian-core
  2. $ cd /tmp
  3. $ wget http://oligarchy.co.uk/xapian/1.4.5/xapian-bindings-1.4.5.tar.xz && tar xfz xapian-bindings-1.4.5.tar.xz && cd xapian-bindings-1.4.5 && ./configure CXX="clang++ -std=c++11 -stdlib=libc++" && make
  4. $ sudo make install
  5. $ cd (directory for sup source)
  6. (optional) $ sudo pkg_add gnupg-2.2.8
  7. (optional) $ sudo gem install gpgme -- --use-system-libraries
  8. $ sudo env SUP_SKIP_XAPIAN_GEM_INSTALL= gem install sup
  9. $ sup-config
  10. $ sup

When compiling, output will direct OpenBSD users to this wiki page. Please ignore, and carry on.

This is only tested on OpenBSD 5.5 and 5.6. Other versions will likely need different versions of the xapian-ruby bindings (requires changes to step 3. refer to remote site for files to download and extract).

Note that as OpenBSD's console defaults to exporting TERM=vt220 (and sup will crash if it thinks the terminal it's running in doesn't have color support), you should set this variable to something else if you're not running sup in X (rxvt should work).

Clone this wiki locally