2002-02-16 07:52:19 -05:00
|
|
|
|
|
|
|
Irssi installation instructions
|
|
|
|
-------------------------------
|
|
|
|
|
2008-02-05 07:19:08 -05:00
|
|
|
To compile irssi you need:
|
|
|
|
|
|
|
|
- glib-2.6 or greater
|
|
|
|
- pkg-config
|
|
|
|
- openssl (for ssl support)
|
|
|
|
- perl-5.005 or greater (for perl support)
|
2002-02-16 07:52:19 -05:00
|
|
|
|
|
|
|
For most people, this should work just fine:
|
|
|
|
|
|
|
|
./configure
|
|
|
|
make
|
|
|
|
su
|
|
|
|
make install (not _really_ required except for perl support)
|
|
|
|
|
2008-03-04 15:09:13 -05:00
|
|
|
configure options
|
2002-02-16 07:52:19 -05:00
|
|
|
|
2008-03-04 14:11:45 -05:00
|
|
|
--prefix
|
|
|
|
|
|
|
|
Specifies the path where irssi will be installed.
|
|
|
|
YES, you can install irssi WITHOUT ROOT permissions
|
|
|
|
by using --prefix=/home/dir
|
|
|
|
|
|
|
|
--with-proxy
|
|
|
|
|
|
|
|
Build the irssi proxy (see startup-HOWTO).
|
|
|
|
|
2008-03-05 04:38:15 -05:00
|
|
|
--disable-ipv6
|
2008-03-04 14:11:45 -05:00
|
|
|
|
2008-03-05 04:38:15 -05:00
|
|
|
Disable IPv6 support.
|
2002-02-16 07:52:19 -05:00
|
|
|
|
2008-03-05 04:38:15 -05:00
|
|
|
--disable-ssl
|
2008-03-04 15:09:13 -05:00
|
|
|
|
2008-03-05 04:38:15 -05:00
|
|
|
Disable SSL support.
|
2008-03-04 15:09:13 -05:00
|
|
|
|
2008-03-05 04:38:15 -05:00
|
|
|
--with-perl=[yes|no|module]
|
2008-03-04 15:09:13 -05:00
|
|
|
|
2008-03-05 04:38:15 -05:00
|
|
|
Enable Perl support
|
|
|
|
yes enable builtin (default)
|
|
|
|
no disable
|
|
|
|
module enable as module
|
2008-03-04 15:09:13 -05:00
|
|
|
|
2008-03-05 04:38:15 -05:00
|
|
|
--with-perl-lib=[site|vendor|DIR]
|
2008-03-04 15:09:13 -05:00
|
|
|
|
2008-03-05 04:38:15 -05:00
|
|
|
Specify installation dir for Perl libraries
|
|
|
|
site install in dir for site-specific modules (default)
|
|
|
|
vendor install in dir for vendor-specific modules
|
|
|
|
DIR install in DIR
|
2008-03-04 15:09:13 -05:00
|
|
|
|
|
|
|
--with-socks
|
|
|
|
|
|
|
|
Build with socks library
|
|
|
|
|
|
|
|
--with-bot
|
|
|
|
|
|
|
|
Build irssi-bot
|
|
|
|
|
|
|
|
--without-textui
|
|
|
|
|
|
|
|
Build without text frontend
|
|
|
|
|
2008-02-05 07:19:08 -05:00
|
|
|
If ncurses is installed in a non-standard path you can specify it with
|
|
|
|
--with-ncurses=/path. If anything else is in non-standard path, you can just
|
|
|
|
give the paths in CPPFLAGS and LIBS environment variable, eg.:
|
2003-11-16 19:29:11 -05:00
|
|
|
|
|
|
|
CPPFLAGS=-I/opt/openssl/include LDFLAGS=-L/opt/openssl/lib ./configure
|
2002-02-16 07:52:19 -05:00
|
|
|
|
|
|
|
Irssi doesn't really need curses anymore, by default it uses
|
|
|
|
terminfo/termcap directly. The functions for using terminfo/termcap
|
|
|
|
however are usually only in curses library, some systems use libtermcap
|
|
|
|
as well. If you want to use only curses calls for some reason, use
|
|
|
|
--without-terminfo.
|
|
|
|
|
|
|
|
|
|
|
|
Perl problems
|
|
|
|
-------------
|
|
|
|
|
|
|
|
Perl support generates most of the problems. There's quite a many
|
|
|
|
things that can go wrong:
|
|
|
|
|
|
|
|
- Compiling fails if you compile irssi with GCC in a system that has
|
|
|
|
perl compiled with some other C compiler. Very common problem with
|
|
|
|
non-Linux/BSD systems. You'll need to edit src/perl/*/Makefile files
|
|
|
|
and remove the parameters that gcc doesn't like. Mostly you'll just
|
|
|
|
need to keep the -I and -D parameters and add -fPIC.
|
|
|
|
- If there's any weird crashing at startup, you might have older irssi's
|
|
|
|
perl libraries installed somewhere, and you should remove those.
|
|
|
|
- Dynamic libraries don't want to work with some systems, so if your
|
|
|
|
system complains about some missing symbol in Irssi.so file, configure
|
|
|
|
irssi with --with-perl-staticlib option (NOT same as --with-perl=static).
|
|
|
|
- If configure complains that it doesn't find some perl stuff, you're
|
|
|
|
probably missing libperl.so or libperl.a. In debian, you'll need to do
|
|
|
|
apt-get install libperl-dev
|
|
|
|
|
|
|
|
You can verify that the perl module is loaded and working with "/LOAD"
|
|
|
|
command. It should print something like:
|
|
|
|
|
|
|
|
Module Type Submodules
|
|
|
|
...
|
|
|
|
perl static core fe
|
2008-03-05 04:48:32 -05:00
|
|
|
|
|
|
|
|
|
|
|
System specific notes
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
Cygwin
|
|
|
|
|
|
|
|
Getting perl scripting to work needs a few things:
|
|
|
|
|
|
|
|
- configure with --with-perl-staticlib
|
|
|
|
|
|
|
|
- libperl.dll is required in linking and running irssi, it's normally
|
|
|
|
located somewhere around /usr/lib/perl5/5.6.1/cygwin/CORE/libperl5_6_1.dll
|
|
|
|
copy it to eg. /usr/bin/libperl.dll
|
|
|
|
|
|
|
|
- -DUSEIMPORTLIB is needed to be defined while compiling src/perl directory.
|
|
|
|
It doesn't hurt to be defined everywhere, so configure irssi with:
|
|
|
|
|
|
|
|
CFLAGS='-DUSEIMPORTLIB' ./configure --with-perl-staticlib
|