Thanks William and Ondrej. I tried sudo too but still the same problem. I also tried to build Sage itself and I get another error:
make[6]: Leaving directory `/home/sameer/all/sage-4.2/spkg/build/ r-2.9.2/src/src/library/base' /home/sameer/all/sage-4.2/spkg/build/r-2.9.2/src/bin/exec/R: /home/ sameer/all/sage-4.2/local/lib/gcc-lib/x86_64-unknown-linux-gnu/4.0.3/ libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/ libstdc++.so.6) make[5]: *** [all] Error 1 make[5]: Leaving directory `/home/sameer/all/sage-4.2/spkg/build/ r-2.9.2/src/src/library/base' make[4]: *** [R] Error 1 make[4]: Leaving directory `/home/sameer/all/sage-4.2/spkg/build/ r-2.9.2/src/src/library' make[3]: *** [R] Error 1 make[3]: Leaving directory `/home/sameer/all/sage-4.2/spkg/build/ r-2.9.2/src/src' make[2]: *** [R] Error 1 make[2]: Leaving directory `/home/sameer/all/sage-4.2/spkg/build/ r-2.9.2/src' Error building R. real 0m44.452s user 0m50.311s sys 0m23.201s sage: An error occurred while installing r-2.9.2 Please email sage-devel http://groups.google.com/group/sage-devel explaining the problem and send the relevant part of of /home/sameer/all/sage-4.2/install.log. Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/sameer/all/sage-4.2/spkg/build/r-2.9.2 and type 'make'. Instead type "/home/sameer/all/sage-4.2/sage -sh" in order to set all environment variables correctly, then cd to /home/sameer/all/sage-4.2/spkg/build/r-2.9.2 (When you are done debugging, you can type "exit" to leave the subshell.) make[1]: *** [installed/r-2.9.2] Error 1 make[1]: Leaving directory `/home/sameer/all/sage-4.2/spkg' real 0m52.263s user 0m57.576s sys 0m23.701s Error building Sage. I have gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) in my computer. ***I tried to send install.log in my last email but it was huge and so googlegroups denied to send. I hope it is not a double post.*** Sameer On Nov 5, 10:34 am, Ondrej Certik <ond...@certik.cz> wrote: > Hi Sameer! > > On Thu, Nov 5, 2009 at 9:23 AM, William Stein <wst...@gmail.com> wrote: > > > On Thu, Nov 5, 2009 at 8:51 AM, Sameer Regmi <regm...@gmail.com> wrote: > >> Hi, I am trying to compile FEMhub which is based on Sage and using Sage > > > Please _also_ write to the FEMhub support group: > > could you please try to compile Sage itself on your computer? As I > understood, it also fails. Please send the install.log from the Sage > install. > > Thanks, > Ondrej --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---