Re: Wackamole install on FreeBSD 4.7

Ryan Caudy <[email protected]> Tue, 24 Jun 2003 13:41:39 -0400
Newsgroups gmane.comp.apache.mod-wackamole.general
Message-ID <[email protected]>
So, I'm not an autoconf expert, by any means.  However, I think the 
source of your problem may be an offending "$" character in the 
wackamole-2.0.0 configure.in, which has been removed in CVS.  I've 
attached a very simple patch that should fix your problem, if I am 
correct.  I haven't tested it myself, because I'm not close to my normal 
working environment right now; please let me know if it works.

--Ryan

Nathen Hinson wrote:
> Ryan
> 
>     I am using the Spread from the FreeBSD 4.7 ports tree which is 
> actually 3.16.2. However I am trying to install wackamole-2.0.0. Thanks 
> very much for looking into this.
> 
> Sincerely
> 
> Nathen Hinson
> Systems Analyst
> On - Site Support
> User Services
> Information Technology Services
> University of Texas at Austin
> 
> On Monday, June 23, 2003, at 03:30  PM, Ryan Caudy wrote:
> 
>> What version of Spread are you using?  libsp.a and libtsp.a are 
>> library names from an older version.  Wackamole should still recognize 
>> them... the advice I gave before was for the Spread 3.17.0+ library 
>> names, but using libsp.a is effectively the same thing as I was 
>> recommending.  I'm going to take a look at configure.in for you now 
>> (from Wackamole 2.0). If you're using an older version, let me know 
>> please.
>>
>> --Ryan
>>
>> Nathen Hinson wrote:
>>
>>> To All
>>>     I tried Ryan's suggestion which seemed very sound, however it 
>>> still does not work. I have two libraries libsp.a and libtsp.a ( the 
>>> tsp one is the one with threading I assume ). I have tried all 
>>> possible combinations of having both, either, neither in the local 
>>> directory or in the linking path and everything works fine when I do 
>>> not specify --with-threads=no. Is there something else ( anything 
>>> else ) that I can check ? Or has anyone run Wackamole on FreeBSD 
>>> 4.7-RELEASE without issue and I can safely ignore any warnings about 
>>> threading ?
>>> Thanks very much for any information
>>> PS. does not work means that the configure script fails right after
>>> checking for SP_connect in -lsp... yes
>>> and says:
>>> 0=2: not found
>>> configure: error:  *** wackamole requires Spread ***
>>> when run with --with-threads=no
>>> Sincerely
>>> Nathen Hinson
>>> Systems Analyst
>>> On - Site Support
>>> User Services
>>> Information Technology Services
>>> University of Texas at Austin
>>> On Wednesday, June 18, 2003, at 05:49  PM, Ryan Caudy wrote:
>>>
>>>> Sounds like the issue is that it can find libtspread, but not 
>>>> libspread.  If you make sure that libspread.a or libspread.so can be 
>>>> found in the linking path (i.e. what you specify with -L in 
>>>> ldflags), it should work.
>>>>
>>>> --Ryan
>>>>
>>>> Nathen Hinson wrote:
>>>>
>>>>> To Whom It May Concern
>>>>>     I am having some difficulty compiling wackamole for FreeBSD 
>>>>> 4.7. If I follow the install instructions in the README ( i.e. 
>>>>> ./configure --with-cppflags=-I/usr/local/include 
>>>>> --with-ldflags=-L/usr/local/lib ) everything works just fine, 
>>>>> however I get a warning about thread support in FreeBSD, and just 
>>>>> for grins I would like to compile without threads, using the 
>>>>> recommended --with-threads=no option. When I add this option to the 
>>>>> above configure script, configure complains that Spread is not 
>>>>> installed, which of course it is and works without the added line 
>>>>> in the configure call. Any advice would be greatly appreciated.
>>>>> Thanks in advance for any help
>>>>> Sincerely
>>>>> Nathen Hinson
>>>>> Systems Analyst
>>>>> On - Site Support
>>>>> User Services
>>>>> Information Technology Services
>>>>> University of Texas at Austin
>>>>> _______________________________________________
>>>>> wackamole-users mailing list
>>>>> [email protected]
>>>>> http://lists.backhand.org/mailman/listinfo/wackamole-users
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> wackamole-users mailing list
>>>> [email protected]
>>>> http://lists.backhand.org/mailman/listinfo/wackamole-users
>>>>
>>> _______________________________________________
>>> wackamole-users mailing list
>>> [email protected]
>>> http://lists.backhand.org/mailman/listinfo/wackamole-users
>>
>>
>>
>> _______________________________________________
>> wackamole-users mailing list
>> [email protected]
>> http://lists.backhand.org/mailman/listinfo/wackamole-users
>>
> 
> 
> _______________________________________________
> wackamole-users mailing list
> [email protected]
> http://lists.backhand.org/mailman/listinfo/wackamole-users
>
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 *** ])