[PATCH 1/2] ruby: use in-tree notmuch library

2013-05-23 Thread David Bremner
Felipe Contreras writes: > On Mon, May 20, 2013 at 9:41 AM, David Bremner wrote: > >> | extconf.rb:17:in `have_local_library': undefined method `funcall_style' >> for "notmuch_database_create":String (NoMethodError) >> | from extconf.rb:25:in `' >> ` >> >> I have the ruby 1.9.3

Re: [PATCH 1/2] ruby: use in-tree notmuch library

2013-05-23 Thread David Bremner
Felipe Contreras felipe.contre...@gmail.com writes: On Mon, May 20, 2013 at 9:41 AM, David Bremner da...@tethera.net wrote: | extconf.rb:17:in `have_local_library': undefined method `funcall_style' for notmuch_database_create:String (NoMethodError) | from extconf.rb:25:in `main'

[PATCH 1/2] ruby: use in-tree notmuch library

2013-05-20 Thread Felipe Contreras
On Mon, May 20, 2013 at 9:41 AM, David Bremner wrote: > | extconf.rb:17:in `have_local_library': undefined method `funcall_style' for > "notmuch_database_create":String (NoMethodError) > | from extconf.rb:25:in `' > ` > > I have the ruby 1.9.3 development headers (at least "ruby

[PATCH 1/2] ruby: use in-tree notmuch library

2013-05-20 Thread David Bremner
Felipe Contreras writes: > Currently it simply finds any library available, and if notmuch is > installed in the system, it would give priority to that library. > I like the concept, but I get the following: , | ?? zancas:upstream/notmuch/bindings/ruby | ?? (git)-[rubytest]-% ruby

[PATCH 1/2] ruby: use in-tree notmuch library

2013-05-20 Thread Felipe Contreras
Currently it simply finds any library available, and if notmuch is installed in the system, it would give priority to that library. Let's implement our own helper functions to link directly to the local library, and give priority to the local header file. Also, add an option to properly check if

[PATCH 1/2] ruby: use in-tree notmuch library

2013-05-20 Thread Felipe Contreras
Currently it simply finds any library available, and if notmuch is installed in the system, it would give priority to that library. Let's implement our own helper functions to link directly to the local library, and give priority to the local header file. Also, add an option to properly check if

Re: [PATCH 1/2] ruby: use in-tree notmuch library

2013-05-20 Thread David Bremner
Felipe Contreras felipe.contre...@gmail.com writes: Currently it simply finds any library available, and if notmuch is installed in the system, it would give priority to that library. I like the concept, but I get the following: , | ╭─ zancas:upstream/notmuch/bindings/ruby | ╰─

Re: [PATCH 1/2] ruby: use in-tree notmuch library

2013-05-20 Thread Felipe Contreras
On Mon, May 20, 2013 at 9:41 AM, David Bremner da...@tethera.net wrote: | extconf.rb:17:in `have_local_library': undefined method `funcall_style' for notmuch_database_create:String (NoMethodError) | from extconf.rb:25:in `main' ` I have the ruby 1.9.3 development headers (at