[sage-devel] Re: add curl as a standard package

2016-10-26 Thread Jean-Pierre Flori


On Wednesday, October 26, 2016 at 3:45:02 PM UTC+2, Volker Braun wrote:
>
> On Wednesday, October 26, 2016 at 2:40:42 AM UTC-4, Emmanuel Charpentier 
> wrote:
>>
>> This issue is *distinct* from the one I'm trying to solve (iL e. satisfy 
>> R's prerequisites). Should't you open a relevant ticket ? 
>>
>
> Its not really a distinct issue, its a general caveat of compiling your 
> own curl. And even if we (and/or R) don't use curl to download over ssl 
> today, this will surely change in the future.
>
Hum, it seems to me that R wants curl with https support, look at
https://svn.r-project.org/R/trunk/m4/R.m4 

"libcurl >= 7.28.0 library and headers are required with support for https"


-- 
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] Re: add curl as a standard package

2016-10-26 Thread Volker Braun
On Wednesday, October 26, 2016 at 2:40:42 AM UTC-4, Emmanuel Charpentier 
wrote:
>
> This issue is *distinct* from the one I'm trying to solve (iL e. satisfy 
> R's prerequisites). Should't you open a relevant ticket ? 
>

Its not really a distinct issue, its a general caveat of compiling your own 
curl. And even if we (and/or R) don't use curl to download over ssl today, 
this will surely change in the future.

-- 
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] Re: add curl as a standard package

2016-10-26 Thread Emmanuel Charpentier


Le mercredi 26 octobre 2016 03:12:04 UTC+2, Volker Braun a écrit :
>
> One issue with curl is that you sooner or later will need the root 
> certificates to use it, namely when you start downloading from a https 
> site. E.g. in hashstack I recently added the root certs:
>
> https://github.com/hashdist/hashstack/issues/969
>
> This issue already faces us with openssl but since we actually don't use 
> it much we could avoid it so far. But when replacing curl in the PATH we 
> are going to run into that issue.
>

This issue is *distinct* from the one I'm trying to solve (iL e. satisfy 
R's prerequisites). Should't you open a relevant ticket ? 

>
> I would be happy with adding curl (and up-to-date root certificates) to 
> the list of system requirements for building Sage and avoid that can of 
> worms.
>

That would be a good solution, but a bit at ill ease with the "batteries 
included" motto. Ditto for possible addition of xz and pcre. 

>
> PS: and no, you can't use the OS-provided certs, since Apple had to cook 
> their own sauce once more.
>

 BTW, what is the point of buying an expensive Mac for running 
Sage ?

--
Emmanuel Charpentier
 

>
>
> On Monday, October 24, 2016 at 6:09:24 AM UTC-4, Emmanuel Charpentier 
> wrote:
>>
>> It looks like curl , which was formerly installed 
>> by R installation, must now be installed 
>> 
>>  
>> in order to install R.
>>
>> One can note that a problem will rarely exists, since most Sage users 
>> have curl installed in their system. However, a user having only sage 
>> installed (e. g. Sage's virtual machine for Windows) will see it...
>>
>> If we want to keep R a standard package, we have to either
>>
>>- patch R and add curl's installation (heavy : the R core Team threw 
>>the towel on it),
>>- add curl to Sage's prerequisites (lighter to us, but still heavy to 
>>the users), 
>>- or make it a standard package, on which R must depend.
>>
>>
>> The latter solution has my reference(much simpler).
>>
>> What is yours ?
>>
>> --
>> Emmanuel Charpentier
>>
>

-- 
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] Re: add curl as a standard package

2016-10-25 Thread Volker Braun
One issue with curl is that you sooner or later will need the root 
certificates to use it, namely when you start downloading from a https 
site. E.g. in hashstack I recently added the root certs:

https://github.com/hashdist/hashstack/issues/969

This issue already faces us with openssl but since we actually don't use it 
much we could avoid it so far. But when replacing curl in the PATH we are 
going to run into that issue.

I would be happy with adding curl (and up-to-date root certificates) to the 
list of system requirements for building Sage and avoid that can of worms.

PS: and no, you can't use the OS-provided certs, since Apple had to cook 
their own sauce once more.


On Monday, October 24, 2016 at 6:09:24 AM UTC-4, Emmanuel Charpentier wrote:
>
> It looks like curl , which was formerly installed 
> by R installation, must now be installed 
> 
>  
> in order to install R.
>
> One can note that a problem will rarely exists, since most Sage users have 
> curl installed in their system. However, a user having only sage installed 
> (e. g. Sage's virtual machine for Windows) will see it...
>
> If we want to keep R a standard package, we have to either
>
>- patch R and add curl's installation (heavy : the R core Team threw 
>the towel on it),
>- add curl to Sage's prerequisites (lighter to us, but still heavy to 
>the users), 
>- or make it a standard package, on which R must depend.
>
>
> The latter solution has my reference(much simpler).
>
> What is yours ?
>
> --
> Emmanuel Charpentier
>

-- 
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.