From: brarcher Date: Sun, 27 Jul 2014 01:50:34 +0000 (+0000) Subject: web: add instructions for building on Solaris X-Git-Tag: 0.10.0~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b29218addd3e6bb9c0bf710b71de37d78879f4b;p=check web: add instructions for building on Solaris git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1181 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- diff --git a/web/install.html b/web/install.html index a6889fc..b0ec9d8 100644 --- a/web/install.html +++ b/web/install.html @@ -90,6 +90,10 @@ a package manager or compile from source on one's platform.
  • Visual Studios From Source
  • MSVC From Source
  • +
  • Solaris
  • +
    @@ -415,6 +419,56 @@ and give details as to the failure so it may be investigated and fixed. + +

    Solaris From Source

    +

    +Check uses autotools as a build system. The PATH must be setup such that +POSIX versions of tools are found before legacy once. +(see also standards(5) for more details). If the compiler is GCC, setup +the PATH as follows: +

    +
    +PATH=/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:/sbin:/usr/sbin:/opt/csw/bin
    +
    +

    +Otherwise, for Solaris Studio use the following PATH: +

    +
    +PATH=/opt/solarisstudio12.3/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:/sbin:/usr/sbin:/opt/csw/bin
    +
    +

    +Further, ensure that the environment variables LD_LIBRARY_PATH and +LD_LIBRARY_PATH_64 are unset. It is recommended to use OpenCSW packages +(/opt/csw/bin) to get recent versions of required programs. +The configure script will likely find gcc by default; to use Solaris +Studio also set the following environment variable: +

    +
    +CC=cc
    +
    +

    +After the +latest Check source +has been downloaded and unpacked, open a terminal in the unpacked +directory, then: +

    +
    +$ ./configure CFLAGS=-m64 LDFLAGS=-m64
    +$ gmake
    +$ gmake check
    +$ gmake install
    +
    +

    +If the "gmake check" step fails, please send an email to Check's +mailing list +and give details as to the failure so it may be investigated and fixed. +

    +

    + + + + +