IRSSI Auto Download for SCC - Part I
I was asked to write this kind of tutorial, so here it comes! This first part will deal with installing IRSSI. If you already have it installed, skip to the second part of this tutorial. Also, please be aware that I'm mediocre at best when it comes to Linux, and my approach is just to try and get things to work. If someone has a better approach, give suggestions, and I'll add them here.
To check if IRSSI is installed, just start a terminal and type: irssi. If it isn't, read on for further instructions.
Installation with Root Access
In a terminal, type:
Debian: apt-get install irssi
Red Hat: yum install irssi
Gentoo: emerge irssi
Installation without Root Access
Ask Your Seedbox Provider
Open a ticket at your seedbox provider, and have them install it for you! I can't stress this enough, as it is by far the best solution. If you can't get them to install it, consider changing seedbox provider as it takes them less than a minute to do so.
Compile It Yourself
The other solution is really ugly and not recommended, and will have you install libraries in your user slot (libraries which in the future may interfere with installed libraries the provider decides to install). Only do this if you can't get IRSSI installed any other way or use it as a guide to install programs in custom directories, programs which will need to be linked with libraries. Beware that you will probably spend some time to troubleshoot as well. Phew, ok, let's start:
Start a terminal for your seedbox and type: cd
Download IRSSI: wget http://irssi.org/files/irssi-0.8.15.tar.gz
Unpack the archive: tar xvzf irssi-0.8.15.tar.gz
IRSSI will need:
- glib-2.6 or greater
- pkg-config
- openssl (for ssl support)
- perl-5.6 or greater (for perl support)
I already had pkg-config and oppenssl installed on my Feral slot, but not GLib or Perl, so I will focus on compiling IRSSI with Perl support, linking both to the GLib and Perl libraries.
Download and install Perl:
cd
wget http://www.cpan.org/src/5.0/perl-5.14.2.tar.gz
tar -xzvf perl-5.14.2.tar.gz
cd perl-5.14.2
./Configure -des -Dprefix=$HOME/localperl
make
make install
Download and install GLib (for simplicity, it's not the latest version which has other dependencies):
cd
wget http://ftp.gnome.org/pub/GNOME/sourc...b-2.8.0.tar.gz
tar -xzvf glib-2.8.0.tar.gz
cd glib-2.8.0
./configure
make
make install
Finally installing IRSSI (make sure you replace all instances of [FULL_PATH_TO_YOUR_HOME_DIR]) below :
cd
cd irssi-0.8.15
PATH=[FULL_PATH_TO_YOUR_HOME_DIR]/localperl/bin:$PATH LD_LIBRARY_PATH=[FULL_PATH_TO_YOUR_HOME_DIR]/lib:$LD_LIBRARY_PATH ./configure --prefix=[FULL_PATH_TO_YOUR_HOME_DIR] --with-perl-staticlib --with-perl-lib=[FULL_PATH_TO_YOUR_HOME_DIR]/localperl/
make
make install
You may probably need to install one Perl module as well called LWP and which is used by the script. Do it by typing:
export [FULL_PATH_TO_YOUR_HOME_DIR]/localperl/bin/:$PATH
cpan
install LWP
To start IRSSI: Just typ irssi in the terminal and unless you got any compilation/installation errors it should now be running!See part II of this tutorial for configuring the autodownload script with IRSSI.









3Likes
LinkBack URL
About LinkBacks

See
Reply With Quote

