On Wed, 13 Jul 2022, 09:25 Thierry Dumont, <tdum...@math.univ-lyon1.fr> wrote:
> > > Le 13/07/2022 à 09:57, Dima Pasechnik a écrit : > > what does top level config.log say about curl? > > > > why the system one was not good? > > Note that curl was downloaded (source) and its compilation failed. > you have a header clash between the Sage's curl and system curl. why does configure reject the system curl? (this can be found by inspecting config.log) This is a part of install.log (full logfile is joined): > > curl-7.62.0.p0] Attempting to download package curl-7.62.0.tar.bz2 from > mirrors > [curl-7.62.0.p0] > > https://www-ftp.lip6.fr/pub/math/sagemath/spkg/upstream/curl/curl-7.62.0.tar.bz2 > > and > curl-7.62.0.p0] curl-7.62.0.p0 > [curl-7.62.0.p0] ==================================================== > [curl-7.62.0.p0] Setting up build directory for curl-7.62.0.p0 > .... > > curl-7.62.0.p0] Finished extraction > [curl-7.62.0.p0] No patch files found in ../patches > .... > > curl-7.62.0.p0] /usr/bin/bash ../libtool --tag=CC --mode=compile gcc > -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DBUILDING_LIBCURL > -DCURL_HIDDEN_SYMBOLS -fvisibility=hidden -O2 > -Werror-implicit-function-declaration -Wno-system-headers -c -o > libcurl_la-openldap.lo `test -f 'openldap.c' || echo './'`openldap.c > [curl-7.62.0.p0] libtool: compile: gcc -DHAVE_CONFIG_H -I../include > -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS > -fvisibility=hidden -O2 -Werror-implicit-function-declaration > -Wno-system-headers -c openldap.c -fPIC -DPIC -o > .libs/libcurl_la-openldap.o > [curl-7.62.0.p0] openldap.c:82:17: error: conflicting types for > 'ldap_connect'; have 'CURLcode(struct connectdata *, _Bool *)' > [curl-7.62.0.p0] 82 | static CURLcode ldap_connect(struct connectdata > *conn, bool *done); > [curl-7.62.0.p0] | ^~~~~~~~~~~~ > [curl-7.62.0.p0] In file included from openldap.c:39: > [curl-7.62.0.p0] /usr/include/ldap.h:1555:1: note: previous declaration > of 'ldap_connect' with type 'int(LDAP *)' {aka 'int(struct ldap *)'} > [curl-7.62.0.p0] 1555 | ldap_connect( LDAP *ld ); > [curl-7.62.0.p0] | ^~~~~~~~~~~~ > [curl-7.62.0.p0] make[7]: *** [Makefile:2107: libcurl_la-openldap.lo] > Error 1 > [curl-7.62.0.p0] make[6]: *** [Makefile:1028: all] Error 2 > [curl-7.62.0.p0] make[5]: *** [Makefile:929: all-recursive] Error 1 > [curl-7.62.0.p0] > > ******************************************************************************** > > > > > > On Wed, 13 Jul 2022, 06:18 Thierry Dumont, <tdum...@math.univ-lyon1.fr > > <mailto:tdum...@math.univ-lyon1.fr>> wrote: > > > > A cur(l)ious problem... > > > > As I did not succeed to upgrade from 9.7beta4 to beta5, I restarted > > from > > scratch, from a fresh clone of the repository. > > > > My OS: Ubuntu 22-04, up to date. > > > > Compilation crashes when trying to install... curl. > > > > curl is installed on my machine (and also libcurl4, libcurl4-gnutls) > > > > log file : > > Attempting to download package curl-7.62.0.tar.bz2 from mirrors > > > https://www-ftp.lip6.fr/pub/math/sagemath/spkg/upstream/curl/curl-7.62.0.tar.bz2 > > < > https://www-ftp.lip6.fr/pub/math/sagemath/spkg/upstream/curl/curl-7.62.0.tar.bz2 > > > > > [......................................................................] > > curl-7.62.0.p0 > > ==================================================== > > Setting up build directory for curl-7.62.0.p0 > > Finished extraction > > No patch files found in ../patches > > **************************************************** > > > > .... > > openldap.c:82:17: error: conflicting types for 'ldap_connect'; have > > 'CURLcode(struct connectdata *, _Bool *)' > > 82 | static CURLcode ldap_connect(struct connectdata *conn, > > bool *done); > > | ^~~~~~~~~~~~ > > In file included from openldap.c:39: > > /usr/include/ldap.h:1555:1: note: previous declaration of > > 'ldap_connect' > > with type 'int(LDAP *)' {aka 'int(struct ldap *)'} > > > > -- > > You received this message because you are subscribed to the Google > > Groups "sage-release" group. > > To unsubscribe from this group and stop receiving emails from it, > > send an email to sage-release+unsubscr...@googlegroups.com > > <mailto:sage-release%2bunsubscr...@googlegroups.com>. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/sage-release/5cc232e7-70c5-0b53-eb65-0317f7e48656%40math.univ-lyon1.fr > > < > https://groups.google.com/d/msgid/sage-release/5cc232e7-70c5-0b53-eb65-0317f7e48656%40math.univ-lyon1.fr > >. > > > > -- > > You received this message because you are subscribed to the Google > > Groups "sage-release" group. > > To unsubscribe from this group and stop receiving emails from it, send > > an email to sage-release+unsubscr...@googlegroups.com > > <mailto:sage-release+unsubscr...@googlegroups.com>. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/sage-release/CAAWYfq1TWRgvaeZresQ3f4ufMcf5ay_N1yeNBQJsS26geHL%3Ddg%40mail.gmail.com > > < > https://groups.google.com/d/msgid/sage-release/CAAWYfq1TWRgvaeZresQ3f4ufMcf5ay_N1yeNBQJsS26geHL%3Ddg%40mail.gmail.com?utm_medium=email&utm_source=footer > >. > > -- > You received this message because you are subscribed to the Google Groups > "sage-release" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-release+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-release/557c7c14-dbaa-79fe-e29a-5f93611dfbd5%40math.univ-lyon1.fr > . > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/CAAWYfq3rvUFp%2BFnyTP94yVw%3DGO8OgHRudk4ZgREWT0ntp9KeTg%40mail.gmail.com.