2 Irssi installation instructions
3 -------------------------------
5 To compile Irssi you need:
7 - meson-0.53 build system with ninja-1.8 or greater
9 - openssl (for ssl support)
10 - perl-5.6 or greater (for Perl support)
11 - terminfo or ncurses (for text frontend)
13 For most people, this should work just fine:
18 ninja -C Build install
22 These options can be given to meson.
24 For a complete list of options, run
29 Specifies the path where Irssi will be installed.
30 YES, you can install Irssi WITHOUT ROOT permissions
31 by using --prefix=/home/dir
35 Build the Irssi proxy (see startup-HOWTO).
40 yes enable builtin (default)
43 -Dwith-perl-lib=[site|vendor|DIR]
45 Specify installation dir for Perl libraries
46 site install in dir for site-specific modules (default)
47 vendor install in dir for vendor-specific modules
56 Build without text frontend
58 If anything is in non-standard path, you can just give the paths in
59 the -Dc_args and -Dc_link_args options variable, eg.:
61 meson Build -Dc_args='-I/opt/openssl/include' -Dc_link_args='-L/opt/openssl/lib'
68 Perl support generates most of the problems. There's quite a many
69 things that can go wrong:
71 - If there's any weird crashing at startup, you might have older irssi's
72 perl libraries installed somewhere, and you should remove those.
73 - If meson complains that it doesn't find some perl stuff, you're
74 probably missing libperl.so or libperl.a. In debian, you'll need to do
75 apt-get install libperl-dev
77 You can verify that the perl module is loaded and working with "/LOAD"
78 command. It should print something like:
80 Module Type Submodules
90 When cross compiling Irssi for Android, you can specify the path of
91 the cross-perl in the cross file.
93 You may not have a cross-perl available. In that case, you will have
94 to manually supply the required Perl arguments in the cross file. See
95 the commented properties in the example cross file.
97 An example cross file can be found in the docs folder. To use it, you
100 meson Build --cross-file cross-android-aarch64.txt \
101 --prefix /data/data/com.termux/files/usr \
103 -Dfhs-prefix=/data/data/com.termux/files/usr \
108 Getting perl scripting to work needs a few things: