threads / discuss / 57797

configure doesn't test all

Subject: configure doesn't test all

## tl;dr

2 messages between Apr 26, 2022 and Apr 26, 2022.

replies: 1people: 2as markdown or json

Guy Maurel· Apr 26, 2022, 15:21 UTC · lore
Hello!
./configure
make
GIT_VERSION = 2.36.0
     * new build flags
     CC fuzz-commit-graph.o
In file included from commit-graph.h:4,
                  from fuzz-commit-graph.c:1:
git-compat-util.h:1427:10: fatal error: zlib.h
Is missing on my Mint-system, BUT configure doesn't complain about this.
-- 
Guy Maurel
Sebastian-Fischer-Weg 13
89077 Ulm/Germany
Johannes Sixt· Apr 26, 2022, 16:57 UTC · re: Guy Maurel · lore

Re: configure doesn't test all

Am 26.04.22 um 17:21 schrieb Guy Maurel:
Show 10 quoted lines
> ./configure
> make
> GIT_VERSION = 2.36.0
>     * new build flags
>     CC fuzz-commit-graph.o
> In file included from commit-graph.h:4,
>                  from fuzz-commit-graph.c:1:
> git-compat-util.h:1427:10: fatal error: zlib.h
> 
> Is missing on my Mint-system, BUT configure doesn't complain about this.

Unless you have a special configuration needs, your best bet to compile on Linux is to just run

   make
Precede this with
   rm -f config.mak.autogen
if you have already run ./configure.

That doesn't liberate you from installing missing development packages, though, and you'll see the same error as above, also with no advance warning.

-- Hannes

← back to recent threads