aurelian/ruby-stemmer — comment on commit 82911f19fa510e5d3277c1c4bbabca6af27a372c
File:  line 0
By aurelian:

Hi Luis,

First thanks for the great work that you've put into rake compile :)

I'll check mini_portile but at a glance - it looks like it could work.

Main problem that I'm facing with ruby-stemmer is that libstemmer_c is
bundled with the gem and basically, in extconf.rb I'm running some
system commands to build it. Fact is... at least on MacOS there are
various environment flags that can screw the build process. I took the
decision to bundle libstemmer_c source code and to build it when the
gem is installed because it's mainly an obscure library and I'm not
expecting anyone to spend 5 minutes to install it before installing
the gem.

On 4 November 2011 03:38, Luis Lavena

wrote:
> Thought about using MiniPortile to compile libstemmer_c statically?
>
> https://github.com/luislavena/mini_portile
>
> Projects like sqlite3-ruby and TinyTDS are using it to build the static dependency before compiling the extension (either for native or cross compilation).
>

Cool, thanks again, I'll check it out how they are doing it :)

Best,

--
Aurelian

> Cheers!
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/aurelian/ruby-stemmer/commit/82911f19fa510e5d3277c1c4bbabca6af27a372c#commitcomment-694617
>