Blob


1 # Installing gmid
3 ## Dependencies
5 gmid depends on libtls and a C compiler. It's reported to compile with gcc 4.2, so it should work pretty everywhere now.
7 The compilation is as easy as
9 ```
10 make
11 ```
13 Note that there isn't an install target yet.
15 If you're a packager, don't forget to install also the manpage gmid.1
17 ### etags
19 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
21 ```
22 $ make
23 ...
24 etags gmid.c
25 make: exec(etags) failed (No such file or directory)
26 *** Error code 1 (ignored)
27 ```
29 you don't need to worry, it is OK.
31 ## Notes for specific OSes
33 ### OpenBSD
35 Everything you need is in base, just run make.
37 ### FreeBSD
39 You need to install security/libressl and then
41 ```
42 make CFLAGS=-I/usr/local/include LDFLAGS='-L/usr/local/lib -ltls'
43 ```