[sage-devel] Re: on OSX 10.14: [gordon.royle@xxxxxx: More Sage compilation issues]
Le lundi 12 novembre 2018 17:04:49 UTC+1, Dima Pasechnik a écrit : > > I am gradually iterating towards a solution for compiling Sage on OSX > 10.14. > > FOR SAGE 8.4 > > > There are two gotchas that perhaps should be added to the documentation - > I am happy to report these issues and their possible resolutions to the > right place, but you seem to be the first approximation to the right place. > > To make things work, I have had to do two things differently from the > generic installation instructions: > > > (1) Install command line tools from the developer website (rather than > using xcode-select —install) > (2) Make sure /usr/include contains the right header files by opening and > installing > > /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg > > > > By default, the directory /usr/include is empty; this package was on my > system (presumably placed there when installing the command-line-tools), > but had not been unpacked and installed. After installation /usr/include > was populated with lots of header files. > > (I did not work this out myself - it is described here: > https://stackoverflow.com/questions/52509602/cant-compile-c-program-on-a-mac-after-upgrade-to-mojave) > > > > I am happy for now, but just FYI, when I tried to install Sage 8.5 in the > same way, I run into another error while compiling sagenb-1.1.0 > > [sagenb-1.1.0] pkg_resources.DistributionNotFound: The 'pyparsing>=2.0.2' > distribution was not found and is required by packaging > [sagenb-1.1.0] make[4]: *** [html] Error 1 > That last item is solved in https://trac.sagemath.org/ticket/26613 -- 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] Error compiling 8.5.beta3 - gsl-2.5
Do you have a ticket number? Is it the same bug as this: Copying package files from temporary location /Users/buildslave-sage/slave/sage_git/build/local/var/tmp/sage/build/ncurses-6.0.p0/inst to /Users/buildslave-sage/slave/sage_git/build/local cp: cannot overwrite directory /Users/buildslave-sage/slave/sage_git/build/local/./lib/terminfo with non-directory /Users/buildslave-sage/slave/sage_git/build/local/var/tmp/sage/build/ncurses-6.0.p0/inst/Users/buildslave-sage/slave/sage_git/build/local/./lib/terminfo Error copying files for ncurses-6.0.p0. On Monday, November 12, 2018 at 10:35:06 AM UTC+1, Erik Bray wrote: > > I have an idea of what might cause this and will submit a fix, but > just manually delete the existing file and try again. > On Mon, Nov 12, 2018 at 8:23 AM David Coudert > wrote: > > > > Hello, > > > > After git pull to go from 8.5.beta2 to 8.5.beta3, I get a compilation > error with gsl-2.5 (see attached log file). > > > > [gsl-2.5] Copying package files from temporary location > /Users/dcoudert/sage/local/var/tmp/sage/build/gsl-2.5/inst to > /Users/dcoudert/sage/local > > [gsl-2.5] cp: symlink: libgsl.23.dylib: File exists > > [gsl-2.5] > > > [gsl-2.5] Error copying files for gsl-2.5. > > > > > > I'm still on OSX 10.10.5. I agree I should update the system, but I > don't think it's the reason for this compilation issue. > > > > Thank you for your help, > > David. > > > > -- > > 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] Error compiling 8.5.beta3 - gsl-2.5
It's working ! Thank you. David. Le lundi 12 novembre 2018 10:35:06 UTC+1, Erik Bray a écrit : > > I have an idea of what might cause this and will submit a fix, but > just manually delete the existing file and try again. > On Mon, Nov 12, 2018 at 8:23 AM David Coudert > wrote: > > > > Hello, > > > > After git pull to go from 8.5.beta2 to 8.5.beta3, I get a compilation > error with gsl-2.5 (see attached log file). > > > > [gsl-2.5] Copying package files from temporary location > /Users/dcoudert/sage/local/var/tmp/sage/build/gsl-2.5/inst to > /Users/dcoudert/sage/local > > [gsl-2.5] cp: symlink: libgsl.23.dylib: File exists > > [gsl-2.5] > > > [gsl-2.5] Error copying files for gsl-2.5. > > > > > > I'm still on OSX 10.10.5. I agree I should update the system, but I > don't think it's the reason for this compilation issue. > > > > Thank you for your help, > > David. > > > > -- > > 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.
[sage-devel] on OSX 10.14: [gordon.royle@xxxxxx: More Sage compilation issues]
I am gradually iterating towards a solution for compiling Sage on OSX 10.14. FOR SAGE 8.4 There are two gotchas that perhaps should be added to the documentation - I am happy to report these issues and their possible resolutions to the right place, but you seem to be the first approximation to the right place. To make things work, I have had to do two things differently from the generic installation instructions: (1) Install command line tools from the developer website (rather than using xcode-select —install) (2) Make sure /usr/include contains the right header files by opening and installing /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg By default, the directory /usr/include is empty; this package was on my system (presumably placed there when installing the command-line-tools), but had not been unpacked and installed. After installation /usr/include was populated with lots of header files. (I did not work this out myself - it is described here: https://stackoverflow.com/questions/52509602/cant-compile-c-program-on-a-mac-after-upgrade-to-mojave) I am happy for now, but just FYI, when I tried to install Sage 8.5 in the same way, I run into another error while compiling sagenb-1.1.0 [sagenb-1.1.0] pkg_resources.DistributionNotFound: The 'pyparsing>=2.0.2' distribution was not found and is required by packaging [sagenb-1.1.0] make[4]: *** [html] Error 1 -- 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] Re: openssl licensing
On Sun, Nov 11, 2018 at 11:28 PM Emmanuel Charpentier wrote: > > Dear Erik, > > Le vendredi 9 novembre 2018 17:56:58 UTC+1, Erik Bray a écrit : >> >> On Fri, Nov 9, 2018 at 2:38 PM Emmanuel Charpentier >> wrote: >> > >> > >> > >> > Le vendredi 9 novembre 2018 13:40:12 UTC+1, Erik Bray a écrit : >> >> >> >> Can someone remind me again why SSL libs aren't provided by the system >> >> on macOS, and/or why those libs can't be used for building Python's >> >> ssl module? >> > >> > >> > From the current installation guide : >> > = Begin quote = >> > Some Sage components (and among them, most notably, Python) “use the >> > OpenSSL library for added performance if made available by the operating >> > system” (literal quote from the Python license). Testing has proved that : >> > >> > Sage can be successfully built against other SSL libraries (at least >> > GnuTLS). >> > Sage’s -pip facility (used to install some Sage packages) is disabled when >> > Sage is compiled against those libraries. >> > >> > Furthermore, the Sage license mention that the hashlib library (used in >> > Sage) uses OpenSSL. >> > >> > Therefore, the OpenSSL library is recommended. However, Sage’s license >> > seems to clash with OpenSSL license, which makes the distribution of >> > OpenSSL along with Sage sources dubious. >> >> I don't think that's true. OpenSSL is not distributed "along with >> Sage sources". At most, instructions for installing OpenSSL are. >> This goes for any dependency of Sage that has an SPKG. > > > Hummm... Hou may be right : the way it is expressed *may* lead an inattentive > reader to deduce that we ship OpenSSL. ISTR that I wrote this phrase ; what I > meant was "if we happened to ship OpenSSL, that would be dubious". I thought > that this was unambiguously a contrafactual ; your reaction proves that it is > not (possible gallicism...). > > How would you phrase that ? I'm not really sure what you mean. But keep in mind there are two things: Sage the Python library and Sage-the-software-distribution. The former has some GPLv2/3 license or something or other for some reason. The latter I'm not sure. We confuse matters by maintaining both these things in the same code repository. I have long believed they should be separate, and I hope to fix that. But that's another issue. Then, what is licensed w.r.t. Sage-the-distribution? That would be the code for tools to download, unpack, and compile all the packages that make up Sage-the-distribution. There is no code from other software packages involved in that--it's just the code for obtaining their code, which we redistribute (on Sage's mirrors) under their original licenses, in a GPL-compatible manner. The OpenSSL is not "shipped" or "distributed" somehow in the Sage-the-distribution sources--only the means of obtaining it. We do distribute binary builds of all this software, and a binary for OpenSSL would be included along with binaries for other software. AFAIK this is not a problem--this is the same as any Linux distribution. The source code from which those binaries is built is, again, made available in a GPL-compatible manner. So I don't think there's anything really to discuss about licenses. -- 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] Error compiling 8.5.beta3 - gsl-2.5
I have an idea of what might cause this and will submit a fix, but just manually delete the existing file and try again. On Mon, Nov 12, 2018 at 8:23 AM David Coudert wrote: > > Hello, > > After git pull to go from 8.5.beta2 to 8.5.beta3, I get a compilation error > with gsl-2.5 (see attached log file). > > [gsl-2.5] Copying package files from temporary location > /Users/dcoudert/sage/local/var/tmp/sage/build/gsl-2.5/inst to > /Users/dcoudert/sage/local > [gsl-2.5] cp: symlink: libgsl.23.dylib: File exists > [gsl-2.5] > > [gsl-2.5] Error copying files for gsl-2.5. > > > I'm still on OSX 10.10.5. I agree I should update the system, but I don't > think it's the reason for this compilation issue. > > Thank you for your help, > David. > > -- > 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.