Xymon Mailing List Archive search

Problems compiling hobbit 4.1.0

list Thomas Krieger
Mon, 25 Jul 2005 09:33:05 +0000
Message-Id: <user-91119cf410bb@xymon.invalid>

Hello,

I'm having problems compiling hobbit 4.1.0. It's the same machine I've
compiled hobbit 4.0.4 without problems before. I'm using RedHat
Enterprise Linux 3.0.

Here's the output of the compiler run:

PKGBUILD=1 \
make
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -DLINUX -I.
-I`pwd`/include" RPATHOPT="" PCREINCDIR="-I/usr/include/pcre"
SSLFLAGS="-DBBGEN_SSL" SSLINCDIR="-I/usr/include
-I/usr/kerberos/include"
SSLLIBS="-L/usr/lib -lssl -lcrypto" NETLIBS=""
BBTOPDIR="/usr/local/hobbit" BBLOGDIR="/var/log/hobbit"
BBHOSTNAME="localhost" BBHOSTIP="127.0.0.1" BBHOSTOS="linux" make
-C lib
all
make[1]: Entering directory
`/export/home/cs5977/rpmbuild/BUILD/hobbit-4.1.0/lib'
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DLINUX -I.
-I/export/home/cs5977/rpmbuild/BUILD/hobbit-4.1.0/include -I. -I../include
   -c -o calc.o calc.c
In file included from
/export/home/cs5977/rpmbuild/BUILD/hobbit-4.1.0/include/libbbgen.h:35,
                 from calc.c:19:
/export/home/cs5977/rpmbuild/BUILD/hobbit-4.1.0/lib/matching.h:14:18:
pcre.h: No such file or directory
In file included from
/export/home/cs5977/rpmbuild/BUILD/hobbit-4.1.0/include/libbbgen.h:35,
                 from calc.c:19:
/export/home/cs5977/rpmbuild/BUILD/hobbit-4.1.0/lib/matching.h:16: syntax
error before '*' token
/export/home/cs5977/rpmbuild/BUILD/hobbit-4.1.0/lib/matching.h:16:
warning: type defaults to `int' in declaration of `compileregex'
/export/home/cs5977/rpmbuild/BUILD/hobbit-4.1.0/lib/matching.h:16:
warning: data definition has no type or storage class
/export/home/cs5977/rpmbuild/BUILD/hobbit-4.1.0/lib/matching.h:18: syntax
error before "pcre"
make[1]: *** [calc.o] Error 1
make[1]: Leaving directory
`/export/home/cs5977/rpmbuild/BUILD/hobbit-4.1.0/lib'
make: *** [lib-build] Error 2

Can anyone help?

Bye

Thomas