summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2013-06-28 08:23:25 +0200
committerOndřej Surý <ondrej@sury.org>2013-06-28 08:23:25 +0200
commitdfea0940aebee5e46e9fa90ff4b82617b2dc6aa0 (patch)
tree9d1153fc1178040aa79b7ca755bf100c6afa3975 /docs
parent37689ef4af4b7f9d91c33b3142426545b1c57d6a (diff)
downloadlibgd-dfea0940aebee5e46e9fa90ff4b82617b2dc6aa0.tar.gz
Add INSTALL notes for Solaris conflicting iconv.h headers (fixes #76)
Diffstat (limited to 'docs')
-rw-r--r--docs/INSTALL.Solaris16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/INSTALL.Solaris b/docs/INSTALL.Solaris
new file mode 100644
index 0000000..d6b5bd1
--- /dev/null
+++ b/docs/INSTALL.Solaris
@@ -0,0 +1,16 @@
+Solaris CAVEATS
+===============
+
+If you are using GNU iconv library installed in f.e. /opt, you will
+need to add the header location to CMAKE= in configure invokation to
+ensure that the system iconv.h header is not used when searching for
+iconv library.
+
+The resulting ./configure invokation would look something like this:
+
+MAKE=gmake CC="gcc -m64" ./configure --prefix=/opt/local \
+CFLAGS="-I/opt/local/include -DHAVE_ICONV -O2 -fomit-frame-pointer -pipe -m64" \
+--with-png=/usr --with-freetype=/opt/local
+
+For more information and discussion see:
+https://bitbucket.org/libgd/gd-libgd/issue/76