]> The Tcpdump Group git mirrors - libpcap/blob - doc/README.solaris.md
Merge pull request #1039 from gokulkumar792/add_bar_and_ba_ctl_frames
[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 OpenIndiana lex nor OpenIndiana yacc are suitable.
6 * Solaris m4 and OpenIndiana m4 are suitable.
7
8 ## OpenIndiana 2021.04/AMD64
9
10 * flex 2.6.4 and GNU Bison 3.7.6 work.
11 * CMake 3.21.1 works.
12 * GCC 7.5.0 and GCC 10.3.0 work, Clang 9.0.1 works.
13
14 For reference, the tests were done using a system installed from
15 `OI-hipster-text-20210430.iso` plus the following packages:
16 ```shell
17 xargs -L1 pkg install <<ENDOFTEXT
18 developer/build/autoconf
19 developer/parser/bison
20 developer/lexer/flex
21 developer/build/cmake
22 developer/gcc-10
23 developer/clang-90
24 ENDOFTEXT
25 ```
26
27 ## Solaris 11/SPARC
28
29 * flex 2.6.4 and GNU Bison 3.7.1 work.
30 * CMake 3.14.3 works.
31 * Sun C 5.13, Sun C 5.14 and Sun C 5.15 work; GCC 5.5.0 and GCC 7.3.0 work.
32
33 ## Solaris 10/SPARC
34
35 * libpcap build fails with rpcapd enabled.
36 * flex 2.6.4 and GNU Bison 3.7.1 work.
37 * CMake 3.14.3 works.
38 * Sun C 5.13 works, GCC 5.5.0 works.
39
40 ## Solaris 9/SPARC
41
42 * flex 2.5.35 and GNU Bison 3.0.2 work.
43 * CMake 2.8.9 does not work.
44 * Neither Sun C 5.8 nor Sun C 5.9 work, GCC 4.6.4 works.