aboutsummaryrefslogtreecommitdiff
path: root/INSTALL.gmi
blob: c822e3e39fa5493b253e2c92798bc9ba04efbccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Installing gmid

## Dependencies

gmid depends on libtls and a C compiler.  It's reported to compile with gcc 4.2, so it should work pretty everywhere now.

The compilation is as easy as

```
make
```

Note that there isn't an install target yet.

If you're a packager, don't forget to install also the manpage gmid.1

### etags

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

```
$ make
...
etags gmid.c
make: exec(etags) failed (No such file or directory)
*** Error code 1 (ignored)
```

you don't need to worry, it is OK.

## Notes for specific OSes

### OpenBSD

Everything you need is in base, just run make.

### FreeBSD

You need to install security/libressl and then

```
make CFLAGS=-I/usr/local/include LDFLAGS='-L/usr/local/lib -ltls'
```