-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: Dependency Clang not found during local build of hdoc #40
Comments
Hello! I believe this error is related to the way you have the LLVM and clang dependencies installed on your system. We don't currently test on openSUSE so I can't precisely say what the issue is, but you can see a similar issue for Ubuntu here. Having the clang compiler is not enough because hdoc relies on
Note: you should use LLVM 14 and not LLVM 13 when trying to build hdoc as there is a unit test that will fail on LLVM 13. Please try this out and report back if it works so that other users can benefit! Thank you |
Hi, the Bug seems to be caused through the definition of I think, This is the patch of
I hope this answer is helpful |
btw, you are right that one of the unit tests fails, since I am using But for now I will try |
One more error which I encountered. Should we have a look into this in a different issue? But since I can build the project, if I work in a subdirectory this does not really have a high priority for me. Might just be interesting to solve so that other users don't run into the same problem.
|
On ubuntu, you need to install the dependencies as following:
I suppose you can map these to Suse. You can also see a docker file that build |
Hey Nils, I apologize for the late response. Thanks for sharing what worked for you, hopefully it will be useful for other users who try to use hdoc on SUSE. Every distro packaging LLVM differently makes it difficult to test but I'm glad you were able to get it running. As for your second build error, could you share some more details? Those files that are missing are basically embedded assets such as CSS styling and so on which are generated at build time and linked into the program. I suspect what might be happening there is that our build system isn't using absolute paths which could cause the build to fail. Any more detail you could provide so we could fix this issue would be helpful, in particular reproduction instructions. Thank you. |
The workflow is acutally the same as described in the I just substitute
Then Is this sufficient for reproducibility of the bug? |
The issue with the assets not being available is because hdoc is being built in a subdirectory. This was pointed out by @no92 in a separate PR and we have a fix for it in our internal repo of hdoc which will be part of the next release. I'll make a comment on this issue when that happens. As a workaround, you can locally apply the patch supplied by @no92 here which should fix the issue. Make sure the version of |
Hi everyone,
I wanted to have a try with hdoc locally and build the project using meson.
Using
clang13
onopenSUSE Leap 15.4
I recieve the following error.meson.build:14:0: ERROR: Dependency Clang not found: CMake: invalid module clangTooling for Clang.
But in the build configuration output the clang compiler is used.
I don't have any experience using meson therefore maybe I can receive some help with the configuration error from you.
Thanks in advance.
The text was updated successfully, but these errors were encountered: