Opened 20 months ago
Closed 20 months ago
#67177 closed defect (fixed)
R does not configure after curl update to 8.x: error: libcurl >= 7.28.0 library and headers are required with support for https
Reported by: | barracuda156 | Owned by: | i0ntempest |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | R, curl |
Description
checking for curl-config... /opt/local/bin/curl-config checking libcurl version ... 8.0.1 checking for curl/curl.h... yes checking if libcurl is version 7 and >= 7.28.0... no configure: error: libcurl >= 7.28.0 library and headers are required with support for https Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_R/R/work/R-4.2.3" && ./configure --prefix=/opt/local/Library/Frameworks --enable-openmp --enable-R-framework --enable-memory-profiling --enable-R-shlib --enable-BLAS-shlib --with-cairo --disable-java --with-included-gettext --disable-openmp --without-blas --without-lapack --with-recommended-packages --with-tcltk --with-tcl-config=/opt/local/lib/tclConfig.sh --with-tk-config=/opt/local/lib/tkConfig.sh --with-x --x-include=/opt/local/include/X11 --x-lib=/opt/local/lib Exit code: 1
Config log has:
| #define HAVE_CURL_CURL_H 1 | /* end confdefs.h. */ | | #include <stdlib.h> | #include <curl/curl.h> | int main(int argc, const char * argv[]) | { | #ifdef LIBCURL_VERSION_MAJOR | #if LIBCURL_VERSION_MAJOR > 7 | exit(1); | #elif LIBCURL_VERSION_MAJOR == 7 && LIBCURL_VERSION_MINOR >= 28 | exit(0); | #else | exit(1); | #endif | #else | exit(1); | #endif | } | configure:47632: result: no configure:47693: error: libcurl >= 7.28.0 library and headers are required with support for https
Attachments (3)
Change History (11)
Changed 20 months ago by barracuda156
Attachment: | R_config_log_10.6.8.txt added |
---|
comment:1 Changed 20 months ago by barracuda156
comment:2 Changed 20 months ago by barracuda156
Summary: | R does not configure in Rosetta after curl update to 8.x: error: libcurl >= 7.28.0 library and headers are required with support for https → R does not configure after curl update to 8.x: error: libcurl >= 7.28.0 library and headers are required with support for https |
---|
Changed 20 months ago by barracuda156
Attachment: | R_10.6.8_x86.txt added |
---|
Ok, same error on 10.6.8 x86_64 with Xcode 4.2:
comment:3 Changed 20 months ago by barracuda156
Port: | curl added |
---|
comment:4 follow-up: 5 Changed 20 months ago by jmroot (Joshua Root)
The problem is pretty clearly
#if LIBCURL_VERSION_MAJOR > 7 | exit(1);
comment:5 Changed 20 months ago by barracuda156
Replying to jmroot:
The problem is pretty clearly
#if LIBCURL_VERSION_MAJOR > 7 | exit(1);
Oh, indeed. What should we do? Just patch this out?
Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | 84049.patch added |
---|
comment:6 follow-up: 7 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)
comment:7 Changed 20 months ago by barracuda156
Replying to ryandesign:
Use the relevant portion of the patch that the developers already committed to their repository to fix this. If the port uses auto(re)conf, the relevant portion is the patch to the m4 file. If it doesn't, then it's the patch to the configure file.
Thank you!
comment:8 Changed 20 months ago by barracuda156
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Everything identical, but
curl
7.x works perfectly fine: