karelzak / mutt-kz

mutt-kz is DEPRECATED in favor of neomutt project.
https://neomutt.org
Other
296 stars 51 forks source link

prepare/configure not finding libnotmuch #5

Open LMariachi opened 12 years ago

LMariachi commented 12 years ago

I have libnotmuch installed in /opt/local/lib/libnotmuch.2.0.0.dylib (via MacPorts) but prepare/configure doesn't see it. It sees gpgme along the same path, so it's not ignoring /opt/local. Is there a way to point configure to the proper library, e.g. "--with-notmuch=/path/to" instead of just "--enable-notmuch"?

funglaub commented 12 years ago
LDFLAGS+=/opt/local/lib ./configure ... 

That did the trick for me.

LMariachi commented 12 years ago

No dice adding that environment variable. It doesn't see GDBM (for --enable-hcache) either.

frioux commented 11 years ago

I didn't have the GDBM issue, but I fixed it by doing this:

   CFLAGS=-I/opt/include LDFLAGS=-L/opt/lib ./configure --prefix=/opt