Yves Cloutier
2018-09-28 01:12:07 UTC
Hello,
I'm interested in installing gm2 but having a hard time understanding what needs to be done when following the instructions.
I cloned the git repository then ran:
sudo sh ./combine-trees (following "cut to the chase")
and got the following. The one thing I notice is that it's looking for (then downloaded) gcc-4.7.4 but my package manager shows that I have gcc-8.2.0 on my system.
Below is what displayed on my terminal when I can sh ./combine-trees
[***@drifter dev]$ git clone https://github.com/abougouffa/gm2.git
Cloning into 'gm2'...
remote: Enumerating objects: 30838, done.
remote: Total 30838 (delta 0), reused 0 (delta 0), pack-reused 30838
Receiving objects: 100% (30838/30838), 8.27 MiB | 2.64 MiB/s, done.
Resolving deltas: 100% (23895/23895), done.
[***@drifter dev]$ cd gm2/
[***@drifter gm2]$ sudo sh ./combine-trees
[sudo] password for drifter:
checking for git... /usr/bin/git
checking for bash... /bin/sh
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config-values
mkdir -p download
mkdir -p sources
bash ../gm2-harness/shell-bin/produce-gcc-gm2-tree
this will remove /home/drifter/dev/gm2/scratch/sources/gm2
cannot find gcc-4.7.4.tar.gz or gcc-4.7.4.tar.bz2
will try and download it
--2018-09-27 20:48:33-- ftp://ftp.mirrorservice.org/sites/sources.redhat.com/pub/gcc/releases//gcc-4.7.4/gcc-4.7.4.tar.bz2
=> ‘gcc-4.7.4.tar.bz2’
Resolving ftp.mirrorservice.org (ftp.mirrorservice.org)... 212.219.56.184, 2001:630:341:12::184
Connecting to ftp.mirrorservice.org (ftp.mirrorservice.org)|212.219.56.184|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /sites/sources.redhat.com/pub/gcc/releases//gcc-4.7.4 ... done.
==> SIZE gcc-4.7.4.tar.bz2 ... 82935453
==> PASV ... done. ==> RETR gcc-4.7.4.tar.bz2 ... done.
Length: 82935453 (79M) (unauthoritative)
gcc-4.7.4.tar.bz2 100%[=====================================================================================>] 79.09M 542KB/s in 4m 13s
2018-09-27 20:52:48 (320 KB/s) - ‘gcc-4.7.4.tar.bz2’ saved [82935453]
Cloning into 'gm2'...
remote: Counting objects: 31362, done.
remote: Compressing objects: 100% (6599/6599), done.
remote: Total 31362 (delta 23866), reused 31332 (delta 23850)
Receiving objects: 100% (31362/31362), 10.83 MiB | 9.56 MiB/s, done.
Resolving deltas: 100% (23866/23866), done.
git clone source code: passed
cd gm2: passed
Already on 'gcc_4_7_4_gm2'
Your branch is up to date with 'origin/gcc_4_7_4_gm2'.
: passed
cd ..: passed
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/01-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/02-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/03-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/04-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/05-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/06-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/07-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/08-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/09-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/10-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/11-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/12-patches) succeeded
all done: the combined (and patched) gcc and gm2 tree is: drwxr-xr-x 5 root root 4096 Sep 27 20:53 sources/gm2
[***@drifter gm2]$ gm2
bash: gm2: command not found
Any pointers would be appreciated.
Thanks!
I'm interested in installing gm2 but having a hard time understanding what needs to be done when following the instructions.
I cloned the git repository then ran:
sudo sh ./combine-trees (following "cut to the chase")
and got the following. The one thing I notice is that it's looking for (then downloaded) gcc-4.7.4 but my package manager shows that I have gcc-8.2.0 on my system.
Below is what displayed on my terminal when I can sh ./combine-trees
[***@drifter dev]$ git clone https://github.com/abougouffa/gm2.git
Cloning into 'gm2'...
remote: Enumerating objects: 30838, done.
remote: Total 30838 (delta 0), reused 0 (delta 0), pack-reused 30838
Receiving objects: 100% (30838/30838), 8.27 MiB | 2.64 MiB/s, done.
Resolving deltas: 100% (23895/23895), done.
[***@drifter dev]$ cd gm2/
[***@drifter gm2]$ sudo sh ./combine-trees
[sudo] password for drifter:
checking for git... /usr/bin/git
checking for bash... /bin/sh
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config-values
mkdir -p download
mkdir -p sources
bash ../gm2-harness/shell-bin/produce-gcc-gm2-tree
this will remove /home/drifter/dev/gm2/scratch/sources/gm2
cannot find gcc-4.7.4.tar.gz or gcc-4.7.4.tar.bz2
will try and download it
--2018-09-27 20:48:33-- ftp://ftp.mirrorservice.org/sites/sources.redhat.com/pub/gcc/releases//gcc-4.7.4/gcc-4.7.4.tar.bz2
=> ‘gcc-4.7.4.tar.bz2’
Resolving ftp.mirrorservice.org (ftp.mirrorservice.org)... 212.219.56.184, 2001:630:341:12::184
Connecting to ftp.mirrorservice.org (ftp.mirrorservice.org)|212.219.56.184|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /sites/sources.redhat.com/pub/gcc/releases//gcc-4.7.4 ... done.
==> SIZE gcc-4.7.4.tar.bz2 ... 82935453
==> PASV ... done. ==> RETR gcc-4.7.4.tar.bz2 ... done.
Length: 82935453 (79M) (unauthoritative)
gcc-4.7.4.tar.bz2 100%[=====================================================================================>] 79.09M 542KB/s in 4m 13s
2018-09-27 20:52:48 (320 KB/s) - ‘gcc-4.7.4.tar.bz2’ saved [82935453]
Cloning into 'gm2'...
remote: Counting objects: 31362, done.
remote: Compressing objects: 100% (6599/6599), done.
remote: Total 31362 (delta 23866), reused 31332 (delta 23850)
Receiving objects: 100% (31362/31362), 10.83 MiB | 9.56 MiB/s, done.
Resolving deltas: 100% (23866/23866), done.
git clone source code: passed
cd gm2: passed
Already on 'gcc_4_7_4_gm2'
Your branch is up to date with 'origin/gcc_4_7_4_gm2'.
: passed
cd ..: passed
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/01-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/02-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/03-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/04-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/05-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/06-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/07-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/08-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/09-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/10-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/11-patches) succeeded
found a patch for gcc-4.7.4 inside the gm2 release
will try and apply the patch: (gcc/gm2/patches/gcc/4.7.4/12-patches) succeeded
all done: the combined (and patched) gcc and gm2 tree is: drwxr-xr-x 5 root root 4096 Sep 27 20:53 sources/gm2
[***@drifter gm2]$ gm2
bash: gm2: command not found
Any pointers would be appreciated.
Thanks!