2002-02-16 07:52:19 -05:00
|
|
|
|
|
|
|
Irssi installation instructions
|
|
|
|
-------------------------------
|
|
|
|
|
2020-05-27 16:28:07 -04:00
|
|
|
To compile Irssi you need:
|
2008-02-05 07:19:08 -05:00
|
|
|
|
2019-07-17 08:09:39 -04:00
|
|
|
- meson-0.49 build system with ninja-1.5 or greater
|
2021-01-28 15:25:53 -05:00
|
|
|
- glib-2.32 or greater
|
2008-02-05 07:19:08 -05:00
|
|
|
- openssl (for ssl support)
|
2020-05-27 16:28:07 -04:00
|
|
|
- perl-5.6 or greater (for Perl support)
|
2016-10-04 19:01:25 -04:00
|
|
|
- terminfo or ncurses (for text frontend)
|
2002-02-16 07:52:19 -05:00
|
|
|
|
|
|
|
For most people, this should work just fine:
|
|
|
|
|
2019-07-17 08:09:39 -04:00
|
|
|
meson Build
|
|
|
|
ninja -C Build
|
|
|
|
su
|
|
|
|
ninja -C Build install
|
|
|
|
|
2022-02-18 14:50:37 -05:00
|
|
|
meson options
|
2019-07-17 08:09:39 -04:00
|
|
|
|
2022-02-18 14:50:37 -05:00
|
|
|
These options can be given to meson.
|
2019-07-17 08:09:39 -04:00
|
|
|
|
|
|
|
For a complete list of options, run
|
2022-02-18 14:50:37 -05:00
|
|
|
meson configure
|
2019-07-17 08:09:39 -04:00
|
|
|
|
2008-03-04 14:11:45 -05:00
|
|
|
--prefix
|
|
|
|
|
2020-05-27 16:28:07 -04:00
|
|
|
Specifies the path where Irssi will be installed.
|
|
|
|
YES, you can install Irssi WITHOUT ROOT permissions
|
2008-03-04 14:11:45 -05:00
|
|
|
by using --prefix=/home/dir
|
|
|
|
|
2022-02-18 14:50:37 -05:00
|
|
|
-Dwith-proxy=yes
|
2008-03-04 14:11:45 -05:00
|
|
|
|
2020-05-27 16:28:07 -04:00
|
|
|
Build the Irssi proxy (see startup-HOWTO).
|
2008-03-04 14:11:45 -05:00
|
|
|
|
2022-02-18 14:50:37 -05:00
|
|
|
-Dwith-perl=[yes|no]
|
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
|
2008-03-04 15:09:13 -05:00
|
|
|
|
2022-02-18 14:50:37 -05:00
|
|
|
-Dwith-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
|
|
|
|
2022-02-18 14:50:37 -05:00
|
|
|
-Dwith-bot=yes
|
2008-03-04 15:09:13 -05:00
|
|
|
|
|
|
|
Build irssi-bot
|
|
|
|
|
2022-02-18 14:50:37 -05:00
|
|
|
-Dwithout-textui=yes
|
2008-03-04 15:09:13 -05:00
|
|
|
|
|
|
|
Build without text frontend
|
|
|
|
|
2016-03-30 04:14:57 -04:00
|
|
|
If anything is in non-standard path, you can just give the paths in
|
2020-05-27 16:28:07 -04:00
|
|
|
the -Dc_args and -Dc_link_args options variable, eg.:
|
2003-11-16 19:29:11 -05:00
|
|
|
|
2020-05-27 16:28:07 -04:00
|
|
|
meson Build -Dc_args='-I/opt/openssl/include' -Dc_link_args='-L/opt/openssl/lib'
|
2002-02-16 07:52:19 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Perl problems
|
|
|
|
-------------
|
|
|
|
|
|
|
|
Perl support generates most of the problems. There's quite a many
|
|
|
|
things that can go wrong:
|
|
|
|
|
|
|
|
- If there's any weird crashing at startup, you might have older irssi's
|
|
|
|
perl libraries installed somewhere, and you should remove those.
|
2022-02-18 14:50:37 -05:00
|
|
|
- If meson complains that it doesn't find some perl stuff, you're
|
2002-02-16 07:52:19 -05:00
|
|
|
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
|
|
|
|
...
|
2022-02-18 14:50:37 -05:00
|
|
|
perl dynamic fe core
|
2008-03-05 04:48:32 -05:00
|
|
|
|
|
|
|
|
|
|
|
System specific notes
|
|
|
|
---------------------
|
|
|
|
|
2020-05-27 16:28:07 -04:00
|
|
|
Android
|
|
|
|
|
|
|
|
When cross compiling Irssi for Android, you can specify the path of
|
|
|
|
the cross-perl in the cross file.
|
|
|
|
|
|
|
|
You may not have a cross-perl available. In that case, you will have
|
|
|
|
to manually supply the required Perl arguments in the cross file. See
|
|
|
|
the commented properties in the example cross file.
|
|
|
|
|
|
|
|
An example cross file can be found in the docs folder. To use it, you
|
|
|
|
would call:
|
|
|
|
|
|
|
|
meson Build --cross-file cross-android-aarch64.txt \
|
|
|
|
--prefix /data/data/com.termux/files/usr \
|
|
|
|
--libdir lib \
|
|
|
|
-Dfhs-prefix=/data/data/com.termux/files/usr \
|
|
|
|
|
|
|
|
|
2008-03-05 04:48:32 -05:00
|
|
|
Cygwin
|
|
|
|
|
|
|
|
Getting perl scripting to work needs a few things:
|
|
|
|
|
2022-02-18 14:50:37 -05:00
|
|
|
- TODO
|