[hobbit] Compiling only bbproxy
Henrik Stoerner
henrik at hswn.dk
Tue Mar 7 22:15:37 CET 2006
On Tue, Mar 07, 2006 at 09:55:22AM -0600, Paul D. Backer wrote:
> What are the minimum requirements to compile bbproxy? Is PCRE needed?
>
> I have several system on a private network that I would like to
> monitor. I have a system on the private and primary network that I
> would like to use as a proxy. I have compiled the client without any
> problems. I need to compile bbproxy.
Can't you just compile it on another box and copy the binary over ?
bbproxy is very much a stand-alone tool.
> I tried to do a make lib-build but
> received the following:
>
> [root at cab-babu snapshot]# make lib-build
> CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DLINUX -I.
> -I`pwd`/include -DCLIENTONLY=1" OSDEF="-DLINUX" RPATHOPT="-Wl,--rpath="
> PCREINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS=""
> BBTOPDIR="/opt/hobbit" BBLOGDIR="" BBHOSTNAME="" BBHOSTIP="127.0.0.1"
> BBHOSTOS="" make -C lib all
> make[1]: Entering directory `/opt/dev/snapshot/lib'
> gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DLINUX -I.
> -I/opt/dev/snapshot/include -DCLIENTONLY=1 -I. -I../include -c -o
> eventlog.o eventlog.c
> eventlog.c:31:18: pcre.h: No such file or directory
You could probably remove the "#include ../lib/eventlog." file from the
include/libbbgen.h source-file without any problems for just the
bbproxy compile. bbproxy doesn't use any PCRE routines, so it shouldn't
cause problems.
Henrik
More information about the Xymon
mailing list