can't compile on MacOS

Subject: can't compile on MacOS

Date: Fri, 25 Oct 2024 16:31:38 +0200

To: notmuch@notmuchmail.org

Cc:

From: Michal Sapka


Hey

I'm trying to compile notmuch on MacOS Sonoma, but the make can't find talloc.h

./defs.h:26:10: fatal error: 'talloc.h' file not found
#include <talloc.h>
         ^~~~~~~~~~

the thing is that I have in installed via brew in

/opt/homebrew/Cellar/talloc/2.4.2/include

the file talloc.h exist in that path.

The configure script has correctly found it and stored in Makefile.conf

# Flags needed to compile and link against talloc
TALLOC_CFLAGS = -I/opt/homebrew/Cellar/talloc/2.4.2/include
TALLOC_LDFLAGS = -L/opt/homebrew/Cellar/talloc/2.4.2/lib -ltalloc

I'm not too fluent in C so it is a problem :-)

—-
Michał 
https://michal.sapka.me
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: