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

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

Date: Mon, 20 May 2013 11:41:40 -0300

To: Felipe Contreras, notmuch@notmuchmail.org

Cc: Ali Polatel

From: David Bremner


Felipe Contreras <felipe.contreras@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 
| ╰─ (git)-[rubytest]-% ruby extconf.rb 
| *** extconf.rb failed ***
| Could not create Makefile due to some reason, probably lack of
| necessary libraries and/or headers.  Check the mkmf.log file for more
| details.  You may need configuration options.
| 
| Provided configuration options:
| 	--with-opt-dir
| 	--without-opt-dir
| 	--with-opt-include
| 	--without-opt-include=${opt-dir}/include
| 	--with-opt-lib
| 	--without-opt-lib=${opt-dir}/lib
| 	--with-make-prog
| 	--without-make-prog
| 	--srcdir=.
| 	--curdir
| 	--ruby=/usr/bin/ruby1.9.1
| 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 least "ruby extconf.rb"
works on master).

Thread: