[PATCH v2 2/2] Add pseudo-compatibility with gmime 2.6

Thomas Jost schnouki at schnouki.net
Thu Jan 19 15:47:04 PST 2012


On Wed, 18 Jan 2012 20:00:12 +0200, Tomi Ollila <tomi.ollila at iki.fi> wrote:
> On Wed, 18 Jan 2012 12:19:45 -0500, Tom Prince <tom.prince at ualberta.net> wrote:
> > 
> > How did you test against multiple versions? Using different machines? If
> > there was a way for configure (or something to pick the version, I would
> > setup the buildbot to test against both, so we don't regress either.
> 
> I currently compile notmuch on Fedora 15 so that I have 
> 
> LIBRARY_PATH=/my/own/path/to/x86_64-linux/lib
> and
> CPATH=/my/own/path/to/x86_64-linux/include
> 
> and gmime 2.4 development files are located in these
> directories. I'll be hiding gmime 2.4 stuff from these
> soon in order to build against 2.6 stuff.
> 
> Tomi

For testing gmime 2.4 and 2.6, I just uninstalled 2.6 and reinstalled
2.4 (kept the binary package on purpose -- not a problem since notmuch
is the only package using gmime on my system).

When hacking the gmime git in order to fix
https://bugzilla.gnome.org/show_bug.cgi?id=668085, I set some
environment variables before calling "./configure" and building notmuch:

  LDFLAGS="-Wl,-rpath,/home/schnouki/dev/gmime/gmime/.libs" ./configure --prefix=/usr --sysconfdir=/etc
  make
  ldd ./notmuch

Regards,

-- 
Thomas/Schnouki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120120/ccb50063/attachment-0001.pgp>


More information about the notmuch mailing list