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@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
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to