Re: Wackamole install on FreeBSD 4.7

Ryan Caudy <[email protected]> Tue, 24 Jun 2003 17:19:19 -0400
Newsgroups gmane.comp.apache.mod-wackamole.general
Message-ID <[email protected]>
To recap for the list: there is a syntax error in configure.in (and 
consequently the configure script autoconf builds from it).  This is 
only for wackamole-2.0.0, and is fixed in CVS.  It only effects users 
who wish to use pre-3.17.0 Spread libraries, without threads (i.e. libsp.a).

The fix simply consists of removing a "$" in configure.in, and 
rebuilding the configure script using autoconf, or directly removing the 
offending character from the configure script.  I've attached patches 
for each.  (Correction for Nathen: line 3891 was the problem).

For those for whom it is feasible, I would strongly recommend moving to 
Spread 3.17.1.  It contains a number of bugfixes over 3.17.0, and even 
more when compared to earlier versions.  Since Wackamole's effectiveness 
depends on the stability of Spread, the best way to deploy Wackamole at 
this stage is with Spread 3.17.1.

--Ryan
configure.in.patch (text/plain, 415 B)
--- configure.in~	2002-11-16 13:58:33.000000000 -0500
+++ configure.in	2003-06-24 13:35:02.000000000 -0400
@@ -198,7 +198,7 @@
 dnl	AC_MSG_ERROR([ *** wackamole requires Spread *** ]) )
 else
     AC_CHECK_LIB(spread, SP_connect,SPREAD=1)
-    AC_CHECK_LIB(sp, SP_connect,$SPREAD=2)
+    AC_CHECK_LIB(sp, SP_connect,SPREAD=2)
 fi
 if test $SPREAD = 0; then
     AC_MSG_ERROR([ *** wackamole requires Spread *** ])
configure.patch (text/plain, 308 B)
--- configure~	2002-11-16 14:01:05.000000000 -0500
+++ configure	2003-06-24 16:53:24.000000000 -0400
@@ -3888,7 +3888,7 @@
 echo "$as_me:3888: result: $ac_cv_lib_sp_SP_connect" >&5
 echo "${ECHO_T}$ac_cv_lib_sp_SP_connect" >&6
 if test $ac_cv_lib_sp_SP_connect = yes; then
-  $SPREAD=2
+  SPREAD=2
 fi
 
 fi