I am having trouble installing gcc. Given the information below, what am I doing wrong?
From $HOME/gcc
on a Linux computer that I do not have root access to, I run the following:
$ wget http://mirrors.concertpass.com/gcc/releases/gcc-7.3.0/gcc-7.3.0.tar.gz
$ tar xvf gcc-7.3.0.tar.gz
$ cd gcc-7.3.0
$ ./contrib/download_prerequisites
gmp-6.1.0.tar.bz2: OK
mpfr-3.1.4.tar.bz2: OK
mpc-1.0.3.tar.gz: OK
isl-0.16.1.tar.bz2: OK
All prerequisites downloaded successfully.
$ cd ..
$ mkdir test
$ cd test
$ ../gcc-7.3.0/configure --prefix=$HOME/gcc/test --disable-multilib
only a few lines of output are shown here:
checking build system type... x86_64-pc-linux-gnu
...
# lots of checking for, where, whether ...
...
/home/clay.stevens/package/gcc/gcc-7.3.0/missing: line 81: makeinfo: command not found
...
# lots of checking for, where, whether ...
...
config.status: creating Makefile
Attempt to make:
$ make -j8
-j8
flag to use 8 cpus
only a few lines of output are shown here:
...
configure: WARNING:
*** Makeinfo is missing. Info documentation will not be built.
...
configure: WARNING: the "none" host is obsolete, use --disable-assembly
...
configure: summary of build options:
Version: GNU MP 6.1.0
Host type: none-pc-linux-gnu
ABI: standard
Install prefix: /home/user.name/gcc/test
Compiler: gcc -std=gnu99
Static libraries: yes
Shared libraries: no
...
...
config.status: executing default commands
make[2]: Leaving directory `/home/user.name/gcc/test'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/user.name/gcc/test'
make: *** [all] Error 2
Attempt to install:
$ make install
errors:
make[1]: Entering directory `/home/user.name/gcc/test'
/bin/sh ../gcc-7.3.0/mkinstalldirs /home/user.name/gcc/test /home/user.name/gcc/test
make[2]: Entering directory `/home/user.name/gcc/test/fixincludes'
make[2]: *** No rule to make target `install'. Stop.
make[2]: Leaving directory `/home/user.name/gcc/test/fixincludes'
make[1]: *** [install-fixincludes] Error 2
make[1]: Leaving directory `/home/user.name/gcc/test'
make: *** [install] Error 2
System info:
$ cat /proc/version
Linux version 3.10.0-514.el7.x86_64 (mockbuild@x86-039.build.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Wed Oct 19 11:24:13 EDT 2016
$ cat /etc/*release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.3 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
$ lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: RedHatEnterpriseServer