[patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-15 Thread David Bremner
David Bremner writes: > David Bremner writes: > >> Because ruby generates a Makefile, we have to use recursive make. >> Because mkmf.rb hardcodes the name Makefile, put our Makefile{.local} >> in the parent directory. > > Pushed the first patch in the series. Let's see if anything breaks. > It

Re: [patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-15 Thread David Bremner
David Bremner da...@tethera.net writes: David Bremner da...@tethera.net writes: Because ruby generates a Makefile, we have to use recursive make. Because mkmf.rb hardcodes the name Makefile, put our Makefile{.local} in the parent directory. Pushed the first patch in the series. Let's see

[patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-14 Thread David Bremner
Jinwoo Lee writes: > ld: unknown option: --no-undefined > clang: error: linker command failed with exit code 1 (use -v to see > invocation) I wonder if this the actual relevant error. Can you try with the next two patches in the series? id:1433142542-2307-3-git-send-email-david at

[patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-14 Thread David Bremner
Jinwoo Lee writes: >> I with configure has an option to skip the ruby-bindings build. > > `configure' seems to try to detect whether the ruby development tools > are installed. It thinks I have them but I don't actually, and that's > why my build fails. When I manually set 'HAVE_RUBY_DEV = 0'

[patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-13 Thread Jinwoo Lee
On Sat, Jun 13, 2015 at 02:24 PM, Jinwoo Lee wrote: > That error is from 'cd bindings/ruby && ruby extconf.rb --vendor' BTW. The contents of mkmf.log are below. It shows a warning about -L/usr/local/lib and I don't have the directory /usr/local/lib on my machine. I'm not sure if that's the

[patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-13 Thread Jinwoo Lee
That error is from 'cd bindings/ruby && ruby extconf.rb --vendor' BTW.

[patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-13 Thread Jinwoo Lee
On Sat, Jun 13, 2015 at 02:11 PM, David Bremner wrote: > Jinwoo Lee writes: > >>> I with configure has an option to skip the ruby-bindings build. >> >> `configure' seems to try to detect whether the ruby development tools >> are installed. It thinks I have them but I don't actually, and that's

[patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-13 Thread Jinwoo Lee
On Sat, Jun 13, 2015 at 01:46 PM, Jinwoo Lee wrote: > On Sat, Jun 13, 2015 at 12:59 PM, Jinwoo Lee wrote: >> This breaks Mac OS X. ruby-bindings depends on lib/libnotmuch.so but it >> should be lib/libnotmuch.dylib on OS X. >> >> That makes `make' and `make install' fail. > > Even after I

[patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-13 Thread Jinwoo Lee
On Sat, Jun 13, 2015 at 12:59 PM, Jinwoo Lee wrote: > This breaks Mac OS X. ruby-bindings depends on lib/libnotmuch.so but it > should be lib/libnotmuch.dylib on OS X. > > That makes `make' and `make install' fail. Even after I update the dependency to lib/libnotmuch.dylib, building

[patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-13 Thread Jinwoo Lee
This breaks Mac OS X. ruby-bindings depends on lib/libnotmuch.so but it should be lib/libnotmuch.dylib on OS X. That makes `make' and `make install' fail. On Fri, Jun 12, 2015 at 11:37 PM, David Bremner wrote: > David Bremner writes: > >> Because ruby generates a Makefile, we have to use

[patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-13 Thread David Bremner
David Bremner writes: > Because ruby generates a Makefile, we have to use recursive make. > Because mkmf.rb hardcodes the name Makefile, put our Makefile{.local} > in the parent directory. Pushed the first patch in the series. Let's see if anything breaks. d

Re: [patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-13 Thread David Bremner
Jinwoo Lee jinwo...@gmail.com writes: ld: unknown option: --no-undefined clang: error: linker command failed with exit code 1 (use -v to see invocation) I wonder if this the actual relevant error. Can you try with the next two patches in the series?

Re: [patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-13 Thread David Bremner
David Bremner da...@tethera.net writes: Because ruby generates a Makefile, we have to use recursive make. Because mkmf.rb hardcodes the name Makefile, put our Makefile{.local} in the parent directory. Pushed the first patch in the series. Let's see if anything breaks. d

Re: [patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-13 Thread Jinwoo Lee
This breaks Mac OS X. ruby-bindings depends on lib/libnotmuch.so but it should be lib/libnotmuch.dylib on OS X. That makes `make' and `make install' fail. On Fri, Jun 12, 2015 at 11:37 PM, David Bremner da...@tethera.net wrote: David Bremner da...@tethera.net writes: Because ruby generates a

Re: [patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-13 Thread Jinwoo Lee
On Sat, Jun 13, 2015 at 12:59 PM, Jinwoo Lee jinwo...@gmail.com wrote: This breaks Mac OS X. ruby-bindings depends on lib/libnotmuch.so but it should be lib/libnotmuch.dylib on OS X. That makes `make' and `make install' fail. Even after I update the dependency to lib/libnotmuch.dylib,

Re: [patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-13 Thread Jinwoo Lee
On Sat, Jun 13, 2015 at 01:46 PM, Jinwoo Lee jinwo...@gmail.com wrote: On Sat, Jun 13, 2015 at 12:59 PM, Jinwoo Lee jinwo...@gmail.com wrote: This breaks Mac OS X. ruby-bindings depends on lib/libnotmuch.so but it should be lib/libnotmuch.dylib on OS X. That makes `make' and `make install'

Re: [patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-13 Thread David Bremner
Jinwoo Lee jinwo...@gmail.com writes: I with configure has an option to skip the ruby-bindings build. `configure' seems to try to detect whether the ruby development tools are installed. It thinks I have them but I don't actually, and that's why my build fails. When I manually set

Re: [patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-13 Thread Jinwoo Lee
On Sat, Jun 13, 2015 at 02:11 PM, David Bremner da...@tethera.net wrote: Jinwoo Lee jinwo...@gmail.com writes: I with configure has an option to skip the ruby-bindings build. `configure' seems to try to detect whether the ruby development tools are installed. It thinks I have them but I

Re: [patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-13 Thread Jinwoo Lee
That error is from 'cd bindings/ruby ruby extconf.rb --vendor' BTW. ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: [patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-13 Thread Jinwoo Lee
On Sat, Jun 13, 2015 at 02:24 PM, Jinwoo Lee jinwo...@gmail.com wrote: That error is from 'cd bindings/ruby ruby extconf.rb --vendor' BTW. The contents of mkmf.log are below. It shows a warning about -L/usr/local/lib and I don't have the directory /usr/local/lib on my machine. I'm not sure if

[patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-01 Thread David Bremner
Because ruby generates a Makefile, we have to use recursive make. Because mkmf.rb hardcodes the name Makefile, put our Makefile{.local} in the parent directory. --- Makefile.local | 2 +- bindings/Makefile | 7 +++ bindings/Makefile.local | 19 +++

[patch v3 1/4] build: integrate building ruby bindings into notmuch build process

2015-06-01 Thread David Bremner
Because ruby generates a Makefile, we have to use recursive make. Because mkmf.rb hardcodes the name Makefile, put our Makefile{.local} in the parent directory. --- Makefile.local | 2 +- bindings/Makefile | 7 +++ bindings/Makefile.local | 19 +++