On Mon, Nov 09, 2009 at 05:49:40PM -0800, Josh wrote:
> 
> I got the error when it attempted to compile R, 113 minutes into the
> process.  Is this why I would have had to copy libgcc.so to the
> appropriate directory and if so, what directory?
> 

Here is where you have two options:

1. As William wrote in a previous message, do

  export SAGE_FORTRAN=/usr/bin/gfortran                                         
                                                               
  export  SAGE_FORTRAN_LIB="/usr/lib/libgfortran.so"                            
                                                             

This assumes you have gfortran installed on your system.  If not, do 

pacman -S gcc-fortran

Now if you run "make" there should be no problems with R any more.
(Note that I haven't tried this option yet, but it should be the right
way to go.  It also has the advantage that you can do it at the very
beginning, instead of having to wait until R fails.)

2. The other option (more of a hackish workaround) is to do

cp /usr/lib/libgcc_s.so /opt/sage-4.2/local/lib/gcc-lib/i686-pc-linux-gnu/4.0.3/

and try "make" again.


Best,
Alex


-- 
Alex Ghitza -- Lecturer in Mathematics -- The University of Melbourne
-- Australia -- http://www.ms.unimelb.edu.au/~aghitza/

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to