[swift-dev] libxml/parser.h not found?

Doug Coleman doug_coleman at apple.com
Thu Nov 3 15:04:34 CDT 2016


Looks like clang/CMakeLists.txt looks for libxml2:

find_package(LibXml2 2.5.3 QUIET)
if (LIBXML2_FOUND)
  set(CLANG_HAVE_LIBXML 1)
endif()

Perhaps you have the libxml2 library but not the libxml headers?

Doug


> On Nov 3, 2016, at 12:54 PM, Dave Abrahams via swift-dev <swift-dev at swift.org> wrote:
> 
> 
> Anyone know what this is about?
> 
> /Users/dave/src/s/swift/utils/build-script --distcc '--lit-args=--distribute -sv' --build-args=-v --skip-build-ios-device --skip-build-tvos-device --skip-build-compiler-rt --swift-stdlib-build-type=Debug --swift-stdlib-enable-assertions=1 --skip-build-benchmarks --release-debuginfo --debug-swift-stdlib --swift-stdlib-build-type=Debug --swift-stdlib-enable-assertions=1 --test --
> 
> ...
> /Users/Shared/dabrahams/s/llvm/tools/clang/tools/c-index-test/c-index-test.c:15:10: fatal error: 'libxml/parser.h' file not found
> #include <libxml/parser.h>
>         ^
> 1 error generated.
> 
> -- 
> -Dave
> 
> _______________________________________________
> swift-dev mailing list
> swift-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev



More information about the swift-dev mailing list