Installing irssi-otr on OSX
17 Jan 2016
I am using irssi every day and I missed OTR. I found irssi-otr, but installing failed: #40. This posts describes how I fixed it. It is not pretty…
Get irssi and irssi headers
- install irssi:
brew install irssi --HEAD - clone irssi:
git clone git@github.com:irssi/irssi.git - copy irssi headers into irssi root:
cp irssi/src/*.h irssi/; cp irssi/src/core/*.h irssi/
Get irssi-otr
- clone irssi-otr:
git clone git@github.com:cryptodotis/irssi-otr.git - remove
-z,relro,-z,nowfromconfigure.acbecause OSX ld doesn’t support-z - configure and provide the path to YOUR irssi folder (the one you cloned):
./configure --prefix="/usr/local" --with-irssi-headers=~/src/github.com/irssi/irssi make- because
make installfailed for me I created a new dir and installed there:make install DESTDIR=$(pwd)/destdir - copy the module into YOUR irssi folder:
cp destdir/usr/lib/irssi/modules/libotr.so ~/.irssi/modules /load otrin irssi