Hello,
On pc Debian x86-64 testing updated today, I tried to build with clang.
But I got this warning after autogen.sh
Cannot find Clang headers to build compiler plugins, plugins disabled
Checking in configure.ac, I found this:
5625 CPPFLAGS="$CPPFLAGS -I$CLANGDIR/include
-I$CLANGDIR/tools/clang/include -I$CLANGBUILD/include
-I$CLANGBUILD/tools/clang/include -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS"
5626 AC_CHECK_HEADER(clang/AST/RecursiveASTVisitor.h,
5627 [COMPILER_PLUGINS=TRUE],
5628 [
5629 if test "$compiler_plugins" = "yes"; then
5630 AC_MSG_ERROR([Cannot find Clang headers to build
compiler plugins.])
So I checked which package provided "RecursiveASTVisitor.h"
root@julienPC:/home/julien# apt-file search RecursiveASTVisitor.h
libclang-3.4-dev: /usr/lib/llvm-3.4/include/clang/AST/RecursiveASTVisitor.h
libclang-dev: /usr/lib/llvm-3.2/include/clang/AST/RecursiveASTVisitor.h
But this package is already installed:
root@julienPC:/home/julien# apt-get install libclang-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libclang-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Should I create a symlink or should I override CLANGBUILD or CLANGBUILD so
autogen.sh can find:
/usr/lib/llvm-3.2/include/clang/AST/RecursiveASTVisitor.h
?
Is/are Debian package(s) for clang/llvm buggy?
Julien
--
View this message in context:
http://nabble.documentfoundation.org/About-Clang-headers-on-Debian-tp4075924.html
Sent from the Dev mailing list archive at Nabble.com.
Context
- About Clang headers on Debian · julien2412
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.