]> The Tcpdump Group git mirrors - libpcap/blob - doc/README.solaris.md
Factor TESTlib.pm out. [skip appveyor]
[libpcap] / doc / README.solaris.md
1 # Compiling libpcap on Solaris and related OSes
2
3 * Autoconf works everywhere.
4 * Neither Solaris lex nor Solaris yacc are suitable.
5 * Neither illumos lex nor illumos yacc are suitable.
6 * Solaris m4 and illumos m4 are suitable.
7
8 ## OmniOS r151052/AMD64
9
10 * flex 2.6.4 and GNU Bison 3.8.2 work.
11 * CMake 3.30.5 works.
12 * GCC 14.2.0 and Clang 19.1.2 work.
13
14 ## OmniOS r151050/AMD64
15
16 * flex 2.6.4 and GNU Bison 3.8.2 work.
17 * CMake 3.30.1 works.
18 * GCC 13.2.0 and Clang 18.1.8 work.
19
20 ## OmniOS r151046/AMD64
21
22 * flex 2.6.4 and GNU Bison 3.8.2 work.
23 * CMake 3.26.4 works.
24 * GCC 12.2.0 and Clang 16.0.4 work.
25
26 ## OpenIndiana 2024.04/AMD64
27
28 * flex 2.6.4 and GNU Bison 3.7.6 work.
29 * CMake 3.30.2 works.
30 * GCC 10.5.0, GCC 13.3.0 and Clang 18.1.8 work.
31
32 For reference, the tests were done using a system installed from
33 `OI-hipster-minimal-20240426.iso` plus the `build-essential` package.
34
35 ## OpenIndiana 2023.10/AMD64
36
37 * flex 2.6.4 and GNU Bison 3.7.6 work.
38 * CMake 3.28.3 works.
39 * GCC 13.2.0 and Clang 17.0.6 work.
40
41 For reference, the tests were done using a system installed from
42 `OI-hipster-minimal-20231027.iso` plus the `build-essential` package.
43
44 ## Solaris 11.4.72.176.1/SPARC
45 * flex 2.6.4 and GNU Bison 3.8.2 work.
46 * CMake 3.24.0 works.
47 * Sun C 5.15 works.
48 * GCC 13.2.0 and Clang 13.0.1 work, but require setting
49 `PKG_CONFIG_PATH=/usr/lib/64/pkgconfig`
50
51 ## Solaris 11.4.57.144.3/SPARC
52
53 * flex 2.6.4 and GNU Bison 3.8.2 work.
54 * CMake does not work.
55 * GCC 12.2.0 and Clang 13.0.1 work.
56
57 ## Solaris 11.4.42.111.0/AMD64
58
59 * flex 2.6.4 and GNU Bison 3.7.3 work.
60 * CMake 3.21.0 works.
61 * Clang 11.0, GCC 11.2 and Sun C 5.15 work.
62
63 ## Solaris 11.3/SPARC
64
65 * flex 2.6.4 and GNU Bison 3.7.5 work.
66 * CMake 3.14.3 works.
67 * Sun C 5.13, Sun C 5.14 and Sun C 5.15 work; GCC 5.5.0 and GCC 7.3.0 work.
68
69 ## Solaris 10/SPARC
70
71 * libpcap build fails with rpcapd enabled.
72 * flex 2.6.4 and GNU Bison 3.7.5 work.
73 * CMake 3.14.3 works.
74 * Sun C 5.13 works, GCC 5.5.0 works.
75
76 ## Solaris 9
77
78 This version of this OS is not supported because the snprintf(3) implementation
79 in its libc is not suitable.