[Xapian-discuss] Xapian 0.9.5, Cygwin and xapian-config

Olly Betts olly at survex.com
Mon May 8 18:04:55 BST 2006


On Mon, May 08, 2006 at 06:47:04PM +0200, Patrick M?zard wrote:
> The "make" command failed when trying to build "xapian-config". "make" 
> outputs:
> """
> cd . && /bin/sh ./config.status xapian-config
> config.status: creating xapian-config
> """
> then seems to never terminate (I let it run for twenty minutes before 
> killing it). The task manager shows that "sed" is taking all the 
> processing time and FileMon does not show any specific filesystem 
> activity. I am stuck at this point. I tried to comment the library 
> dependency tracking function added since xapian 0.9.2 to no avail.

I think the problem is with generating xapian-config, not trying to
run it (especially since it doesn't get run at all during the
xapian-core build!)

Can you find out what arguments the sed was passed?  If "ps" works in
cygwin, the output of "ps wux|grep sed" should say.  If not, can you
see if "config.status" is still running?

> Besides, compared to the compilation of 0.9.2, I have the following remarks:
> - The precedence of win32 find.exe over cygwin one is correctly detected 
> by configure.

Good!

> - There is a problem when generating "config.h": instead of being left 
> commented, the symbol SNPRINTF is defined to "no" which breaks macro 
> expansion in many places. Commenting it deals with the issue.

Oops, there's a reversed conditional in configure.  I'll fix that.

> - I still have to add dependencies via the BACKENDS_LA variable (see my 
> previous post linked above).

Hmm.  I'll try to look into that some more.  I wonder if perhaps we
should give up using libtool convenience libraries like this, which
would have the added benefit of reducing the size of the build tree
quite a bit.

Cheers,
    Olly



More information about the Xapian-discuss mailing list