argus with sasl2 installation

Carter Bullard carter at qosient.com
Thu Mar 22 12:19:52 EDT 2007


Mike,
Not enough information.  What did you type?
Carter


On Mar 22, 2007, at 11:48 AM, 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
> |> >
> |>



More information about the argus mailing list