From cdfaf6dc57a03503cec46cad5fbfd6fec45b0f52 Mon Sep 17 00:00:00 2001 From: default Date: Tue, 21 May 2024 18:57:13 +0200 Subject: New compilation variable WITHOUT_SHM, to disable shared memory functions. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 1e5c2e8..6c1e31b 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,12 @@ If your compilation process complains about undefined references to `shm_open()` make LDFLAGS=-lrt ``` +If it still doesn't work (because your system does not implement the shared memory functions) or you are just not interested, you can compile out with + +```sh +make CFLAGS=-DWITHOUT_SHM +``` + See the administrator manual on how to proceed from here. ## Testing via Docker -- cgit v1.2.3 From c9c9b0bfdceefbded1250ad3947d6248232e080c Mon Sep 17 00:00:00 2001 From: default Date: Wed, 22 May 2024 09:37:44 +0200 Subject: Updated README. --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 6c1e31b..4cd3777 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,6 @@ Run `make` and then `make install` as root. If you're compiling on NetBSD, you should use the specific provided Makefile and run `make -f Makefile.NetBSD` and then `make -f Makefile.NetBSD install` as root. - From version 2.27, `snac` includes support for the Mastodon API; if you are not interested on it, you can compile it out by running ```sh @@ -71,7 +70,7 @@ If your compilation process complains about undefined references to `shm_open()` make LDFLAGS=-lrt ``` -If it still doesn't work (because your system does not implement the shared memory functions) or you are just not interested, you can compile out with +If it still gives compilation errors (because your system does not implement the shared memory functions), you can fix it with ```sh make CFLAGS=-DWITHOUT_SHM -- cgit v1.2.3