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

Charlie Hull charlie at juggler.net
Wed Sep 16 08:36:58 BST 2009


spamaggregator2 at yahoo.de wrote:
> 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?

Yes, that's what the SWIGBUILD switch should make happen. Since we don't 
provide binary builds for 1.1.2 (yet), I haven't tried this for a while, 
but I'll take a look soon.

Charlie
> 
> 
> 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?
> 
> 
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss




More information about the Xapian-discuss mailing list