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

Dave Abrahams dabrahams at apple.com
Thu Nov 3 16:22:40 CDT 2016


on Thu Nov 03 2016, Doug Coleman <swift-dev-AT-swift.org> wrote:

> 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?

I don't know how that could happen, but anyway... a clean reconfigure
got me past it, thanks.

> 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
>
> _______________________________________________
> swift-dev mailing list
> swift-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev

-- 
-Dave



More information about the swift-dev mailing list