Hi. Are there instructions anywhere for how to build Isabelle from source?
like the ones from the README_REPOSITORY or what are looking for?
or the Admin/Release/CHECKLIST
to produce a report?
Actually, Isabelle is 'built from source' every time you execute it with changed sources.
What is not re-built are the supplied components. Those are external dependencies as well as a pre-built bootstrapping module.
You can build those with the appropriate isabelle component_<name>
tool, provided you use the repository version.
Thank you @Mathias Fleury @Fabian Huch, that's helpful :pray:
I'm also trying to figure out how to build isabelle directly from the sketis repository. I am on Ubuntu Linux. I installed the latest versions of java, scala, polyml, but Admin/init
returned Unknown JAVA_HOME -- Java unavailable
. I then used whereis
to find my JDK and set ISABELLE_JDK_HOME=/usr/lib/jvm/java-11-openjdk-amd64
, then Admin/init
returns
Error: Could not find or load main class isabelle.setup.Setup
Caused by: java.lang.ClassNotFoundException: isabelle.setup.Setup
What should I try at this point? None of the bin/isabelle *
commands work.
ISABELLE_CLASSPATH
appears to be unset
Which Ubuntu are you on? You do not need to install any of java/scala/polyml, all you need for the repository version is Mercurial to clone it.
What is the output of bin/isabelle components -I
? It looks like it could not create the user home.
(The components tool works without working Isabelle)
(and do not forget `bin/isabelle components -a
if the -I
did not produce any error!)
I sat down with Makarius to troubleshoot this and it turns out the issue was that lib/Tools/components
was not executable, caused by a bad backup some years ago. Apparently hg update
doesn't fix permissions issues. Deleting and recreating the repo from scratch fixed the issue.
Last updated: Dec 21 2024 at 12:33 UTC