From 42ea463a72bf4f819cf731b187497a74c4e41b75 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Wed, 20 Sep 2006 16:42:40 +0200 Subject: [PATCH] INSTALL: mention possible iconv problems and workarounds --- INSTALL | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/INSTALL b/INSTALL index dac48a4..088f674 100644 --- a/INSTALL +++ b/INSTALL @@ -14,6 +14,11 @@ To install documentation run: $ make install-docs +Edit the Makefile if you need to configure specific compiler or linker flags. +On FreeBSD for example the c library does not support the iconv interface and +to compile tig you need to append `-L/usr/local/lib -liconv` to `LDLIBS` and +`-I/usr/local/include` to the `CFLAGS` variable. + The following tools and packages are needed: `-------------------------------`---------------------------------------------- @@ -23,5 +28,8 @@ git-core Tig is just a frontend for git. ncurses Be sure to also have development files \ installed. Usually they are available in a \ separate package ending with `-dev`. +iconv If iconv is not provided by the c library \ + you need to change the Makefile to link it \ + into the binary. asciidoc (>= 7.0), xmlto For building documentation. (Optional) ------------------------------------------------------------------------------- -- 2.32.0.93.g670b81a890