By not providing "FindPython.cmake" in CMAKE_MODULE_PATH this project has does it work when you pass the location of the lib to the script? Alternatively, you may set the environment variables LIBXML_CFLAGS and LIBXML_LIBS to avoid the need to call pkg-config. Please check your libxml2 installation. it should tell you what environment variables you need to set in order to find libxml2 So, armed with these last two pieces of info, you should be able to work out what you need to set and how. error: Don't move past current position; error: Limit number of parser errors; parser: Lower entity nesting limit with XML_PARSE_HUGE; parser: Don't increase depth twice when parsing internal entities; parser: Improve detection of entity loops; parser: Only report a single entity error; libxml.h: Remove dubious definition of LIBXML_STATIC link errors with --no-undefined-version. [ 15%] Building C object CMakeFiles/iio.dir/context.c.o long story short: if "/bin" is in your PATH, cmake doesn't work correctly. xml2 installed but not found during compilation. 565), Improving the copy in the close modal and post notices - 2023 edition, New blog post from our CEO Prashanth: Community is the future of AI, Ubuntu 23.04 (Lunar Lobster) is now released and is no longer off-topic, Announcement: AI-generated content is now permanently banned on Ask Ubuntu, Package libprotobuf was not found in the pkg-config search path, OpenSSL installed but no openssl.pc (needed by pkg-config), Can't install RMagick 4.0.0. -- Looking for stddef.h -- Looking for newlocale * checking for gzopen in -lz. Connect and share knowledge within a single location that is structured and easy to search. I've tried to run with & without "/bin" in the PATH and get the same results. [ 19%] Building C object CMakeFiles/iio.dir/scan.c.o So, a little more info here, since I'm still not sure if this is an arch/libxml2 problem, or a libiio one. By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. checking for pkg-config /usr/bin/pkg-config How a top-ranked engineering school reimagined CS curriculum (Ep. Now this wont work. headers, it was still possible to declare them manually. @Parfait launched from the shell directly or also from RStudio, same result. no checking for xmlParseFile in -lxml. No package 'libxml-2.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Don't subscribeAllReplies to my comments It only mentions what their values should be, that is why I was curious how you knew that they should be called "LIBXML_CFLAGS" and "LIBXML_LIBS". Asking for help, clarification, or responding to other answers. [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 It'd really be nice to figure out a better way to do this. -- Found Git: /usr/bin/git (found version "2.17.1") CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/iio.dir/all' failed checking whether we are cross compiling no ^ It is possible though that large -- Looking for stdint.h - found Running under: CentOS Linux 7 (Core), Matrix products: default
How Was Kaiser Wilhelm Related To Queen Victoria,
Articles C