]> granicus.if.org Git - check/commitdiff
web: add instructions for building on Solaris
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sun, 27 Jul 2014 01:50:34 +0000 (01:50 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sun, 27 Jul 2014 01:50:34 +0000 (01:50 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1181 64e312b2-a51f-0410-8e61-82d0ca0eb02a

web/install.html

index a6889fce6bbb155360299789ab74058fa86e6f72..b0ec9d8c25b9e416bcd5cfcceddf76b976c41101 100644 (file)
@@ -90,6 +90,10 @@ a package manager or compile from source on one's platform.
         <li><a href="#visualstudios">Visual Studios From Source</a></li>\r
         <li><a href="#msvc">MSVC From Source</a></li>
     </ul>\r
+    <li>Solaris</li>\r
+    <ul>\r
+        <li><a href="#solaris">From Source</a></li>\r
+    </ul>\r
 </ul>\r
 \r
 <hr></hr>\r
@@ -415,6 +419,56 @@ and give details as to the failure so it may be investigated and fixed.
 \r
 \r
 \r
+<a name="solaris"></a>\r
+<h3>Solaris From Source</h3>\r
+<p>\r
+Check uses autotools as a build system. The PATH must be setup such that\r
+POSIX versions of tools are found before legacy once.\r
+(see also standards(5) for more details). If the compiler is GCC, setup\r
+the PATH as follows:\r
+</p>\r
+<div id="code"><pre class="command">\r
+PATH=/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:/sbin:/usr/sbin:/opt/csw/bin\r
+</pre></div>\r
+<p>\r
+Otherwise, for Solaris Studio use the following PATH:\r
+</p>\r
+<div id="code"><pre class="command">\r
+PATH=/opt/solarisstudio12.3/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:/sbin:/usr/sbin:/opt/csw/bin\r
+</pre></div>\r
+<p>\r
+Further, ensure that the environment variables LD_LIBRARY_PATH and\r
+LD_LIBRARY_PATH_64 are unset. It is recommended to use OpenCSW packages\r
+(/opt/csw/bin) to get recent versions of required programs.\r
+The configure script will likely find gcc by default; to use Solaris\r
+Studio also set the following environment variable:\r
+</p>\r
+<div id="code"><pre class="command">\r
+CC=cc\r
+</pre></div>\r
+<p>\r
+After the\r
+<a href="http://sourceforge.net/projects/check/files/latest/download">latest Check source</a>\r
+has been downloaded and unpacked, open a terminal in the unpacked\r
+directory, then:\r
+</p>\r
+<div id="code"><pre class="command">\r
+$ ./configure CFLAGS=-m64 LDFLAGS=-m64\r
+$ gmake\r
+$ gmake check\r
+$ gmake install\r
+</pre></div>\r
+<p>\r
+If the "gmake check" step fails, please send an email to Check's\r
+<a href="https://lists.sourceforge.net/lists/listinfo/check-devel">mailing list</a>\r
+and give details as to the failure so it may be investigated and fixed.\r
+</p>\r
+<br></br>\r
+\r
+\r
+\r
+\r
+\r
 </div>\r
 \r
 <div id="footer">\r