• Help Installing gm2 on Arch Linux

    From Yves Cloutier@21:1/5 to All on Thu Sep 27 18:12:07 2018
    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@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@drifter dev]$ cd gm2/
    [drifter@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@drifter gm2]$ gm2
    bash: gm2: command not found

    Any pointers would be appreciated.

    Thanks!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nemo@21:1/5 to Yves Cloutier on Sat Sep 29 10:02:30 2018
    On 27/09/2018 21:12, Yves Cloutier wrote:
    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")

    That shell script appears antiquated (and somewhat onerous given that it insists on downloading something so huge).

    [rest clipped]

    Any pointers would be appreciated.

    Thanks!

    You can download the combined gcc-8.2.0+gm2 tarball from http://floppsie.comp.glam.ac.uk/download/c/ (or http://www.nongnu.org/gm2/download.html ) and build via ./gm2/gcc-versionno/configure, or perhaps you can use one of the
    pre-built Debian packages. I do not run Linux so I do not know if
    Debian works with Arch Linux.

    Finally, you can subscribe to the gm2 mailing list at https://lists.nongnu.org/mailman/listinfo/gm2 .

    Good luck!
    N.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Yves Cloutier@21:1/5 to Nemo on Sun Sep 30 09:43:44 2018
    On Saturday, September 29, 2018 at 10:02:32 AM UTC-4, Nemo wrote:
    On 27/09/2018 21:12, Yves Cloutier wrote:
    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")

    That shell script appears antiquated (and somewhat onerous given that it insists on downloading something so huge).

    [rest clipped]

    Any pointers would be appreciated.

    Thanks!

    You can download the combined gcc-8.2.0+gm2 tarball from http://floppsie.comp.glam.ac.uk/download/c/ (or http://www.nongnu.org/gm2/download.html ) and build via ./gm2/gcc-versionno/configure, or perhaps you can use one of the
    pre-built Debian packages. I do not run Linux so I do not know if
    Debian works with Arch Linux.

    Finally, you can subscribe to the gm2 mailing list at https://lists.nongnu.org/mailman/listinfo/gm2 .

    Good luck!
    N.

    Hi Nemo, thank's for your response. Yes, it maybe that it is outdated, eventhough I cloned directly from the git repository.

    I am leaving on holidays for a few weeks and will try the alternate method you suggest.

    I've also joined the gm2 list - thanks for that, I must have missed it.

    thanks again.

    I'm reading "Modula 2 Applied" by R.J. Mitchell and wanted to try some of the examples.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)