FreeBSD compile issues for argus-clients-3.0.5.24
mike tancsa
mike at sentex.ca
Tue Nov 22 10:29:51 EST 2011
Hi Carter,
It looks like the recent Makefile changes on FreeBSD broke a few
things. All used to compile just fine with BSDMake. However, now the
shell needs to be changed either to bash, and gmake needs to be used
from the ports.
Running ./configure
and just typing make
results in
0(ich10)# make
making in ./common
pushd: not found
*** Error code 127
Stop in /tmp/argus-clients-3.0.5.24.
1(ich10)#
It seems to be the change from cd to pushd and popd
# diff -u ../argus-clients-3.0.5.19/Makefile Makefile
--- ../argus-clients-3.0.5.19/Makefile 2011-09-07 10:39:21.000000000 -0400
+++ Makefile 2011-11-22 10:25:43.000000000 -0500
@@ -47,12 +47,12 @@
SHELL = /bin/sh
-DIRS = ./common ./include ./clients ./ragraph ./ratop ./radium ./radump
./ramysql
-INSTDIRS = ./clients ./radium ./common ./include
+DIRS = ./common ./include ./clients ./radium ./examples
+INSTDIRS = ./clients ./examples ./common ./include
DISTFILES = AUTHORS CHANGES COPYING CREDITS ChangeLog INSTALL MANIFEST
Makefile.in README VERSION \
include lib man support aclocal.m4 acsite.m4 config configure
configure.ac .threads \
- bin clients common doc ragraph ratop radium radump ramysql
+ bin clients radium examples common
.c.o:
$(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) $<
@@ -63,19 +63,18 @@
@for i in $(DIRS) ; do \
if [ -d $$i ] ; then \
echo "making in $$i"; \
- cd $$i; \
+ pushd $$i > /dev/null; \
$(MAKE); \
- cd ..; \
+ popd > /dev/null; \
fi; \
done
.PHONY: all
changing to
-SHELL = /bin/sh
+SHELL = /usr/local/bin/bash
and using gmake seems to work
However, the examples directory has
SHELL = /bin/sh
hardcoded as well.
---Mike
More information about the argus
mailing list