[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-devel] sup-server revisited



Excerpts from William Morgan's message of Mon Feb 21 21:02:28 +0000 2011:
> As I alluded to in an earlier email to sup-devel, I have been working recently
> on the ancient goal of splitting Sup functionality out into separate client and
> server programs. This will have many advantages; in particular it will remove
> email lock-in by making it possible to have non-Sup clients interact with Sup.

Excellent :) I look forward to an android client. I will definitely
contribute to it, and I *might* even get it started. Or might not ...

> You can find the work in progress here: https://github.com/wmorgan/heliotrope
> Currently it is not actually a server, but accomplishes many of the goals
> above. Run bin/email-indexer and then bin/email-searcher to play around with
> a simple preview of things to come. Stay tuned for more on this.

I've had a quick look at heliotrope (and whistlepig) and not got very
far:


$ ruby -I lib bin/email-indexer ~/path/to/mbox
/var/lib/gems/1.8/gems/ffi-1.0.6/lib/ffi/library.rb:93:in `ffi_libraries': no library specified (LoadError)
        from /var/lib/gems/1.8/gems/ffi-1.0.6/lib/ffi/library.rb:129:in `attach_function'
        from /var/lib/gems/1.8/gems/oklahoma_mixer-0.4.0/lib/oklahoma_mixer/utilities.rb:39:in `func'
        from /var/lib/gems/1.8/gems/oklahoma_mixer-0.4.0/lib/oklahoma_mixer/utilities.rb:214
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /var/lib/gems/1.8/gems/oklahoma_mixer-0.4.0/lib/oklahoma_mixer/extensible_string/c.rb:1
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /var/lib/gems/1.8/gems/oklahoma_mixer-0.4.0/lib/oklahoma_mixer/extensible_string.rb:1
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /var/lib/gems/1.8/gems/oklahoma_mixer-0.4.0/lib/oklahoma_mixer/hash_database.rb:2
        from /var/lib/gems/1.8/gems/oklahoma_mixer-0.4.0/lib/oklahoma_mixer.rb:11:in `open'
        from ./lib/heliotrope/store.rb:40:in `initialize'
        from bin/email-indexer:20:in `new'
        from bin/email-indexer:20

$ ruby --version
ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux]


Am I missing something? It appears that the oklahoma_mixer gem is
broken. I installed it though rubygems. Any ideas?


I also wasn't sure how to build and run whistlepig from source. I'm not
familiar with the extconf stuff. I can type make happily enough, but it
appears more steps are required. If someone shows me the way I'll
happily contribute an improved README for anyone else who wants to use
it. (I installed whistlepig from the gem in order to try out heliotrope,
in case you're wondering).

Hamish
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel