[Xapian-discuss] Xapian 0.9.5, Cygwin and xapian-config - Solved
Olly Betts
olly at survex.com
Tue May 9 16:08:36 BST 2006
On Tue, May 09, 2006 at 04:46:57PM +0200, Patrick M?zard wrote:
> I just rerun xapian-core-0.9.5 compilation from scratch. To make it
> succeed I still have to:
> - Fix the SNPRINTF macro in config.h.
OK, that is fixed in SVN.
> - Fix the trailing commas in version.h
I wonder if the issue is that there's a carriage return after the ","?
On the "broken" version.h, can you try:
sed 's/,$//' include/xapian/version.h
And:
sed 's/,\(\r\)*$//' include/xapian/version.h
I suspect the former won't remove the commas and the latter will.
Now "\r" in sed is a GNUism, but cygwin will always have GNU sed
and the \(...\)* means that it'll just be ignored on platforms
where it means something different anyway and we can just use this
expression everywhere. Solaris sed seems to interpret "\r" as the same
as "r", for example.
> - Add necessary libtool dependencies in Makefile.in, through what I
> called $(BACKEND_LA) in a previous post.
Ah, that's what you mean by the libtool dependency patch!
Cheers,
Olly
More information about the Xapian-discuss
mailing list