First verify what system you are running on.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lsb_release -a | |
No LSB modules are available. | |
Distributor ID: Debian | |
Description: Debian GNU/Linux 6.0.5 (squeeze) | |
Release: 6.0.5 | |
Codename: squeeze | |
uname -mrs | |
Linux 2.6.32-5-amd64 x86_64 |
Alright, so we are on Debian x86_64. Lets install some prerequisites.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install irssi irssi-dev libglib2.0-0 libglib2.0-dev build-essential unzip |
This will install you irssi and some irssi sources in the same version (0.8.15 on Debian 6.0.5). Now run the following commands line by line. This is basically following this or this guide, but some of the links have changed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://alpine.nethq.org/clandmeter/src/FiSH-irssi.v1.00-RC5-source.zip | |
unzip FiSH-irssi.v1.00-RC5-source.zip | |
cd FiSH-irssi.v1.00-RC5-source | |
mkdir MIRACL;cd MIRACL;cp ../mir_amd64 amd64 | |
wget http://www.certivox.com/wp-content/themes/certivox/res/miracl.zip | |
unzip -j -aa -L miracl.zip | |
bash amd64 | |
cp miracl.a ../;cd .. |
Now it's time to update the Makefile. Change the first 3 lines to the following values.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
glib_inc = /usr/include/glib-2.0 | |
glib_dir = /usr/lib/glib-2.0 | |
irssi_dir = /usr/include/irssi |
Make sure these directories exist. They should have been created earlier when installing the packages above. Double check that glib_inc contains glib.h and gmodule.h. Finally run:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make amd64 |
This might give you some warnings but if you didn't get any errors, you should now have a libfish.so file. If you get error messages, start reading the make output from the top. The first time I tried, it couldn't include glib.h and gmodule.h because I had the wrong directory configured in Makefile.
To use you new fish module, copy it to the proper location.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo cp libfish.so /usr/lib/irssi/modules/ |
To autoload the fish module during irssi startup add a line to you startup file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "load fish" >> ~/.irssi/startup |
Voila enjoy encrypted irc chat.
0 comments:
Post a Comment