argus with sasl2 installation
Michael Hornung
hornung at cac.washington.edu
Thu Mar 22 12:12:06 EDT 2007
I got argus-clients to build by making changes to aclocal.m4 and
ragrep/Makefile.in. Not sure if it's the right solution, but it did
work for me. Those changes are:
############################################################
--- aclocal.m4.orig Thu Mar 22 07:52:54 2007
+++ aclocal.m4 Thu Mar 22 08:01:19 2007
@@ -1376,11 +1376,13 @@
CMU_SASL2_REQUIRE_VER(2,1,7)
if test "$ac_cv_sasl_where_inc" != ""; then
- $1="-I$ac_cv_sasl_where_inc $$1"
+ #$1="-I$ac_cv_sasl_where_inc $$1"
+ V_INCLS="${V_INCLS} -I${ac_cv_sasl_where_inc}"
fi
AC_DEFINE(ARGUS_SASL, 1)
AC_SUBST(LIB_SASL)
AC_SUBST(SASLFLAGS)
+ AC_SUBST(V_INCLS)
else
AC_ERROR([Could not find sasl2])
fi
############################################################
############################################################
--- ragrep/Makefile.in.orig Thu Mar 22 08:09:05 2007
+++ ragrep/Makefile.in Thu Mar 22 08:09:25 2007
@@ -108,7 +108,7 @@
LDADD = regex$U.o
datadir = $(prefix)/share
localedir = $(datadir)/locale
-INCLUDES = -I. -I../include -DLOCALEDIR=\"$(localedir)\"
+INCLUDES = -I. -I../include -DLOCALEDIR=\"$(localedir)\" $(INCLS)
EXTRA_DIST = dosbuf.c vms_fab.c vms_fab.h regex.h
############################################################
-Mike
On Thu, 22 Mar 2007 at 08:48, Michael Hornung wrote:
|Using today's code I get the following configure error, then building
|doesn't work. This is argus-clients on OpenBSD 4.0.
|
|...
|./configure[6812]: =-I/usr/local/include $: not found
|...
|
|% make
|making in ./common
|gcc -O3 -pthread -I. -I../include -DPACKAGE_NAME=\"\"
|-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
|-DPACKAGE_BUGREPORT=\"\" -DHAVE_VFPRINTF=1 -DHAVE_STRCASECMP=1
|-DHAVE_STRLCAT=1 -DHAVE_STRLCPY=1 -DHAVE_STRDUP=1 -DHAVE_STRFTIME=1
|-DHAVE_SETLINEBUF=1 -DHAVE_ALARM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
|-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
|-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
|-DHAVE_INTTYPES_H=1 -DARGUS_SASL=1 -DARGUS_THREADS=1 -DHAVE_SYS_SOCKIO_H=1
|-DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1
|-DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_SRANDOMDEV=1
|-DARGUS_CURSES=1 -DCONFIG_X86_BSWAP=1 -DSTDC_HEADERS=1 -DARGUS_SYSLOG -c
|./argus_main.c
|In file included from argus_main.c:79:
|../include/argus_util.h:138:23: sasl/sasl.h: No such file or directory
|In file included from argus_main.c:81:
|../include/argus_client.h:50:23: sasl/sasl.h: No such file or directory
|In file included from argus_main.c:81:
|../include/argus_client.h:168: error: syntax error before "sasl_conn_t"
|*** Error code 1
|
|Stop in /root/argus/argus-clients-3.0.0.rc.42/common.
|*** Error code 1
|
|Stop in /root/argus/argus-clients-3.0.0.rc.42 (line 64 of Makefile).
|
|
|-Mike
|
|On Thu, 22 Mar 2007 at 10:28, Carter Bullard wrote:
|
||I've put up refreshes of rc.42 on the server that fix all of this.
||Grab new code and give it a whirl.
||Carter
||
||
||On Mar 22, 2007, at 9:42 AM, Carter Bullard wrote:
||
||> Hey Peter,
||> Yes the bug is in the aclocal.m4 macros. I'll fix that right now.
||> Carter
||>
||>
||> On Mar 21, 2007, at 12:28 PM, Peter Van Epp wrote:
||>
||> > On Wed, Mar 21, 2007 at 11:57:55AM -0400, Carter Bullard wrote:
||> > > I'm using the cmu sasl that comes standard with Fedora 6, and our
||> > > aclocal.m4 is using macros from cmu's cyrus-imapd, so they should be
||> > > legit. argus doesn't actually use prop_get(), but testing for it in
||> > > the
||> > > sasl library seems to be a specific test for sasl2, and we definately
||> > > have to find sasl2 now. Doing a strings on /usr/lib/libsasl2.a does
||> > > have prop_get.
||> > >
||> > > strings /usr/lib/*sasl2* | fgrep prop_get
||> > >
||> > > if you find prop_get in your library, then I may need to fix something
||> > > in the aclocal.m4, so it can find it!!!!
||> > >
||> > >
||> > > Carter
||> > >
||> >
||> > It is in there (although an nm on the library doesn't find it), I
||> > expect the problem is library path. Ports puts sasl in /usr/local/lib and I
||> > expect that isn't in the library path when it tries to compile the program
||> > that tests for prop_get. For FreeBSD it would be good to include the
||> > /usr/local/ path in the default search path because ports tends to put
||> > everything in /usr/local/* (include, lib etc.)
||> >
||> > test5# strings /usr/local/lib/*sasl2* | fgrep prop_get
||> > prop_get
||> > prop_getnames
||> > sasl_auxprop_getctx
||> > prop_get
||> > prop_getnames
||> > sasl_auxprop_getctx
||> > prop_getnames
||> > prop_get
||> > prop_getnames
||> > prop_get
||> > prop_getnames
||> > sasl_auxprop_getctx
||> > prop_get
||> > prop_getnames
||> > sasl_auxprop_getctx
||> >
||> > Peter Van Epp / Operations and Technical Support
||> > Simon Fraser University, Burnaby, B.C. Canada
||> >
||>
||> Carter Bullard
||> CEO/President
||> QoSient, LLC
||> 150 E. 57th Street Suite 12D
||> New York, New York 10022
||>
||> +1 212 588-9133 Phone
||> +1 212 588-9134 Fax
||>
||>
||
||Carter Bullard
||CEO/President
||QoSient, LLC
||150 E. 57th Street Suite 12D
||New York, New York 10022
||
||+1 212 588-9133 Phone
||+1 212 588-9134 Fax
||
||
|
|
More information about the argus
mailing list