Andreas,

Thanks for your excellent news about getting Poplog working on Arch.

Are you willing to contribute some installation instructions to go on the
Birmingham web site to help novice users of Arch linux repeat what you did?

More details: Apologies for length.

1. The following web page now has instructions for ubuntu users and for
users of redhat based systems to install pre-requisites for poplog. I
intend shortly to to include separate 'fetch-and-build' scripts for
different operating systems:

https://www.cs.bham.ac.uk/research/projects/poplog/V16/required-packages.html

For Redhat-based versions of linux, e.g. Fedora:

    dnf install gcc glibc-devel tcsh ncurses-devel libXext-devel libX11-devel\
         libXt-devel openmotif-devel xterm wget espeak

For Debian/Ubuntu users

    apt-get install gcc build-essential tcsh libc6 libncurses5 libncurses5-dev \
        libstdc++6 libxext6 libxext-dev libx11-6 libx11-dev libxt-dev 
libmotif-dev \
        xterm wget espeak

What exactly should be inserted for Arch users to produce the same effects?
I.e. what commands did you use to set up preconditions for poplog?

2. Likewise I'll be grateful if you can send me the instructions you had to
use to build poplog for Arch (on the basis of the information Waldek sent
recently about required changes).

For redhat-based systems this is a draft version that works for me:

   dnf install gcc glibc-devel tcsh ncurses-devel libXext-devel libX11-devel\
        libXt-devel openmotif-devel xterm wget espeak

   wget https://www.cs.bham.ac.uk/research/projects/poplog/V16/getpoplog.sh

   chmod 755 getpoplog.sh

   ./getpoplog.sh

That's now included in this script:

http://www.cs.bham.ac.uk/research/projects/poplog/V16/install-fedora-redhat-packages

And for Ubuntu and Debian:

    sudo apt-get install gcc build-essential tcsh libc6 libncurses5 
libncurses5-dev \
        libstdc++6 libxext6 libxext-dev libx11-6 libx11-dev libxt-dev 
libmotif-dev xterm wget espeak

    wget https://www.cs.bham.ac.uk/research/projects/poplog/V16/getpoplog.sh

    chmod 755 getpoplog.sh

    ./getpoplog.sh

All that is now included in

http://www.cs.bham.ac.uk/research/projects/poplog/V16/install-ubuntu-debian-packages

I think that needs to be modified for the very latest versions of Debian,
as well as for Arch users, as implied in one of Waldek's recent messages):

(The versions on the web site have some additional comments and print
instructions.)

----

If I've understood one of Waldek's messages properly these are changes
needed for more recent versions of debian:

>   2a) patch 'asmout.p' to add '-no-pie' option
>   patch -p1 < nopie.diff

Can that be included as a conditional instruction in the above script

        install-ubuntu-debian-packages

??
----------

If I've understood correctly, the above change in getpoplog.sh is needed
for Arch linux ?

Currently getpoplog.sh, the last download+install step in both cases,
contains the following instructions (along with various comments etc.)

    wget 
http://www.cs.bham.ac.uk/research/projects/poplog/V16/latest_poplog_base.tar.bz2

    wget http://www.cs.bham.ac.uk/research/projects/poplog/V16/docs.tar.bz2

    wget http://www.cs.bham.ac.uk/research/projects/poplog/packages-v16.tgz

    tar xfj latest_poplog_base.tar.bz2

    cd poplog_base

        ## run this script in the poplog_base directory, where it is included
        ## as a result of the download:

    ./build_all.csh

That does the following in poplog_base (plus some additional trace printing):

    echo `pwd` > USEPOP

    echo "directory name stored in file USEPOP"
    cat USEPOP

    setenv usepop `pwd`

        #Waldek's instructions:

    ./build_pop0 >& buildout1

    mv pop/pop/newpop11 pop/pop/corepop

    ./build_pop2 >& buildout2

        # not essential
    ls -l pop/lib/psv

        # instructions to add documentation and packages fetched from
        # Birmingham

    cd pop      #I.e. cd $usepop/pop
        
        #Unpack remaining fetched tar files:
        # missing doc files
    tar xfj ../../docs.tar.bz2

        # packages directory
    tar xfz ../../packages-v16.tgz

        ## set up environment variables required for running poplog as csh user
        ## during the final steps:

    source $usepop/pop/com/poplog.csh   ## previously had no .csh suffix

    echo "CREATING DOCUMENTATION INDEXES NEEDED BY USERS"

    $usepop/pop/com/makeindexes

----------------------------------------------------

If you can tell me which changes you had to make to the above I'll use it
to create the install script for Arch users.

I'll also add the instructions relevant to Arch to the required-packages.html
document, and produce a new script to do everything to install poplog for
Arch users, though I won't be able to test it!

Eventually installation of poplog should use a single command (possibly
with optional extras) as is normally the case when installing a linux
package.

At present the installation requires combining files derived from github
with various 'addons' located at Birmingham, including some that perhaps
should not be regarded as part of a standard poplog.

Some people may want only the core part of poplog, without all the teaching
and demonstration addons, and a script to produce that should be easy to
add.

I hope this all makes sense. Perhaps I am missing some important
simplification?

Aaron

Reply via email to