summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMojca Miklavec <mojca.miklavec@gmail.com>2016-02-06 13:28:36 +0000
committerMojca Miklavec <mojca.miklavec@gmail.com>2016-02-06 13:28:36 +0000
commit50a34de248e06a587d82c956c722669e2e455551 (patch)
treed91d19ca8d20394025128b8db638144247491c14
parent28c6efd6f33ba9ef532af0f7428467bd666774b8 (diff)
update README.solaris with build instructions for SunOS
git-svn-id: svn://tug.org/texlive/trunk@39603 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/doc/README.solaris19
1 files changed, 18 insertions, 1 deletions
diff --git a/Build/source/doc/README.solaris b/Build/source/doc/README.solaris
index 7aa91d76f96..4570b06ddc8 100644
--- a/Build/source/doc/README.solaris
+++ b/Build/source/doc/README.solaris
@@ -6,7 +6,7 @@ Compiling TeX binaries on Solaris
but the same rules should apply to i386 and x86_64 as well.)
Solaris 9 has been out of official support for a while and making
-software compile on that platform is challenging, so it hardly make any
+software compile on that platform is challenging, so it hardly makes any
sense to try to support it.
Solaris 10 reaches end of support in January 2021:
@@ -101,3 +101,20 @@ systems.
If users need binaries to run on even older systems, we can target what
is desired by changing the map file.
+
+Building texlive
+================
+
+Two extra settings were needed to compile TeX Live with gcc 5.2:
+ * export LIBPNG_USER_CPPFLAGS="-D_XOPEN_SOURCE=600"
+ * ./Build --without-iconv
+
+The second option makes sure to avoid linking against libiconv
+which is not available on SunOS by default.
+
+The first option is only needed on Solaris 10 to circumvent a problem
+in libpng <https://sourceforge.net/p/libpng/bugs/245/>.
+
+Using `#define _POSIX_SOURCE 1` will fail to compile on Solaris 10 with gcc 5.x
+unless one of `_XPG6`, `_XOPEN_SOURCE = 600`, or `_POSIX_C_SOURCE = 200112L` is set.
+