[Xapian-discuss] can´t build ruby bindings with msvc (xapian 1.1.2)

spamaggregator2 at yahoo.de spamaggregator2 at yahoo.de
Tue Sep 15 22:14:26 BST 2009


hi

i´m trying to build the ruby bindings in xapian 1.1.2 on win xp.
i´ve

   1. pulled the tags/1.1.2 revision from svn
   2. built SWIG from repo via MinGW and MSYS (swig -help works, so build seems
      ok to me)
   3. built xapian-core following readme in ...\win32msvc, apitest doesn´t give
      errors

now if i try to build:
"...\ruby>nmake SWIGBUILD=1

Microsoft (R) Program Maintenance Utility, Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

NMAKE : fatal error U1073: "".\xapian_wrap.cc"" don't know how to make  
Stop."

i´m pretty sure my SWIG-path is set correctly in config.mak; i couldn´t find any 
xapian_wrap.* file in the repository, i suppose those should be generated by SWIG?


does someone know what i could do or try to get it working? any help would be real nice.


PS
i´ve also tried revision 13512 from http://oligarchy.co.uk/xapian/trunk/, gave me (after some warnings)the error
...\_xapian.so : fatal error LNK
1120: 1 unresolved externals.
NMAKE : fatal error U1077: ""D:\Programme\Microsoft Visual Studio 9.0\VC\BIN\lin
k.exe"": return code "0x460"
Stop.


PPS
i´ve send another email earlier this day, but neither did i get an acknowledgement mail nor does it appear in the archive. maybe the subject was too long?




More information about the Xapian-discuss mailing list