configure: Setting lib to 'lib' (the default)
configure: Will try -pthread then -lpthread to enable POSIX Threads.
configure: CHECKS for site configuration
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in /home/usuario/Downloads/git-2.40.1':
configure: error: C compiler cannot create executables
See
config.log' for more details