I'm getting the error "Cannot find a physical path bound to logical path matching suffix
<> and prefix Coq." I've seen some discussions of this issue but never for prefix Coq. What might be going on here? I have coq installed via a local opam switch, version 8.14.1
Either the prefix for configure for Coq is wrong, or the lib/coq/theories
dir somehow got empty [stdlib not built?]
It seems I was able to fix this by installing Coq through linuxbrew rather than apt
Hey y'all, I've seen this problem a few places but have found no solutions which fixed it. I am trying to get the UniMath library to work and, whenever I try to load a file in the UniMath directory, I get the error "cannot find physical path matching suffix". This seems to happen for every file within the UniMath directory. It seems like a wholesale problem on how I set up UniMath but I can't figure out what went wrong. Anyone have some ideas?
emacs, coqide? the solution will depend.
@Raymond Baker have you compiled the library already?
proof general (emacs) is looking for something called a _CoqProject
file to resolve this. I haven't the slightest what coqide does.
They all do the same
Ah no, actually proof general can also be configured via .dir-locals.el
, and that's how UniMath does it. So if you're using coqide you'll need to set a bunch of options yourself. https://github.com/UniMath/UniMath/blob/master/INSTALL_COQIDE.md
Hey, sorry for the delayed response. @Quinn I'm working in coqide 8.13.2 on fedora 35.
@Li-yao I ran "make" in the top level of the UniMath directory. "make" returned some errors but I thought it still succeded. The errors were things like "Error: The file /usr/lib64/ocaml/str.cmxa is not a compilation unit description".
Though, there was more than one of these errors. They were of the same type, just with different files
There was also an error near the end that read "Error: Unbound module Mltop
make[2]: *** [Makefile.build:422: bin/coqtop.opt] Error 2
make[2]: Leaving directory '/home/rymndbkr/UniMath/sub/coq'
make[1]: *** [Makefile.make:178: submake] Error 2
make[1]: Leaving directory '/home/rymndbkr/UniMath/sub/coq'
Makefile:76: .coq_makefile_output.conf: No such file or directory
make: *** [Makefile:247: sub/coq/bin/coq_makefile] Error 2"
the more I look at it the more I think this is whats causing the problem. Maybe I was naive to think "make" succeeded...
I think one of the problems is with ocaml. All the files where I get the "is not a compilation unit description" error have to do with ocaml. Not sure whats causing this though.
Do those cmxa files exist on your system? Maybe you're missing OCaml or its dev packages?
Last updated: Oct 05 2023 at 02:01 UTC