Blame


1 3e4749f7 2020-10-02 op # Installing gmid
2 3e4749f7 2020-10-02 op
3 30bc2ea9 2020-10-03 op ## Dependencies
4 3e4749f7 2020-10-02 op
5 3e4749f7 2020-10-02 op gmid depends on libtls and a C compiler. It's reported to compile with gcc 4.2, so it should work pretty everywhere now.
6 3e4749f7 2020-10-02 op
7 3e4749f7 2020-10-02 op The compilation is as easy as
8 3e4749f7 2020-10-02 op
9 3e4749f7 2020-10-02 op ```
10 3e4749f7 2020-10-02 op make
11 3e4749f7 2020-10-02 op ```
12 3e4749f7 2020-10-02 op
13 3e4749f7 2020-10-02 op Note that there isn't an install target yet.
14 3e4749f7 2020-10-02 op
15 3e4749f7 2020-10-02 op If you're a packager, don't forget to install also the manpage gmid.1
16 30bc2ea9 2020-10-03 op
17 30bc2ea9 2020-10-03 op ### etags
18 30bc2ea9 2020-10-03 op
19 30bc2ea9 2020-10-03 op during the build process, etags(1) is invoked to generate a TAGS file. This is done to aid the development. Anyway, etags(1) is NOT NEEDED as dependency. So, if you get something like
20 30bc2ea9 2020-10-03 op
21 30bc2ea9 2020-10-03 op ```
22 30bc2ea9 2020-10-03 op $ make
23 30bc2ea9 2020-10-03 op ...
24 30bc2ea9 2020-10-03 op etags gmid.c
25 30bc2ea9 2020-10-03 op make: exec(etags) failed (No such file or directory)
26 30bc2ea9 2020-10-03 op *** Error code 1 (ignored)
27 30bc2ea9 2020-10-03 op ```
28 30bc2ea9 2020-10-03 op
29 30bc2ea9 2020-10-03 op you don't need to worry, it is OK.
30 30bc2ea9 2020-10-03 op
31 30bc2ea9 2020-10-03 op ## Notes for specific OSes
32 30bc2ea9 2020-10-03 op
33 30bc2ea9 2020-10-03 op ### OpenBSD
34 30bc2ea9 2020-10-03 op
35 30bc2ea9 2020-10-03 op Everything you need is in base, just run make.
36 30bc2ea9 2020-10-03 op
37 30bc2ea9 2020-10-03 op ### FreeBSD
38 30bc2ea9 2020-10-03 op
39 30bc2ea9 2020-10-03 op You need to install security/libressl and then
40 30bc2ea9 2020-10-03 op
41 30bc2ea9 2020-10-03 op ```
42 30bc2ea9 2020-10-03 op make CFLAGS=-I/usr/local/include LDFLAGS='-L/usr/local/lib -ltls'
43 30bc2ea9 2020-10-03 op ```