You are not logged in.

#1 2007-08-13 20:22:59

Basn
Member
From: Stockholm
Registered: 2007-08-13
Posts: 47

irssi with fish support howto compile!

I had problems myself so i thought i should share... i cant make a pkgbuild of it cause i don't know how to do different things, and some libs are weird so i had to do my workaround fixes.

pacman -S current/glib (we need glib to compile)
wget http://fish.sekure.us/irssi/FiSH-irssi.v0.99-source.zip (sources for fish. http://fish.sekure.us)
wget http://www.irssi.org/files/irssi-0.8.11.tar.bz2 (sources for irssi. http://www.irssi.org)
unzip FiSH-irssi.v0.99-source.zip
tar xjf irssi-0.8.11.tar.bz2
cd FiSH-irssi.v0.99-source
mkdir MIRACL;cd MIRACL
cp ../mir_amd64 amd64
cp ../mir_macosx macosx
wget http://indigo.ie/~mscott/miracl.zip (miracl is used with fish for compileing.)
unzip -j -aa -L miracl.zip
bash linux (you can get error msgs here without any problem)
cp miracl.a ../
cd ..

Now to the nasty part
With your favorite editor open the Makefile for example "nano Makefile".

changes follow:

glib_dir = /usr/lib/glib/include/
irssi_dir = /root/irssi-0.8.11 <--- Where you put the source files.

Now what i had problems with is that the parts from glib it need is located on different parts of the harddrive.
Instead of changing the source code with can be messy, i did a workaround.

ln -s /usr/include/glib-1.2/glib.h /usr/lib/glib/include/glib.h (make a symlink for a libary that we need)

Yes i know this is bad... but i couldn't figure it out otherwise.

Now you can go ahead and run "Make" and it should compile.

When compileing is done...

rm /usr/lib/glib/include/glib.h (take away the mess we made, the symlink)
cp libfish.so /usr/lib/irssi/modules/ (to install systemwide)

Happy FiSHin!
And i hope it works big_smile

side note some of the commands used needs root privileges!

Last edited by Basn (2007-08-13 20:24:29)

Offline

#2 2008-09-11 04:18:01

amdarch64
Member
Registered: 2008-06-02
Posts: 67

Re: irssi with fish support howto compile!

Allright, this is my little input, but this is compiling FiSH as a plugin for use with XCHAT, under AMD64 (arch64). Obviously adjust your .xchat directory in the last line where yours is. Did not want to spam by creating a new thread!

mkdir fish; cd fish
wget http://fish.sekure.us/xchat/FiSH-XChat.v0.98-source.zip
unzip FiSH-XChat.v0.98-source.zip 
mkdir MIRACL;cd MIRACL
cp ../mir_amd64 amd64
cp ../mir_macosx macosx
wget http://indigo.ie/~mscott/miracl.zip
unzip -j -aa -L miracl.zip
cd ../
make
cd MIRACL/
bash amd64
cp miracl.a ../
cd ..
make amd64
cp xfish.so /home/a64/.xchat2/

freetards and fosstards visit http://linuxhaters.blogspot.com/

Offline

Board footer

Powered by FluxBB