I'm trying to use the GNU Prolog Compiler to build an executable from my Prolog program like so:
$ gplc solution.prolog -o prog
and it's failing with a really cryptic error:
error trying to execute as: No such file or directory
I can't figure out what it's trying to tell me is missing. Does anyone know?
I'm using Fedora Silverblue 37, and glpc is running inside of a 'toolbox' that is also Fedora 37.
The issue appears to have been that I didn't have a C compiler installed. I installed the
gccpackage, and got a different error:Apparently to get that file, I needed to install the
redhat-rpm-configpackage. I found that package name from this relevant comment on the RedHat bugzilla.Compilation succeeds now!