Hi,
When I was trying to install gforth-0.7.9_20220729 on a RPI zero on a fresh bullseye lite.
After install-deps.sh I still had to: $ apt-get install m4
Then a new installation attempt ended with: --------------------------------------
kernel/basics.fs:274:29: warning: original location
in file included from *the terminal*:0:-24188815:
in file included from *the terminal*:-1:1:
in file included from cilk.fs:21:9:
unix/pthread.fs:172:1: error: Invalid memory address
end-c-library<<<
Backtrace:
libcc.fs:830:20: 0 $B60D9C40 close-lib
libcc.fs:888:19: 1 $B60DA0B8 check-c-hash libcc.fs:1117:5: 2 $B60DAEA4 compile-wrapper-function1 make: *** [Makefile:1469: doc/extradoc.fd] Error 247
Tue 2 Aug 08:17:52 CEST 2022
--------------------------------------
A next attempt also pointed to the same error at pthread.fs
Then I tried version gforth-0.7.9_20220713 that I could install on another Rpi zero under the bullseye lite. This time the logging ended with:
--------------------------------------
s unix/freetype_gl.fs ; do \
libtool --silent --mode=install /usr/bin/install -c lib/gforth/0.7.9_20220713/arm/libcc-named/libgf`basename $i .fs`.la `(cd /usr/local/lib/gforth/0.7.9_20220713/arm/libcc-named; pwd)`/libgf`basename $i .fs`.la; \
done; fi
/bin/sh: 2: libtool: not found
make: *** [Makefile:883: install-libcc] Error 127
Tue 2 Aug 11:58:53 CEST 2022
--------------------------------------
Added an extra installation of: $ sudo apt-get install libtool-bin
Now the Installatie was OK
BUT in Gforth I got:
--------------------------------------
Neither libffi nor ffcall are configured
If you have installed one of them, you can use libffi.fs or fflib.fs directly Or you can just use the new, documented and better, but different, libcc.fs --------------------------------------
I added an extra installation of: $ sudo apt-get install libffi-dev
Now version gforth-0.7.9_20220713 runs my program again :-)
I could not solve the installation problem with pthread.fs for gforth-0.7.9_20220729 under the bullseye lite.
Jos
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)