Skip to content

Installation: OpenBSD

bonds edited this page Sep 14, 2014 · 11 revisions

This is a rough first pass at how to do this. That is to say, it seems to work, but its not pretty (yet). This is only tested on OpenBSD 5.5...other versions will likely need different versions of the xapian-ruby bindings and use a different version of LibC. And I use the word 'tested' loosely--I've only verified that sup can be configured, it runs, and I can view some emails.

Enough chit-chat, onto the good stuff:

  1. $ sudo pkg_add xapian-core
  2. $ cd /tmp
  3. `$ wget http://oligarchy.co.uk/xapian/1.2.15/xapian-bindings-1.2.15.tar.gz && tar xfz xapian-bindings-1.2.15.tar.gz && cd xapian-bindings-1.2.15 && ./configure && make
  4. $ sudo make install
  5. $ cd /tmp
  6. $ git clone https://github.com/sup-heliotrope/sup.git
  7. $ cd sup
  8. comment out line in 'sup.gemspec': s.add_runtime_dependency "xapian-ruby", "~> 1.2.15"
  9. add a line in 'bin/sup' after when /freebsd/; "libc.so.7": when /openbsd/; "libc.so.73.1"
  10. $ bundle install
  11. $ bin/sup-config
  12. $ bin/sup
Clone this wiki locally