-
Notifications
You must be signed in to change notification settings - Fork 96
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:
$ sudo pkg_add xapian-core
$ cd /tmp
- `$ 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
$ sudo make install
$ cd /tmp
$ git clone https://github.com/sup-heliotrope/sup.git
$ cd sup
- comment out line in 'sup.gemspec':
s.add_runtime_dependency "xapian-ruby", "~> 1.2.15"
- add a line in 'bin/sup' after
when /freebsd/; "libc.so.7"
:when /openbsd/; "libc.so.73.1"
$ bundle install
$ bin/sup-config
$ bin/sup