Add troublshooting for OS X install

This commit is contained in:
Nick Spain 2017-09-01 09:28:53 +10:00
commit 922a1d1a35

18
INSTALL
View file

@ -82,8 +82,8 @@ things that can go wrong:
- If configure complains that it doesn't find some perl stuff, you're - 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 probably missing libperl.so or libperl.a. In debian, you'll need to do
apt-get install libperl-dev apt-get install libperl-dev
- For unprivileged home directory installations, you probably do not want - For unprivileged home directory installations, you probably do not want
to specify --with-perl-lib=(site|vendor). Instead, you can use the to specify --with-perl-lib=(site|vendor). Instead, you can use the
default perl installation target (below the irssi prefix). If you are default perl installation target (below the irssi prefix). If you are
using local::lib you can also choose to install there by specifying using local::lib you can also choose to install there by specifying
--with-perl-lib=$PERL_LOCAL_LIB_ROOT/lib/perl5 --with-perl-lib=$PERL_LOCAL_LIB_ROOT/lib/perl5
@ -113,3 +113,17 @@ Getting perl scripting to work needs a few things:
It doesn't hurt to be defined everywhere, so configure irssi with: It doesn't hurt to be defined everywhere, so configure irssi with:
CFLAGS='-DUSEIMPORTLIB' ./configure --with-perl-staticlib CFLAGS='-DUSEIMPORTLIB' ./configure --with-perl-staticlib
OS X
Build may fail with a message similar to:
"_EVP_PKEY_id", referenced from:
_irssi_ssl_handshake in libcore.a(network-openssl.o)
ld: symbol(s) not found for architecture x86_64
To resolve this run
CPPFLAGS=-I/path/to/recent/openssl/include \
LDFLAGS=-L/path/to/recent/openssl/lib \
./configure