Abhishek Singh Kushwah
2015-Jan-03 12:25 UTC
[Xapian-discuss] Xapian-discuss Digest, Vol 127, Issue 1
Hey Richhiey, Most probably Xapian is used with CYGWIN in Windows and Windows Specific Code in Xapian is based on CYGWIN, However we would be able to help you out with this issue, if you could pastebin whole 'gnu-make' generated report. Regards, Abhishek On Sat, Jan 3, 2015 at 5:30 PM, <xapian-discuss-request at lists.xapian.org> wrote:> Send Xapian-discuss mailing list submissions to > xapian-discuss at lists.xapian.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.xapian.org/mailman/listinfo/xapian-discuss > or, via email, send a message with subject or body 'help' to > xapian-discuss-request at lists.xapian.org > > You can reach the person managing the list at > xapian-discuss-owner at lists.xapian.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Xapian-discuss digest..." > > > Today's Topics: > > 1. Building Xapian on windows (Richhiey Thomas) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 3 Jan 2015 03:27:05 +0530 > From: Richhiey Thomas <richhiey.thomas at gmail.com> > To: xapian-discuss at lists.xapian.org > Subject: [Xapian-discuss] Building Xapian on windows > Message-ID: > <CAPHaz> CopHLo2g5HJyVXABstJjVg5xf_uKTRTpLa2_swE9vsoA at mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hello this is Richhiey. I am new to Xapian and I tried to build Xapian on > windows using Visual C++ Express 2010. > But it gives me fatal error U1077 : 'cl.exe' : return code '0x2' > I read that this signifies a compilation error while dependencies were > being checked but am not able to understand how to tackle this. Can someone > help me out? > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Xapian-discuss mailing list > Xapian-discuss at lists.xapian.org > http://lists.xapian.org/mailman/listinfo/xapian-discuss > > > ------------------------------ > > End of Xapian-discuss Digest, Vol 127, Issue 1 > ********************************************** >
James Aylett
2015-Jan-03 12:31 UTC
[Xapian-discuss] Xapian-discuss Digest, Vol 127, Issue 1
I?m pretty sure Richhiey is using the MSVC build system. Sadly at the moment this doesn?t have a maintainer; it?s on my list of things to look at, but not quite at the top, so I don?t have any help to offer on this :-( J> On 3 Jan 2015, at 12:25, Abhishek Singh Kushwah <abhishek18kushwah at gmail.com> wrote: > > Hey Richhiey, > > Most probably Xapian is used with CYGWIN in Windows and Windows Specific > Code in Xapian is based on CYGWIN, > However we would be able to help you out with this issue, if you could > pastebin whole 'gnu-make' generated report. > > Regards, > Abhishek > > > On Sat, Jan 3, 2015 at 5:30 PM, <xapian-discuss-request at lists.xapian.org> > wrote: > >> Send Xapian-discuss mailing list submissions to >> xapian-discuss at lists.xapian.org >> >> To subscribe or unsubscribe via the World Wide Web, visit >> http://lists.xapian.org/mailman/listinfo/xapian-discuss >> or, via email, send a message with subject or body 'help' to >> xapian-discuss-request at lists.xapian.org >> >> You can reach the person managing the list at >> xapian-discuss-owner at lists.xapian.org >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of Xapian-discuss digest..." >> >> >> Today's Topics: >> >> 1. Building Xapian on windows (Richhiey Thomas) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Sat, 3 Jan 2015 03:27:05 +0530 >> From: Richhiey Thomas <richhiey.thomas at gmail.com> >> To: xapian-discuss at lists.xapian.org >> Subject: [Xapian-discuss] Building Xapian on windows >> Message-ID: >> <CAPHaz>> CopHLo2g5HJyVXABstJjVg5xf_uKTRTpLa2_swE9vsoA at mail.gmail.com> >> Content-Type: text/plain; charset=UTF-8 >> >> Hello this is Richhiey. I am new to Xapian and I tried to build Xapian on >> windows using Visual C++ Express 2010. >> But it gives me fatal error U1077 : 'cl.exe' : return code '0x2' >> I read that this signifies a compilation error while dependencies were >> being checked but am not able to understand how to tackle this. Can someone >> help me out? >> >> >> ------------------------------ >> >> Subject: Digest Footer >> >> _______________________________________________ >> Xapian-discuss mailing list >> Xapian-discuss at lists.xapian.org >> http://lists.xapian.org/mailman/listinfo/xapian-discuss >> >> >> ------------------------------ >> >> End of Xapian-discuss Digest, Vol 127, Issue 1 >> ********************************************** >> > _______________________________________________ > Xapian-discuss mailing list > Xapian-discuss at lists.xapian.org > http://lists.xapian.org/mailman/listinfo/xapian-discuss-- James Aylett, occasional trouble-maker xapian.org
Charlie Hull
2015-Jan-05 09:56 UTC
[Xapian-discuss] Xapian-discuss Digest, Vol 127, Issue 1
On 03/01/2015 12:31, James Aylett wrote:> I?m pretty sure Richhiey is using the MSVC build system. Sadly at the > moment this doesn?t have a maintainer; it?s on my list of things to > look at, but not quite at the top, so I don?t have any help to offer > on this :-(I was the maintainer of this, and sadly haven't managed to keep it up to date. However I can say that you should look for a file 'deps.d' as detailed in the README file included with the win32 MSVC build files (look from around line 50). This should help you trace the problem. The MSVC build process, although necessary for some (i.e. those wanting to link with MSVC-built DLLs such as Python) was always a horrible hack I'm afraid and the dependency checking stuff is one of the nastiest parts! Cheers Charlie> > J > >> On 3 Jan 2015, at 12:25, Abhishek Singh Kushwah >> <abhishek18kushwah at gmail.com> wrote: >> >> Hey Richhiey, >> >> Most probably Xapian is used with CYGWIN in Windows and Windows >> Specific Code in Xapian is based on CYGWIN, However we would be >> able to help you out with this issue, if you could pastebin whole >> 'gnu-make' generated report. >> >> Regards, Abhishek >> >> >> On Sat, Jan 3, 2015 at 5:30 PM, >> <xapian-discuss-request at lists.xapian.org> wrote: >> >>> Send Xapian-discuss mailing list submissions to >>> xapian-discuss at lists.xapian.org >>> >>> To subscribe or unsubscribe via the World Wide Web, visit >>> http://lists.xapian.org/mailman/listinfo/xapian-discuss or, via >>> email, send a message with subject or body 'help' to >>> xapian-discuss-request at lists.xapian.org >>> >>> You can reach the person managing the list at >>> xapian-discuss-owner at lists.xapian.org >>> >>> When replying, please edit your Subject line so it is more >>> specific than "Re: Contents of Xapian-discuss digest..." >>> >>> >>> Today's Topics: >>> >>> 1. Building Xapian on windows (Richhiey Thomas) >>> >>> >>> ---------------------------------------------------------------------- >>> >>> >>>Message: 1>>> Date: Sat, 3 Jan 2015 03:27:05 +0530 From: Richhiey Thomas >>> <richhiey.thomas at gmail.com> To: xapian-discuss at lists.xapian.org >>> Subject: [Xapian-discuss] Building Xapian on windows Message-ID: >>> <CAPHaz>>> CopHLo2g5HJyVXABstJjVg5xf_uKTRTpLa2_swE9vsoA at mail.gmail.com> >>> Content-Type: text/plain; charset=UTF-8 >>> >>> Hello this is Richhiey. I am new to Xapian and I tried to build >>> Xapian on windows using Visual C++ Express 2010. But it gives me >>> fatal error U1077 : 'cl.exe' : return code '0x2' I read that this >>> signifies a compilation error while dependencies were being >>> checked but am not able to understand how to tackle this. Can >>> someone help me out? >>> >>> >>> ------------------------------ >>> >>> Subject: Digest Footer >>> >>> _______________________________________________ Xapian-discuss >>> mailing list Xapian-discuss at lists.xapian.org >>> http://lists.xapian.org/mailman/listinfo/xapian-discuss >>> >>> >>> ------------------------------ >>> >>> End of Xapian-discuss Digest, Vol 127, Issue 1 >>> ********************************************** >>> >> _______________________________________________ Xapian-discuss >> mailing list Xapian-discuss at lists.xapian.org >> http://lists.xapian.org/mailman/listinfo/xapian-discuss >
On Sat, Jan 03, 2015 at 05:55:25PM +0530, Abhishek Singh Kushwah wrote:> Most probably Xapian is used with CYGWIN in Windows and Windows Specific > Code in Xapian is based on CYGWIN,Just to be clear, Xapian supports building on Windows both with and without Cygwin. But as James notes, the "MSVC makefiles" haven't been actively maintained for some time, and don't work for building current trunk. What would be ideal would be to sort out allowing building using MSVC with the standard build system - this shouldn't be hard to do, but needs someone actually developing on Windows to work on it. It would require having the MSYS tools installed, but that's not a difficult requirement given our target audience is developers. If that's really felt to be too hard, we can package up a build into an installer. This would be a much more maintainable solution that trying to have two parallel build systems - the nmake one will inevitably be a second-class citizen as most developers can't test it even if they wanted too, and most quite reasonably won't want to as nmake is a very strange make implementation. Cheers, Olly