[Xapian-tickets] [Xapian] #634: Fail compiling Ruby bindings Windows MinGW RubyInstaller 1.9.3
Xapian
nobody at xapian.org
Thu Feb 20 21:20:50 GMT 2014
#634: Fail compiling Ruby bindings Windows MinGW RubyInstaller 1.9.3
------------------------------------+--------------------------------------
Reporter: adenis | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Xapian-bindings (Ruby) | Version: 1.2.17
Severity: major | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: Microsoft Windows
------------------------------------+--------------------------------------
\
\
\
\
\
\
Comment (by olly):
It'll need linking against the ruby shared library as symbols need to be
resolved at link time on that platform.
In your existing build tree, try:
{{{
#!sh
make RUBY_LIBS=-lmsvcrt-ruby191
}}}
The library name is a bit of an informed guess (191 should be correct for
1.9.3, confusing as that may seem). If that isn't right, then you should
be able to get the correct name with:
{{{
#!sh
ruby -rrbconfig -e 'print RbConfig::CONFIG["LIBRUBYARG"]'
}}}
If that works, I can easily fix configure to get this right by itself.
\
\
\
--
Ticket URL: <http://trac.xapian.org/ticket/634#comment:1>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list