[hobbit] New enable/disable tool ready for testing

Henrik Stoerner henrik at hswn.dk
Sat Apr 16 23:16:53 CEST 2005


On Sat, Apr 16, 2005 at 04:40:55PM -0400, Michael Dunne wrote:
> 
> When I attempt to apply the patch I receive the following error:
> 
> gcc -g -O -D_REENTRANT -DBIND_8_COMPAT=1 -DDarwin -DMAXMSG=32768
> -DBBDPORTNUMBER=1984 -I. -I/Users/hobbit/Desktop/hobbit-4.0.2/include
> -DHOBBITD=1 -I. -I../include    -c -o headfoot.o headfoot.c
> headfoot.c:25:18: pcre.h: No such file or directory

Ah - right, the PCRE include-directory is not being passed to this
compile-command.

Apply this patch (on top of the one you installed), and I think it
should compile OK.


Regards,
Henrik
-------------- next part --------------
--- build/Makefile.rules	2005/03/24 07:22:32	1.165
+++ build/Makefile.rules	2005/04/16 21:14:13
@@ -56,7 +56,7 @@
 	CC="$(CC)" CFLAGS="$(CFLAGS)" RPATHOPT="$(RPATHOPT)" SSLLIBS="$(SSLLIBS)" NETLIBS="$(NETLIBS)" BBHOME="$(BBHOME)" $(MAKE) -C build all
 
 lib-build:
-	CC="$(CC)" CFLAGS="$(CFLAGS)" RPATHOPT="$(RPATHOPT)" SSLFLAGS="$(SSLFLAGS)" SSLINCDIR="$(SSLINCDIR)" SSLLIBS="$(SSLLIBS)" NETLIBS="$(NETLIBS)" BBTOPDIR="$(BBTOPDIR)" BBLOGDIR="$(BBLOGDIR)" BBHOSTNAME="$(BBHOSTNAME)" BBHOSTIP="$(BBHOSTIP)" BBHOSTOS="$(BBHOSTOS)" $(MAKE) -C lib all
+	CC="$(CC)" CFLAGS="$(CFLAGS)" RPATHOPT="$(RPATHOPT)" PCREINCDIR="$(PCREINCDIR)" SSLFLAGS="$(SSLFLAGS)" SSLINCDIR="$(SSLINCDIR)" SSLLIBS="$(SSLLIBS)" NETLIBS="$(NETLIBS)" BBTOPDIR="$(BBTOPDIR)" BBLOGDIR="$(BBLOGDIR)" BBHOSTNAME="$(BBHOSTNAME)" BBHOSTIP="$(BBHOSTIP)" BBHOSTOS="$(BBHOSTOS)" $(MAKE) -C lib all
 
 common-build: lib-build
 	CC="$(CC)" CFLAGS="$(CFLAGS)" RPATHOPT="$(RPATHOPT)" SSLFLAGS="$(SSLFLAGS)" SSLINCDIR="$(SSLINCDIR)" SSLLIBS="$(SSLLIBS)" NETLIBS="$(NETLIBS)" BBHOME="$(BBHOME)" $(MAKE) -C common all
--- lib/Makefile	2005/04/03 15:31:58	1.17
+++ lib/Makefile	2005/04/16 21:13:33
@@ -17,6 +17,9 @@
 digest.o: digest.c
 	$(CC) $(CFLAGS) $(SSLFLAGS) $(SSLINCDIR) -c -o $@ digest.c
 
+headfoot.o: headfoot.c
+	$(CC) $(CFLAGS) $(PCREINCDIR) -c -o $@ headfoot.c
+
 environ.o: environ.c
 	$(CC) $(CFLAGS) -DBBTOPDIR=\"$(BBTOPDIR)\" -DBBLOGDIR=\"$(BBLOGDIR)\" -DBBHOSTNAME=\"$(BBHOSTNAME)\" -DBBHOSTIP=\"$(BBHOSTIP)\" -DBBHOSTOS=\"$(BBHOSTOS)\" -c -o $@ environ.c
 


More information about the Xymon mailing list