On 17 December 2013 06:36, Diep, David (OCTO-Contractor)
<user-ca44d68fd6e2@xymon.invalid>wrote:
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include
-DCLIENTONLY=1 -DLOCALCLIENT=1
^^^
Any reason why you opted for client-side configuration instead of the
(default) server-side aka central mode? I think if you build it with
server-side config, it will work.
The reason it's failing is there seems to be a bug in the makefile creation
that sets PCREINCDIR to "-l" instead of a valid directory or empty. You
can probably get further with this:
$ make PCREINCDIR=""
But there seems to be other problems. So I'd recommend using server-side
configuration.
J