[ARGUS] sasl a solution (ugly, but a solution :-))

Peter Van Epp vanepp at sfu.ca
Fri Aug 13 17:16:11 EDT 2004


	A compromise position :-). If you install the latest library from
CMU (cyrus-sasl-2.1.19) with ./configure and make install, it puts the 
include in /usr/local/include/sasl and with the following patch (which probably
really wants to be made in configure.in and/or aclocal.m4) to configure to
add /usr/local/include/sasl to the include search path and then include it 
somehow (I'm not clear on how, but it seems happy). Then just ./configure
works and finds sasl. With this patch to configure none of the patches to 
the code are required it manages to insert the include on the compiler command
line correctly somehow.
	Its probably more reasonable to use the very latest library (which
may or may not be true of those in ports). I intend on upgrading to this 
everywhere and seeing it if fixes my ra segfaults and Mac OS X.

Peter Van Epp / Operations and Technical Support 
Simon Fraser University, Burnaby, B.C. Canada


*** configure.orig	Thu May  6 06:39:13 2004
--- configure	Fri Aug 13 14:09:04 2004
***************
*** 4025,4031 ****
  
        if test -d ${with_sasl}; then
            ac_cv_sasl_where_lib=${with_sasl}/lib
!           ac_cv_sasl_where_inc=${with_sasl}/include
  
            SASLFLAGS="-I$ac_cv_sasl_where_inc"
            LIB_SASL="-L$ac_cv_sasl_where_lib"
--- 4025,4031 ----
  
        if test -d ${with_sasl}; then
            ac_cv_sasl_where_lib=${with_sasl}/lib
!           ac_cv_sasl_where_inc=${with_sasl}/include/sasl
  
            SASLFLAGS="-I$ac_cv_sasl_where_inc"
            LIB_SASL="-L$ac_cv_sasl_where_lib"
***************
*** 4235,4240 ****
--- 4235,4241 ----
  
        if test "$ac_cv_found_sasl" = yes; then
           LIB_SASL="$LIB_SASL -lsasl"
+ 	 SASLFLAGS="$ac_cv_header_sasl_h"
  
           if test "$with_sasl" != no; then
              cat >>confdefs.h <<\_ACEOF



More information about the argus mailing list