Patrick Mézard
2006-May-08 17:46 UTC
[Xapian-discuss] Xapian 0.9.5, Cygwin and xapian-config
Hello, I am trying to get Xapian 0.9.5 compiled on Win32 using Cygwin. I use the same configuration I described in <http://thread.gmane.org/gmane.comp.search.xapian.general/2071/focus=2071>. 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. 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. - 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. - I still have to add dependencies via the BACKENDS_LA variable (see my previous post linked above). Thank you for any idea about the sed pseudo-infinite loop. -- Patrick M?zard
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