From: Ivan Maidanski Date: Wed, 16 Nov 2016 09:05:43 +0000 (+0300) Subject: Document configure 'syntax error' issue in README X-Git-Tag: v7.6.2~337 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=899da82f7d15e5f54c05a0a0e8ad0dccc9e94dc9;p=gc Document configure 'syntax error' issue in README * README.md (Installation and Portability): Add information how to avoid "syntax error near unexpected token ATOMIC_OPS" configure failure (caused by lack of pkg.m4). --- diff --git a/README.md b/README.md index f9dfdf7f..d257d581 100644 --- a/README.md +++ b/README.md @@ -185,6 +185,10 @@ libatomic_ops source repository as well) could look like: make make check +If you are getting "syntax error near unexpected token ATOMIC_OPS" during +configure execution, this means pkg.m4 cannot be found, most probably +you should run `pkg-config` once before autoreconf. + Below we focus on the collector build using classic makefile. For the Makefile.direct-based process, typing `make test` instead of `make` will automatically build the collector and then run `setjmp_test` and `gctest`.