[Xapian-discuss] Windows build files for 1.0

Daniel Ménard Daniel.Menard at bdsp.tm.fr
Tue Jun 12 09:49:00 BST 2007


Olly Betts a écrit :
> On Mon, Jun 11, 2007 at 07:00:55PM +0200, Daniel M?nard wrote:
>   
>> 1. I created a very simple "version.rc" file. I started with the 
>> template file included in php source distributions which is used for all 
>> php extensions (template.rc in /win32/build folder), removing things 
>> which were not needed in my opinion and quickly changing some lines:
>> http://www.bdsp.tm.fr/aed/xapian/version.rc.txt
>>     
> I can't access this site - I always get:
>
> "The connection to the server was reset while the page was loading."
>   
That's strange, I access the site without problem both from home and 
from office. Other tools like w3 validator do too.
Perhaps it was a temporary problem. Could you try again?
>> 2. In this resource file, we need to have access to the xapian version. 
>> The simplest way would be to include "version.win32.h", but RC, the 
>> resource compiler, dislike the namespace it contains (perhaps this file 
>> could be split?) So I duplicated the file, keeping only the defines:
>>     
>
> Hmm, the real version.h no longer contains any namespaces or function
> prototypes.  In fact, version.win32.h shouldn't even be there.  I
> carefully added a suitable generated version to the xapian-core tarball
> precisely to avoid this problem with failing to remember to update the
> version numbers by hand, but sadly it's not being used.  I've committed
> a hopefully suitable change to SVN, but I'm unable to test it.  
>
> Can you try out the makefiles from SVN and let me know how they do?
>   
I will give them a try, but probably not today...

Cheers,

-- 

Daniel Ménard




More information about the Xapian-discuss mailing list