Commit | Line | Data |
---|---|---|
d001c886 MJ |
1 | <!-- |
2 | SPDX-FileCopyrightText: 2023 EfficiOS Inc. | |
3 | ||
4 | SPDX-License-Identifier: CC-BY-4.0 | |
5 | --> | |
6 | ||
ebc346dc MJ |
7 | # Solaris support |
8 | ## Solaris 10 | |
9 | ### Dependencies | |
10 | On Solaris 10, the OpenCSW open source software distribution is required for build and runtime dependencies. The following base packages are required : | |
11 | ||
12 | * SUNWtoo | |
13 | * SUNWbtool | |
14 | * SUNWhea | |
15 | * SUNWarc | |
16 | * SUNWarcr | |
17 | * SUNWlibmr | |
18 | * SUNWlibm | |
19 | ||
20 | And the following OpenCSW packages are required : | |
21 | * automake | |
22 | * autoconf | |
23 | * libtool | |
24 | * bison | |
25 | * flex | |
26 | * gsed | |
27 | * gmake | |
28 | * pkgconfig | |
72886af7 | 29 | * libglib2\_dev |
ebc346dc MJ |
30 | * gcc4core |
31 | ||
32 | ### Build | |
33 | ||
34 | Add CSW and CCS to PATH : | |
35 | ``` | |
36 | export PATH="/opt/csw/bin:/usr/ccs/bin:$PATH" | |
37 | ``` | |
38 | ||
39 | Build with gmake : | |
40 | ``` | |
41 | ./bootstrap | |
42 | CFLAGS="-D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__=1" MAKE=gmake ./configure | |
43 | gmake | |
44 | gmake check | |
45 | gmake regtest | |
46 | gmake install | |
47 | ``` | |
48 | ||
49 | ## Solaris 11 | |
50 | ### Dependencies | |
51 | On Solaris 11, the following base packages are required : | |
52 | * autoconf | |
53 | * automake | |
54 | * gnu-make | |
55 | * libtool | |
56 | * gcc | |
57 | * flex | |
58 | * bison | |
59 | ||
60 | ### Build | |
61 | Add Perl5 to PATH : | |
62 | ``` | |
63 | export PATH="$PATH:/usr/perl5/bin" | |
64 | ``` | |
65 | ||
66 | Build with gmake : | |
67 | ``` | |
68 | ./bootstrap | |
69 | CFLAGS="-D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__=1" MAKE=gmake ./configure --prefix=$PREFIX | |
70 | gmake | |
71 | gmake check | |
72 | gmake regtest | |
73 | gmake install | |
74 | ``` | |
75 |