Re: can't compile on MacOS

Subject: Re: can't compile on MacOS

Date: Fri, 08 Nov 2024 13:52:53 +0200

To: Michal Sapka, notmuch@notmuchmail.org

Cc:

From: Tomi Ollila


On Fri, Oct 25 2024, Michal Sapka wrote:

> 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 :-)

CFLAGS=-I/opt/homebrew/Cellar/talloc/2.4.2/include LDFLAGS='-L/opt/homebrew/Cellar/talloc/2.4.2/lib -ltalloc' ./configure 

may help ?

Tomi

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

Thread: