Sage build systme does not like dashes within the version number.

On Monday, June 23, 2014 1:47:26 AM UTC+2, Jason Wu wrote:
>
> It worked! I initially tried this, but it didn't work because the tarball 
> from mpir.org was named "mpir-2.7.0[DASH]alpha4.tar.bz2" where the one it 
> was trying to download was "mpir-2.7.0[DOT]alpha4.tar.bz2".
>
> Thanks again!
>
> On Sunday, June 22, 2014 7:20:25 PM UTC-4, Dima Pasechnik wrote:
>>
>> On 2014-06-22, Jason Wu <jasonwup...@gmail.com> wrote: 
>> > Hello, 
>> > I'm fairly new to sage and I was trying to build sage on cygwin64. I 
>> cloned 
>> > the git repo and checked out u/jpflori/cygwin64 but it gets stuck when 
>> it 
>> > tries to download mpir 2.7.0.alpha4. mpir2.6.0 (used in master branch) 
>> > won't build on cygwin64. anyways, sage-spkg uses curl to try and 
>> download 
>> > the 2.7.0 alpha package from the sagemath.org server but it doesn't 
>> exist: 
>> > 
>> > /home/jwpilly/sage/build/pipestatus "sage-spkg ${SAGE_SPKG_OPTS} 
>> > mpir-2.7.0.alpha4 2>&1" "tee -a 
>> > /home/jwpilly/sage/logs/pkgs/mpir-2.7.0.alpha4.log" 
>> > Found local metadata for mpir-2.7.0.alpha4 
>> > Attempting to download package mpir-2.7.0.alpha4 
>> >>>> Trying to download 
>> > 
>> http://www.sagemath.org/packages/upstream/mpir/mpir-2.7.0.alpha4.tar.bz2 
>> >   % Total    % Received % Xferd  Average Speed   Time    Time     Time 
>> >  Current 
>> >                                  Dload  Upload   Total   Spent    Left 
>> >  Speed 
>> >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- 
>> --:--:--   
>> >   0 
>> > curl: (22) The requested URL returned error: 404 Not Found 
>> > Error: failed to download package mpir-2.7.0.alpha4 
>> > Makefile:582: recipe for target 
>> > '/home/jwpilly/sage/local/var/lib/sage/installed/mpir-2.7.0.alpha4' 
>> failed 
>> > 
>> > 
>> > I know the real location of mpir2.7.0.alpha4 is here: 
>> > http://mpir.org/mpir-2.7.0-alpha4.tar.bz2 
>> > 
>> > is there any config files i can edit so that sage downloads from there? 
>> i 
>> > can download the tarball manually but i don't know how to make the make 
>> > script use the local tarball instead of trying to download it 
>>
>> just download the file and place it in $SAGEROOT/upstream/ 
>> The installed should be able to pick it up from there. 
>> HTH, 
>> Dmitrii 
>>
>> > 
>> > Thanks in advance! 
>> > 
>>
>>

-- 
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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to