Re: Gforth git-master swig dependency
Bernd Paysan <[email protected]> Sun, 16 Aug 2020 14:35:47 +0200
| Newsgroups | gmane.comp.lang.forth.gforth |
|---|---|
| Message-ID | <51541169.aWgB4uj8xH@liubei> |
Am Sonntag, 16. August 2020, 12:39:23 CEST schrieb David Kuehling: > >>>>> "Bernd" == Bernd Paysan <[email protected]> writes: > > Am Sonntag, 16. August 2020, 11:07:18 CEST schrieb David Kuehling: > >> So here I'm somewhat stuck. Google doesn't turn up any usable > >> information about how to get a forth-enabled Swig. > > > > ./install-swig.sh ./install-freetype-gl.sh > > > > Look at install-deps.sh, if you have a Debian system. > > Thanks for the hints. I now got further, but not without problems, and > still not successful. > > Comment about install-freetype-gl.sh: it uses some ugly hack to manually > install libsoil via /bin/cp and directly installs to /usr (rather than > /usr/local). I instead used libsoil's "make install" target which > seemed to do better. Yes, that is a kludge, because SOIL2 has a build system that does not even come with a make install target. Solution: replace broken build system by automake. > After resolving those dependencies, gforth-fast minos2/md-test.fs now > started failing in minos2/font-style.fs. Seems it needs package > fonts-noto to continue (maybe just fonts-noto-color-emoji would do). > > Then it failed trying to find fa-merged-900.ttf, which doesn't seem to > be available at all here (Debian). I had to patch the font-path to > include "truetype/font-awesome" and substituded fa-merge-900.ttf with > fontawesome-webfont.ttf (it looked like the right thing to do, but no > idea whether it actually makes sense). fontawesome has the strange habit of shipping their fonts in several parts, so I merged their fonts into one. The open question is how to ship this font for people who build from source. Probably in a github repository. > Unfortunately the 'md-test.fs' example does not seem to work > > $ gforth-fast ./minos2/md-test.fs $(pwd)/README.md > [..] > in file included from *the terminal*:0:-94092433250863: > in file included from *the terminal*:-1:1: > minos2/md-test.fs:50:2: error: Undefined word > > >>>v-box<<< > > Backtrace: > kernel/int.fs:572:10 0 $7FA099496D18 throw Fixed. It's now called md-box, to be unambiguous. > Also minos2/gl-sample.fs only shows an empty window (filled dark-blue). I'll look into that. > And minos2/gl-terminal.fs doesn't open any window at all. Needs '>screen' to be activated. > What am I missing? > > This is on Devuan Beowulf (which is mostly a "Debian stable" system). > > cheers, > > David -- Bernd Paysan "If you want it done right, you have to do it yourself" net2o id: kQusJzA;7*?t=uy@X}1GWr!+0qqp_Cn176t4(dQ* https://net2o.de/
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEERJ1NDqPQRwYnwBjr9y2Uk5MtoGcFAl85KCMACgkQ9y2Uk5Mt oGfInQ/+MmmMm5c4910QYRMuXpEu/0IYNNSspqrA5C+uNzQ0VnHZPrci+usaQd8F XCUIeC7DZ0T1aGNcmrjxNvyYMK3O7dOO5rctSyTtmJa3CkD2e71Wx2bbb4QFax98 f5GM6GS1o7O8NQ7zObTDEgLYpv7hsJi54tL6nZk+hq/DHuRp3yOFHhHgZRBymsUv MH1/RbqC912zMhE5aeQ4ZU3ZeCMmfP/k5QqU79WqSmBhuRC7/qDpx6Y5GPORJJef xHH5kMBra0/if9qIr7eWT+FdJ0vRrhFqNQKfpRQKKDAmGbdvMx7u+Aat0W52/xjo LJU5NGp9pLHKSker2moEPNZua1jY8TUwAWegVptbf0dFYGy52KOx/5UUME5xDgp0 VVdPaFdNiRn9BVENFQsxBF8xPzYsdOQR0xv/0eKHbE7tzs8b3BnIUT+xmNiu/42D ETeOtZ0xhsOiis21oPc8uYLzxcSWiOJdjeXT6Va2Cf9ZP3Xcvh0Ngq3xEkH1jt6j u56/0kZ8v60ktbJuuBAhEfTCzabMxwHtprZQejLfR4YfOW9lO1xohEzCxbsAhQoE t7VngZ5JiyhuZhjBxPhdHC5+cxOCoWFlqsMN2bcO7ynyJwAKn4VExQ4CvfO23F3s oof5mfkaas0PocrIOQZSS3wtsMKT0wOpgebi5bN0Yy0GUxYxHs0= =8KEy -----END PGP SIGNATURE-----