Closed Pouya-moh closed 5 years ago
It seems that the problem is libxml12-dev
is needed. Installing it solved the problem. With that said, IMO, given that there are so many issues regarding the compilation of the test, it might be necessary to revise/reframe/rewrite/etc the test and the accompanying documentation.
Hi. I know this issue has been emerged multiple times but none of them solved the problem.
I cloned the master, made a build directory and from there:
The following outcome is similar when I call the the cmake without
C
andCXX
flags. Either way I get thisThe
CMakeFiles/CMakeError.log
suggests that/usr/bin/ld: cannot find -lxml2
:However, from the first cmake call, I know it uses
-- llvm-config executable found: /usr/local/bin/llvm-config
and:In other words,
llvm-config
knows the libraries but somehow when building the test they cannot be linked.I have few guesses. The https://github.com/Andersbakken/rtags/issues/493#issuecomment-151894344 suggests that multiple llvm installation could cause problems and I do indeed have multiple ones:
Similarly, I have two
clang-c/Index.h
atand two
llvm-config
:Cmake tells me it uses the first which knows about
-lxml2
as well, however, calling the second one from command line with--system-libs
returns nothing.Could this be the source of the problem? If so how can I fix it? If not, what else can I try?
Thanks a lot and cheers!