When I do an 'rpm -qa' and grep for 'gcc' I receive the following:

compat-gcc-32-c++-3.2.3-47.3.x86_64
libgcc-3.4.6-11.el4_8.1.i386
gcc-gnat-3.4.6-11.el4_8.1.x86_64
gcc4-java-4.1.2-44.EL4_8.1.x86_64
gcc-c++-3.4.6-11.el4_8.1.x86_64
gcc4-c++-4.1.2-44.EL4_8.1.x86_64
libgcc-3.4.6-11.el4_8.1.x86_64
gcc-objc-3.4.6-11.el4_8.1.x86_64
gcc4-4.1.2-44.EL4_8.1.x86_64
compat-gcc-32-3.2.3-47.3.x86_64
gcc-3.4.6-11.el4_8.1.x86_64
compat-libgcc-296-2.96-132.7.2.i386
gcc-g77-3.4.6-11.el4_8.1.x86_64
gcc-java-3.4.6-11.el4_8.1.x86_64
gcc4-gfortran-4.1.2-44.EL4_8.1.x86_64

When I do an 'rpm -qa' and grep for '++' I receive the following:

compat-gcc-32-c++-3.2.3-47.3.x86_64
compat-libstdc++-33-3.2.3-47.3.x86_64
libstdc++-3.4.6-11.el4_8.1.x86_64
gcc-c++-3.4.6-11.el4_8.1.x86_64
libstdc++-devel-3.4.6-11.el4_8.1.i386
gcc4-c++-4.1.2-44.EL4_8.1.x86_64
ImageMagick-c++-devel-6.0.7.1-20.el4.x86_64
compat-libstdc++-296-2.96-132.7.2.i386
libstdc++-3.4.6-11.el4_8.1.i386
compat-libstdc++-33-3.2.3-47.3.i386
ImageMagick-c++-6.0.7.1-20.el4.x86_64

[r...@het-math ~]# ls -l /usr/bin/gcc
-rwxr-xr-x  2 root root 105328 Jan 13 19:17 /usr/bin/gcc

[r...@het-math ~]# ls -l /usr/bin/g++
-rwxr-xr-x  4 root root 107200 Jan 13 19:17 /usr/bin/g++

-Richard

On Feb 15, 1:51 pm, William Stein <[email protected]> wrote:
> On Mon, Feb 15, 2010 at 10:19 AM, [email protected] <[email protected]> 
> wrote:
> > I am running 64-bit Scientific Linux 4.8.
> > I downloaded/un-tar'd sage-4.2.1.tar,
> > cd'd to sage-4.2.1 and ran 'make'.
>
> > Relevant output appended.
>
> > -Richard Vaughn
>
> > ================================================================
>
> > checking whether we are using the GNU C++ compiler... yes
> > checking whether g++ accepts -g... yes
> > checking C++ compiler g++  -O2 -m64 -march=nocona -mtune=nocona... no,
> > std iostream
> > checking C++ compiler g++  -g -O2... no, std iostream
> > configure: error: C++ compiler not available, see config.log for
> > details
>
> The above error suggests to me that you need to install a C++ compiler?
> Do you have gcc and g++ installed?  If so, what versions?
>
>  -- William
>
>
>
> > Failed to configure.
>
> > real    0m4.167s
> > user    0m1.497s
> > sys     0m1.324s
> > sage: An error occurred while installing mpir-1.2.p9
> > Please email sage-develhttp://groups.google.com/group/sage-devel
> > explaining the problem and send the relevant part of
> > of /usr/share/sage-4.2.1/install.log.  Describe your computer,
> > operating system, etc.
> > If you want to try to fix the problem yourself, *don't* just cd to
> > /usr/share/sage-4.2.1/spkg/build/mpir-1.2.p9 and type 'make'.
> > Instead type "/usr/share/sage-4.2.1/sage -sh"
> > in order to set all environment variables correctly, then cd to
> > /usr/share/sage-4.2.1/spkg/build/mpir-1.2.p9
> > (When you are done debugging, you can type "exit" to leave the
> > subshell.)
> > make[1]: *** [installed/mpir-1.2.p9] Error 1
> > make[1]: Leaving directory `/usr/share/sage-4.2.1/spkg'
>
> > real    5m23.163s
> > user    3m22.339s
> > sys     1m21.842s
> > Error building Sage.
>
> > --
> > 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 
> > athttp://groups.google.com/group/sage-support
> > URL:http://www.sagemath.org
>
> --
> William Stein
> Associate Professor of Mathematics
> University of Washingtonhttp://wstein.org

-- 
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-support
URL: http://www.sagemath.org

Reply via email to