-
Notifications
You must be signed in to change notification settings - Fork 96
Installation: OpenBSD
Dan Callaghan edited this page Apr 13, 2024
·
11 revisions
$ sudo pkg_add xz xapian-core
$ cd /tmp
$ 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
$ sudo make install
$ cd (directory for sup source)
- (optional)
$ sudo pkg_add gnupg-2.2.8
- (optional)
$ sudo gem install gpgme -- --use-system-libraries
$ sudo env SUP_SKIP_XAPIAN_GEM_INSTALL= gem install sup
$ sup-config
$ 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).