[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gforth git-master swig dependency

From: Bernd Paysan
Subject: Re: Gforth git-master swig dependency
Date: Sun, 16 Aug 2020 14:35:47 +0200

Am Sonntag, 16. August 2020, 12:39:23 CEST schrieb David Kuehling:
> >>>>> "Bernd" == Bernd Paysan <> 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.
> > 
> > ./ ./
> > 
> > Look at, if you have a Debian system.
> Thanks for the hints.  I now got further, but not without problems, and
> still not successful.
> Comment about 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 

> 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)/
> [..]
> 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*

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]