Hi Aaron,

I see Will has already given a holding reply. Can I ask you to forward a
'corepop' that works to
me? I suspect you are right that that is the underlying issue.
Unfortunately if we do not have a
matching corepop we have quite an ugly failure mode. I'll add a ticket to
the project to
improve the failure messages.

In addition to a working corepop we also need to know the kernel version.
But I saw that you
already added that previously. So just the corepop should be fine.

In a later message you mention about not installing in /usr/local/poplog. I
will discuss that
with Will and see if we can come up with a plan. That folder is the natural
default choice when
installing from the make file. We could make the install refuse to happen
if there's a pre-existing
installation and emit some helpful instructions?

To install it somewhere else just changing the 'prefix' e.g.

make install prefix=~/local

That will install Poplog to your personal local folder (assuming you have
one).

Steve

On Thu, 19 Aug 2021 at 03:45, Aaron Sloman <[email protected]> wrote:

> I created a directory
>
>     /extras/leachpop
>
> cd /extras/leachpop
>
>     # git clone https://github.com/GetPoplog/Seed.git
>
> Produces:
>     [root@chill leachpop]# git clone https://github.com/GetPoplog/Seed.git
>     Cloning into 'Seed'...
>     remote: Enumerating objects: 1147, done.
>     remote: Counting objects: 100% (766/766), done.
>     remote: Compressing objects: 100% (281/281), done.
>     remote: Total 1147 (delta 619), reused 547 (delta 477), pack-reused 381
>     Receiving objects: 100% (1147/1147), 276.28 KiB | 3.63 MiB/s, done.
>     Resolving deltas: 100% (645/645), done.
>
> I do:
>
>     # cd seed
>
>     # make jumpstart-fedora
> dnf install -y \
> curl make bzip2 \
> gcc glibc-devel ncurses-devel libXext-devel libX11-devel \
> libXt-devel openmotif-devel xterm espeak csh
> Last metadata expiration check: 1:20:27 ago on Thu Aug 19 02:02:20 2021.
> Package curl-7.69.1-8.fc32.x86_64 is already installed.
> Package make-1:4.2.1-16.fc32.x86_64 is already installed.
> Package bzip2-1.0.8-2.fc32.x86_64 is already installed.
> Package gcc-10.3.1-1.fc32.x86_64 is already installed.
> Package glibc-devel-2.31-6.fc32.x86_64 is already installed.
> Package glibc-devel-2.31-6.fc32.i686 is already installed.
> Package ncurses-devel-6.1-15.20191109.fc32.x86_64 is already installed.
> Package ncurses-devel-6.1-15.20191109.fc32.i686 is already installed.
> Package libXext-devel-1.3.4-3.fc32.x86_64 is already installed.
> Package libXext-devel-1.3.4-3.fc32.i686 is already installed.
> Package libX11-devel-1.6.12-1.fc32.x86_64 is already installed.
> Package libX11-devel-1.6.12-1.fc32.i686 is already installed.
> Package libXt-devel-1.2.0-1.fc32.x86_64 is already installed.
> Package libXt-devel-1.2.0-1.fc32.i686 is already installed.
> Package motif-devel-2.3.4-20.fc32.x86_64 is already installed.
> Package motif-devel-2.3.4-20.fc32.i686 is already installed.
> Package xterm-351-2.fc32.x86_64 is already installed.
> Package espeak-1.48.04-17.fc32.x86_64 is already installed.
> Package tcsh-6.22.02-3.fc32.x86_64 is already installed.
> Dependencies resolved.
> Nothing to do.
>
> AFTER THAT NOTHING WORKS
> E.g.
>
> # make build
> mkdir -p "_download/Base"
> curl -LsS "https://github.com/GetPoplog/Base/archive/main.tar.gz"; | ( cd
> _download/Base; tar zxf - --strip-components=1)
> mkdir -p "_build"
> cp -rpP _download/Base/ _build/
> make -C _build/Base build
> make[1]: Entering directory '/extras/leachpop/Seed/_build/Base'
> mkdir -p _build
> echo 'void test(){}' > _build/test.c
> if `(cd _build; /usr/bin/gcc -no-pie -c test.c 2>&1)`; then make
> buildNoPie;
> else make buildWithoutNoPie; fi
> make[2]: Entering directory '/extras/leachpop/Seed/_build/Base'
> test ! -z "-v -no-pie -Wl,-export-dynamic -Wl,-no-as-needed" # Protect
> against
> being called from the wrong context.
> sed -e 's/{{{POP__CC_OPTIONS:[^}]*}}}/-v -no-pie -Wl,-export-dynamic
> -Wl,-no-as-needed/' < pop/src/syscomp/x86_64/asmout.p.template >
> pop/src/syscomp/x86_64/asmout.p
> true
> make[2]: Leaving directory '/extras/leachpop/Seed/_build/Base'
> make[1]: Leaving directory '/extras/leachpop/Seed/_build/Base'
> mkdir -p _build/poplog_base
> ( cd _build/Base; tar cf - pop ) | ( cd _build/poplog_base; tar xf - )
> touch _build/Base.proxy # Create the proxy file to signal that we are done.
> mkdir -p "_download/Corepops"
> curl -LsS "https://github.com/GetPoplog/Corepops/archive/main.tar.gz"; | (
> cd
> _download/Corepops; tar zxf - --strip-components=1 )
> cp -rpP _download/Corepops _build/
> cp -p _build/poplog_base/pop/pop/corepop _build/Corepops/supplied.corepop
> make -C _build/Corepops corepop
> make[1]: Entering directory '/extras/leachpop/Seed/_build/Corepops'
> COREPOP=`/bin/sh ./find.sh 2>/dev/null` && [ ! -z "$COREPOP" ] && cp -p
> "$COREPOP" corepop
> make[1]: *** [Makefile:20: corepop] Error 1
> make[1]: Leaving directory '/extras/leachpop/Seed/_build/Corepops'
> make: *** [Makefile:463: _build/Corepops.proxy] Error 2
>
>
> ===========
>
> I seem to have been given a corepop that is no good for my version of
> fedora:
>
> If I try to run it I get multiple access violation errors.
>
> I actually have a corepop that works (from Waldek's package).
>
> But it's past 3am and I need to sleep. So I won't try editing the
> shell scripts to restart with a working corepop.
>
> How do you chose which corepop to provide? You could check the current
> linux kernel number, I suppose: in my case its (5.11.22-100)
>
>     5.11.22-100.fc32.x86_64
>
> ===========
>
> I would recommend against defaulting to installation in /usr/local/poplog
> as that is exactly where an existing poplog user is likely to have a poplog
> installation already. Create a name for your poplog, e.g. leachpop and put
> the new poplog in /usr/local/leachpop/
>
> ==========
>
> I apologise if doing this while short of sleep has made me do the wrong
> thing.
>
> Aaron
>

Reply via email to