#6981: [with spkg, needs review] include 64-bit OS X gfortran in standard SAge
----------------------+-----------------------------------------------------
Reporter: was | Owner: mabshoff
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.1.2
Component: packages | Keywords:
Reviewer: | Author: William Stein
Merged: |
----------------------+-----------------------------------------------------
Comment(by mvngu):
Replying to [comment:2 jhpalmieri]:
> For the 64-bit version, is there a reason to copy a big bzipped tar file
to SAGE_LOCAL? If not, then I think that in the file [{{/src/gfortran
/fortran-OSX64-20090120/spkg-install}}}, the lines
> {{{
> cp src/gfortran-4.2.3.tar.bz2 $SAGE_LOCAL
> cd $SAGE_LOCAL; tar -xjf gfortran-4.2.3.tar.bz2 -C .
> }}}
> should be changed to something like
> {{{
> cd $SAGE_LOCAL; tar -xjf $CUR/gfortran-4.2.3.tar.bz2 -C .
> }}}
This results in the following error:
{{{
tar (child):
/Volumes/LACIE/scratch/mvngu/sandbox-32/sage-4.1.2.alpha2/spkg/build/fortran-20071120.p6/src/gfortran
/fortran-OSX64-20090120/gfortran-4.2.3.tar.bz2: Cannot open: No such file
or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
Installing OS X 64-bit gfortran compiler
**********************************************************************
Error installing Fortran: Error installing OS X 64-bit gfortran
}}}
The actual command should be
{{{
cd $SAGE_LOCAL; tar -xjf $CUR/src/gfortran-4.2.3.tar.bz2 -C .
}}}
Notice the "src" part. The updated spkg includes this fix.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6981#comment:4>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---