[sword-devel] clucene make system dependence

Troy A. Griffitts scribe at crosswire.org
Sat May 19 14:48:17 MST 2007


Terry,
	Thanks for the patch!  Applied.  I added a few comments and removed my 
initial comments which questioned why in the world clucene-config.h was 
being sought in /usr/lib.  Thank for the explanation.

Pierre,
	Thanks for the report.  I added a check for an explicit 
--with-clucene=yes  Let me know if it fixes things for you.

	Thank you,
		-Troy.

Terry Biggs wrote:
> Troy,
> 
> here's a new patch
> you were right of course :)
> 
> terry
> 
> On Fri, 2007-05-18 at 21:55 -0400, Terry Biggs wrote:
>> Troy,
>>
>> some of us don't have lib64 :(
>> we just have lib and that's where clucene-config.h lives in Ubuntu-7.04
>> other than that it worked great.
>>
>> here's a patch that makes it go.
>>
>> terry
>>
>>
>>
>> On Fri, 2007-05-18 at 15:41 -0700, Troy A. Griffitts wrote:
>>> OK guys, I had some time today to look into the reported problems of 
>>> compiling sword without clucene.  Being a novice, at best, at autotools, 
>>> I've committed a delta that I THINK works.  If those who have had 
>>> troubles could try the latest SVN trunk out and let me know, I'd 
>>> appreciate it.  Those who have autotools experience, if you have a 
>>> chance to look at my latest commit and confirm what I've done or provide 
>>> an alternate solution, it would be much appreciated.
>>>
>>>     -Troy.
>>>
>>> _______________________________________________
>>> sword-devel mailing list: sword-devel at crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>> Instructions to unsubscribe/change your settings at above page
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>>
>> ------------------------------------------------------------------------
>>
>> Index: acx_clucene.m4
>> ===================================================================
>> --- acx_clucene.m4	(revision 2051)
>> +++ acx_clucene.m4	(working copy)
>> @@ -35,7 +35,7 @@
>>  					CLUCENE_CXXFLAGS="-I$flag/include"
>>  # what is this?!!!  Keeping, but don't understand.  Can clucene-config.h actually get installed to lib?
>>  				else
>> -					CLUCENE_CXXFLAGS="-I$flag/include -I$flag/lib64"
>> +					CLUCENE_CXXFLAGS="-I$flag/include -I$flag/lib64 -I$flag/lib"
>>  				fi
>>  			else
>>  				if test -e "$flag/lib/libclucene.la" || test -e "$flag/lib/libclucene.so"; then
>> @@ -45,7 +45,7 @@
>>  						CLUCENE_CXXFLAGS="-I$flag/include"
>>  	# what is this?!!!  Keeping, but don't understand.  Can clucene-config.h actually get installed to lib?
>>  					else
>> -						CLUCENE_CXXFLAGS="-I$flag/include -I$flag/lib64"
>> +						CLUCENE_CXXFLAGS="-I$flag/include -I$flag/lib64 -I$flag/lib"
>>  					fi
>>  				fi
>>  			fi
>> Index: acx_clucene.m4
>> ===================================================================
>> --- acx_clucene.m4	(revision 2051)
>> +++ acx_clucene.m4	(working copy)
>> @@ -45,7 +45,7 @@
>>  						CLUCENE_CXXFLAGS="-I$flag/include"
>>  	# what is this?!!!  Keeping, but don't understand.  Can clucene-config.h actually get installed to lib?
>>  					else
>> -						CLUCENE_CXXFLAGS="-I$flag/include -I$flag/lib64"
>> +						CLUCENE_CXXFLAGS="-I$flag/include -I$flag/lib"
>>  					fi
>>  				fi
>>  			fi
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page




More information about the sword-devel mailing list