On Tue, Jun 3, 2008 at 4:59 AM, Melissa <[EMAIL PROTECTED]> wrote: > > Hi- > > I'm sort of new to compiling things from source [and new to CentOS]. I > followed the instructions detailed in the .pdf for compiling from > source, including making sure I had the necessary repos. However, I > know it didn't work, because it took all of five seconds and after > each thing it said this: "You must set the SAGE_ROOT environment > variable or run this script from the SAGE_ROOT or SAGE_ROOT/local/bin/ > directory." > > When trying to run sage by changing into the directory and typing "./ > sage", I get the following message at the bottom: "ImportError: /home/ > syslin/sage-3.0.2-rhel32bit-intelx86-i686-Linux/local/lib/libpari- > gmp.so.2: cannot restore segment prot after reloc: Permission denied > <ERROR: name 'sage_prompt' is not defined>". > > Also, I'm confused as to which tar I should've downloaded. I used the > RHEL one. Is this right? The OS is CentOS 5.1. >
By the way, given that we don't make centos binaries, I *do* recommend you build from source. 1. Download the top listed tarball here: http://sagemath.org/dist/src 2. tar xvf sage-3.0.2.tar 3. cd sage-3.0.2 4. make 5. Wait 2 hours 6. Done. If it immediately fails that's because you need one of the prerequisite packages. There are very few: gcc, g++, make, m4, perl, and ranlib --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---