Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
64bit and 32bit FiSH (libfish.so) for Irssi
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
qriff
n00b
n00b


Joined: 04 Dec 2003
Posts: 73

PostPosted: Sun May 03, 2009 12:17 pm    Post subject: 64bit and 32bit FiSH (libfish.so) for Irssi Reply with quote

FiSH official site: http://fish.secure.la

So basically the original documentation goes like:
Code:
######################## FiSH for irssi COMPILING NOTES ########################
--------------------------------------------------------------------------------
You'll need MIRACL (http://www.shamus.ie/) to compile FiSH! It is suggested
to recompile miracl.a on your target machine (compile instructions can be found
in miracl.zip/linux.txt). Also, make sure you are using the correct mirdef.h
(especially in case of exotic systems). On amd64 systems use 'mirdef_amd64.h'
and have a look at miracl.zip/amd64.txt, use 'mirdef_macosx.h' for MacOSX. You
can test MIRACL with pk-demo.

Using irssi source from: /usr/include/irssi
Using glib.h from: /usr/lib64/glib-2.0
Using glibconfig.h from: /usr/include/glib-2.0
-- Please make sure you have all of them installed!
   (try 'pkg-config --cflags glib-2.0' or 'pkg-config --cflags glib'
    or 'locate glib.h' and 'locate glibconfig.h')

-- If you plan to use a custom password for your blow.ini (via /setinipw),
-- you can skip the following note!
You are adviced to change default_iniKey in FiSH.h - But remember, changing the
default blow.ini password will make your old keys in blow.ini unusable!

>> Usual procedure to compile FiSH:
   unzip FiSH-irssi.v1.00-source.zip; cd FiSH-irssi.v1.00-source
   mkdir MIRACL;cd MIRACL; cp ../mir_amd64 amd64; cp ../mir_macosx macosx
   cp ../mir_sparc32 sparc32; cp ../mir_sparc64 sparc64
   wget ftp://ftp.computing.dcu.ie/pub/crypto/miracl.zip  (or 'curl -O' instead of wget)
   unzip -j -aa -L miracl.zip  (see linux.txt/amd64.txt for more info)
   bash linux  (or 'bash linux64' / 'bash amd64' / 'bash macosx' / 'bash sparc32/64')
   cp miracl.a ../;cd ..
   <adjust glib_dir/glib_inc and irssi_dir in 'Makefile'>
   make  (or 'make macosx' / 'make linux64' / 'make amd64'  / 'make sparc32/64')
   cp libfish.so ~/.irssi/modules; cp libfish.so /usr/local/lib/irssi/modules/
--------------------------------------------------------------------------------

Press ENTER to continue or CTRL+C to abort...

but of course it does not work out of the box on Gentoo.

This is the guided install:

Download FiSH-irssi.v1.00-RC5-source.zip from http://fish.secure.la .
Quote:
Unzipping the FiSH source is case-sensitive.

Code:
wget http://fish.secure.la/irssi/FiSH-irssi.v1.00-RC5-source.zip
unzip FiSH-irssi.v1.00-RC5-source.zip; cd FiSH-irssi.v1.00-RC5-source

Download miracl.zip from http://www.shamus.ie
Quote:
Unzipping the MIRACL source needs to put all files in the one MIRACL-subdirectory.

For 64-bit:
Code:
mkdir MIRACL;cd MIRACL
cp ../mir_amd64 amd64
wget ftp://ftp.computing.dcu.ie/pub/crypto/miracl.zip
unzip -j -aa -L miracl.zip
bash amd64
cp miracl.a ../
cd ..

For 32-bit:
Code:
mkdir MIRACL;cd MIRACL
wget ftp://ftp.computing.dcu.ie/pub/crypto/miracl.zip
unzip -j -aa -L miracl.zip
bash linux
cp miracl.a ../
cd ..


Configure the settings glib_dir, glib_inc and irssi_dir in 'Makefile' with the following or according to comments bellow
Quote:
glib_inc setting directory should contain the file glib.h
glib_dir setting directory should contain the file glibconfig.h
irssi_dir setting directory should contain the subdirectories <irssi_dir>/src/irc/core

For 64-bit:
Code:
glib_inc = /usr/include/glib-2.0
glib_dir = /usr/lib64/glib-2.0
irssi_dir = /usr/include/irssi


For 32-bit:
Code:
glib_inc = /usr/lib/glib-2.0/include/
glib_dir = /usr/include/glib-2.0
irssi_dir = /usr/include/irssi


Build FiSH (libfish.so).
Code:
For 64-bit:
make amd64

For 32-bit:
make

Place the file libfish.so to you Irssi modules directory.
Code:
cp libfish.so ~/.irssi/modules; cp libfish.so /usr/local/lib/irssi/modules/
Back to top
View user's profile Send private message
qriff
n00b
n00b


Joined: 04 Dec 2003
Posts: 73

PostPosted: Tue Dec 29, 2009 10:00 pm    Post subject: Reply with quote

Updated for 32-bit
Back to top
View user's profile Send private message
N-S
n00b
n00b


Joined: 30 Oct 2005
Posts: 34

PostPosted: Thu Mar 17, 2011 9:53 pm    Post subject: Re: 64bit and 32bit FiSH (libfish.so) for Irssi Reply with quote

qriff wrote:

Place the file libfish.so to you Irssi modules directory.
Code:
cp libfish.so ~/.irssi/modules; cp libfish.so /usr/local/lib/irssi/modules/

Last path needs a tiny edit:
Code:
cp libfish.so ~/.irssi/modules; cp libfish.so /usr/lib/irssi/modules


Also, currently this is impossible, since the site has dropped offline:
Quote:
Download FiSH-irssi.v1.00-RC5-source.zip from http://fish.secure.la .

I've put the file online on MediaFire:
http://www.mediafire.com/?dsmul38j2jgv8yb
_________________
___________________
There is No Substitute!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum