Closed hinxx closed 1 year ago
I managed to hack my way through the configure
step. Had to do this:
$ git diff
diff --git a/configure.ac b/configure.ac
index 9396240e..bbfc56ca 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1669,7 +1669,8 @@ MHD_FIND_LIB([sendmsg],
MHD_LIBDEPS_PKGCFG="${mhd_cv_find_lib_sendmsg} $MHD_LIBDEPS_PKGCFG"
]
)
- ],[],
+ ],
+ [AC_MSG_ERROR([[cannot find header or library required for function sendmsg()]])],
[MHD_LIBDEPS]
)
@@ -2522,7 +2523,8 @@ MHD_FIND_LIB([clock_gettime],[[#include <time.h>]],
MHD_LIBDEPS_PKGCFG="${mhd_cv_find_lib_clock_gettime} $MHD_LIBDEPS_PKGCFG"
]
)
- ],[],
+ ],
+ [AC_MSG_ERROR([[cannot find header or library required for function clock_gettime()]])],
[MHD_LIBDEPS]
)
Sorry, I cannot reproduce with Ubuntu 22.04.
The suggested fix is not correct, as it does not fix any syntax, but instead changes the behaviour of the configure: you made sendmsg
and clock_gettime
mandatory, while they are optional.
Could you please show the output of the following commands from your local clone directory?
$ autoconf --version
$ automake --version
$ libtoolize --version
$ apt list -a autoconf automake libtool
$ ./configure --version
$ git log -1
$ git status -vb
@hinxx Probably you used original Ubuntu 22.04 without any updates. I was able to reproduce the issue with Debian 9.13. It should be fixed by fa6925600abe1b1890ef76e9f4ccf707e4766b98.
Trying to compile git code on Ubuntu 22.04 fails in
configure
step: