Re: [sage-devel] sage 8.4 compilation error with r
I saw your message too late and recompiled everything, but now it works! Thank you very much! Le lundi 29 octobre 2018 10:06:56 UTC+1, Dima Pasechnik a écrit : > > maybe running ./configure followed by make will fix this. > (as ./configure hopefully will tell Sage where to look for the "right" > curl) > > On Mon, Oct 29, 2018 at 8:52 AM 'Paul Mercat' via sage-devel > > wrote: > > > > I tried that, but I get the same error. > > Do I need to recompile everything from the beginning ? > > > > Le dimanche 28 octobre 2018 22:28:28 UTC+1, Samuel Lelievre a écrit : > >> > >> So the solution is to change your PATH before you start building Sage, > >> so that the PATH does not contain Anaconda. > > > > -- > > You received this message because you are subscribed to the Google > Groups "sage-devel" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to sage-devel+...@googlegroups.com . > > To post to this group, send email to sage-...@googlegroups.com > . > > Visit this group at https://groups.google.com/group/sage-devel. > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] sage 8.4 compilation error with r
maybe running ./configure followed by make will fix this. (as ./configure hopefully will tell Sage where to look for the "right" curl) On Mon, Oct 29, 2018 at 8:52 AM 'Paul Mercat' via sage-devel wrote: > > I tried that, but I get the same error. > Do I need to recompile everything from the beginning ? > > Le dimanche 28 octobre 2018 22:28:28 UTC+1, Samuel Lelievre a écrit : >> >> So the solution is to change your PATH before you start building Sage, >> so that the PATH does not contain Anaconda. > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] sage 8.4 compilation error with r
I tried that, but I get the same error. Do I need to recompile everything from the beginning ? Le dimanche 28 octobre 2018 22:28:28 UTC+1, Samuel Lelievre a écrit : > > So the solution is to change your PATH before you start building Sage, > so that the PATH does not contain Anaconda. > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] sage 8.4 compilation error with r
So the solution is to change your PATH before you start building Sage, so that the PATH does not contain Anaconda. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] sage 8.4 compilation error with r
It is the file, thank you. And the relevant bit is: configure:41026: checking if libcurl is version 7 and >= 7.22.0 configure:41055: gcc -o conftest -g -O2 -fPIC -I/Users/mercatp/anaconda3/include -L/Users/mercatp/sage/local/lib -Wl,-rpath,/Users/mercatp/sage/local/lib conftest.c -L/Users/mercatp/anaconda3/lib -lcurl -lssl -lcrypto -lssl -lcrypto -lz -lpcre -llzma -lbz2 -lz -licucore -lm -liconv >&5 configure:41055: $? = 0 configure:41055: ./conftest dyld: Library not loaded: @rpath/libcurl.4.dylib Referenced from: /Users/mercatp/sage/local/var/tmp/sage/build/r-3.4.4.p0/src/./conftest Reason: image not found ./configure: line 2272: 93196 Trace/BPT trap: 5 ./conftest$ac_exeext configure:41055: $? = 133 configure: program exited with status 133 configure: failed program was: And you are using anaconda and anaconda’s libcurl is found but due to some library configuration it is not loaded when the test is run leading to the detection failure. François > On 29/10/2018, at 09:45, 'Paul Mercat' via sage-devel > wrote: > > Ok, so it should be this file. > > Le dimanche 28 octobre 2018 19:16:06 UTC+1, Dima Pasechnik a écrit : > On Sun, Oct 28, 2018 at 5:27 PM 'Paul Mercat' via sage-devel > wrote: > > > > Is it this file ? > this looks like the main sage's config.log, not the one from R. > To get the latter, look at the bottom of > logs/pkgs/r-3.4.4.p0.log > for the location of the R build directory and look for config.log there. > > > > > Le dimanche 28 octobre 2018 14:33:07 UTC+1, Erik Bray a écrit : > >> > >> It might be more useful to see the config.log for R. I think usually > >> when a build fails there is a message providing a path to the > >> config.log of the build. > >> This would tell us exactly what commands configure ran and why it > >> failed (in principle). > >> On Sun, Oct 28, 2018 at 12:55 PM 'Paul Mercat' via sage-devel > >> wrote: > >> > > >> > Hi ! > >> > > >> > I tried to compile sage-8.4 on my computer on OS X, and I get the > >> > following error. > >> > I compiled using SAGE_INSTALL_GCC='yes'. > >> > > >> > It is strange because it indicates that the version of curl is not > >> > recent enough, but it is! > >> > > >> > [r-3.4.4.p0] checking libcurl version ... 7.60.0 > >> > > >> > [r-3.4.4.p0] checking curl/curl.h usability... yes > >> > > >> > [r-3.4.4.p0] checking curl/curl.h presence... yes > >> > > >> > [r-3.4.4.p0] checking for curl/curl.h... yes > >> > > >> > [r-3.4.4.p0] checking if libcurl is version 7 and >= 7.22.0... no > >> > > >> > [r-3.4.4.p0] configure: error: libcurl >= 7.22.0 library and headers are > >> > required > >> > > >> > [r-3.4.4.p0] Error configuring R. > >> > > >> > > >> > Any idea to solve this problem ? > >> > > >> > > >> > -- > >> > You received this message because you are subscribed to the Google > >> > Groups "sage-devel" group. > >> > To unsubscribe from this group and stop receiving emails from it, send > >> > an email to sage-devel+...@googlegroups.com. > >> > To post to this group, send email to sage-...@googlegroups.com. > >> > Visit this group at https://groups.google.com/group/sage-devel. > >> > For more options, visit https://groups.google.com/d/optout. > > > > -- > > You received this message because you are subscribed to the Google Groups > > "sage-devel" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to sage-devel+...@googlegroups.com. > > To post to this group, send email to sage-...@googlegroups.com. > > Visit this group at https://groups.google.com/group/sage-devel. > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] sage 8.4 compilation error with r
On Sun, Oct 28, 2018 at 5:27 PM 'Paul Mercat' via sage-devel wrote: > > Is it this file ? this looks like the main sage's config.log, not the one from R. To get the latter, look at the bottom of logs/pkgs/r-3.4.4.p0.log for the location of the R build directory and look for config.log there. > > Le dimanche 28 octobre 2018 14:33:07 UTC+1, Erik Bray a écrit : >> >> It might be more useful to see the config.log for R. I think usually >> when a build fails there is a message providing a path to the >> config.log of the build. >> This would tell us exactly what commands configure ran and why it >> failed (in principle). >> On Sun, Oct 28, 2018 at 12:55 PM 'Paul Mercat' via sage-devel >> wrote: >> > >> > Hi ! >> > >> > I tried to compile sage-8.4 on my computer on OS X, and I get the >> > following error. >> > I compiled using SAGE_INSTALL_GCC='yes'. >> > >> > It is strange because it indicates that the version of curl is not recent >> > enough, but it is! >> > >> > [r-3.4.4.p0] checking libcurl version ... 7.60.0 >> > >> > [r-3.4.4.p0] checking curl/curl.h usability... yes >> > >> > [r-3.4.4.p0] checking curl/curl.h presence... yes >> > >> > [r-3.4.4.p0] checking for curl/curl.h... yes >> > >> > [r-3.4.4.p0] checking if libcurl is version 7 and >= 7.22.0... no >> > >> > [r-3.4.4.p0] configure: error: libcurl >= 7.22.0 library and headers are >> > required >> > >> > [r-3.4.4.p0] Error configuring R. >> > >> > >> > Any idea to solve this problem ? >> > >> > >> > -- >> > You received this message because you are subscribed to the Google Groups >> > "sage-devel" group. >> > To unsubscribe from this group and stop receiving emails from it, send an >> > email to sage-devel+...@googlegroups.com. >> > To post to this group, send email to sage-...@googlegroups.com. >> > Visit this group at https://groups.google.com/group/sage-devel. >> > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] sage 8.4 compilation error with r
Is it this file ? Le dimanche 28 octobre 2018 14:33:07 UTC+1, Erik Bray a écrit : > > It might be more useful to see the config.log for R. I think usually > when a build fails there is a message providing a path to the > config.log of the build. > This would tell us exactly what commands configure ran and why it > failed (in principle). > On Sun, Oct 28, 2018 at 12:55 PM 'Paul Mercat' via sage-devel > > wrote: > > > > Hi ! > > > > I tried to compile sage-8.4 on my computer on OS X, and I get the > following error. > > I compiled using SAGE_INSTALL_GCC='yes'. > > > > It is strange because it indicates that the version of curl is not > recent enough, but it is! > > > > [r-3.4.4.p0] checking libcurl version ... 7.60.0 > > > > [r-3.4.4.p0] checking curl/curl.h usability... yes > > > > [r-3.4.4.p0] checking curl/curl.h presence... yes > > > > [r-3.4.4.p0] checking for curl/curl.h... yes > > > > [r-3.4.4.p0] checking if libcurl is version 7 and >= 7.22.0... no > > > > [r-3.4.4.p0] configure: error: libcurl >= 7.22.0 library and headers are > required > > > > [r-3.4.4.p0] Error configuring R. > > > > > > Any idea to solve this problem ? > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "sage-devel" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to sage-devel+...@googlegroups.com . > > To post to this group, send email to sage-...@googlegroups.com > . > > Visit this group at https://groups.google.com/group/sage-devel. > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout. This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Sage configure 8.4.beta5, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --no-create --no-recursion ## - ## ## Platform. ## ## - ## hostname = MBP-de-Paul uname -m = x86_64 uname -r = 15.6.0 uname -s = Darwin uname -v = Darwin Kernel Version 15.6.0: Thu Jun 21 20:07:40 PDT 2018; root:xnu-3248.73.11~1/RELEASE_X86_64 /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = Mach kernel version: Darwin Kernel Version 15.6.0: Thu Jun 21 20:07:40 PDT 2018; root:xnu-3248.73.11~1/RELEASE_X86_64 Kernel configured for up to 4 processors. 2 processors are physically available. 4 processors are logically available. Processor type: i486 (Intel 80486) Processors active: 0 1 2 3 Primary memory available: 4.00 gigabytes Default processor set: 248 tasks, 1078 threads, 4 processors Load average: 1.35, Mach factor: 2.64 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /Users/mercatp/anaconda3/bin PATH: /Users/mercatp/git-trac-command/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/sbin PATH: /sbin PATH: /usr/local/bin PATH: /opt/X11/bin PATH: /usr/local/CrossPack-AVR/bin PATH: /Library/TeX/texbin ## --- ## ## Core tests. ## ## --- ## configure:2541: checking for a BSD-compatible install configure:2609: result: /usr/bin/install -c configure:2620: checking whether build environment is sane configure:2675: result: yes configure:2826: checking for a thread-safe mkdir -p configure:2865: result: config/install-sh -c -d configure:2872: checking for gawk configure:2902: result: no configure:2872: checking for mawk configure:2902: result: no configure:2872: checking for nawk configure:2902: result: no configure:2872: checking for awk configure:2888: found /usr/bin/awk configure:2899: result: awk configure:2910: checking whether make -j2 sets $(MAKE) configure:2932: result: yes configure:2961: checking whether make -j2 supports nested variables configure:2978: result: yes configure:3107: checking whether to enable maintainer-specific portions of Makefiles configure:3116: result: yes configure:3158: checking for root user configure:3167: result: no configure:3178: checking build system type configure:3192: result: x86_64-apple-darwin15.6.0 configure:3212: checking host system type configure:3225: result: x86_64-apple-darwin15.6.0 configure:3339: checking for ar configure:3355: found /usr/bin/ar configure:3367: result: yes configure:3388: checking for m4 configure:3404: found /usr/bin/m4 configure:3416: result: yes configure:3437: checking for ranlib configure:3453: found /usr/bin/ranlib configure:3465:
Re: [sage-devel] sage 8.4 compilation error with r
It might be more useful to see the config.log for R. I think usually when a build fails there is a message providing a path to the config.log of the build. This would tell us exactly what commands configure ran and why it failed (in principle). On Sun, Oct 28, 2018 at 12:55 PM 'Paul Mercat' via sage-devel wrote: > > Hi ! > > I tried to compile sage-8.4 on my computer on OS X, and I get the following > error. > I compiled using SAGE_INSTALL_GCC='yes'. > > It is strange because it indicates that the version of curl is not recent > enough, but it is! > > [r-3.4.4.p0] checking libcurl version ... 7.60.0 > > [r-3.4.4.p0] checking curl/curl.h usability... yes > > [r-3.4.4.p0] checking curl/curl.h presence... yes > > [r-3.4.4.p0] checking for curl/curl.h... yes > > [r-3.4.4.p0] checking if libcurl is version 7 and >= 7.22.0... no > > [r-3.4.4.p0] configure: error: libcurl >= 7.22.0 library and headers are > required > > [r-3.4.4.p0] Error configuring R. > > > Any idea to solve this problem ? > > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] sage 8.4 compilation error with r
Yes, I have bc 1.06 Le dimanche 28 octobre 2018 12:57:58 UTC+1, Dima Pasechnik a écrit : > > Do you have bc installed? > It is needed by curl-config > (There is a trac ticket about it) > > On 28 Oct 2018 11:55 am, "'Paul Mercat' via sage-devel" < > sage-...@googlegroups.com > wrote: > > Hi ! > > I tried to compile sage-8.4 on my computer on OS X, and I get the > following error. > I compiled using SAGE_INSTALL_GCC='yes'. > > It is strange because it indicates that the version of curl is not recent > enough, but it is! > > [r-3.4.4.p0] checking libcurl version ... 7.60.0 > > [r-3.4.4.p0] checking curl/curl.h usability... yes > > [r-3.4.4.p0] checking curl/curl.h presence... yes > > [r-3.4.4.p0] checking for curl/curl.h... yes > > [r-3.4.4.p0] checking if libcurl is version 7 and >= 7.22.0... no > > [r-3.4.4.p0] configure: error: libcurl >= 7.22.0 library and headers are > required > > [r-3.4.4.p0] Error configuring R. > > > Any idea to solve this problem ? > > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+...@googlegroups.com . > To post to this group, send email to sage-...@googlegroups.com > . > Visit this group at https://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] sage 8.4 compilation error with r
Do you have bc installed? It is needed by curl-config (There is a trac ticket about it) On 28 Oct 2018 11:55 am, "'Paul Mercat' via sage-devel" < sage-devel@googlegroups.com> wrote: Hi ! I tried to compile sage-8.4 on my computer on OS X, and I get the following error. I compiled using SAGE_INSTALL_GCC='yes'. It is strange because it indicates that the version of curl is not recent enough, but it is! [r-3.4.4.p0] checking libcurl version ... 7.60.0 [r-3.4.4.p0] checking curl/curl.h usability... yes [r-3.4.4.p0] checking curl/curl.h presence... yes [r-3.4.4.p0] checking for curl/curl.h... yes [r-3.4.4.p0] checking if libcurl is version 7 and >= 7.22.0... no [r-3.4.4.p0] configure: error: libcurl >= 7.22.0 library and headers are required [r-3.4.4.p0] Error configuring R. Any idea to solve this problem ? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.