Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Codelite from source fails
I am trying to build codelite from source but get the failure listed below.
However, clang-c/Index.h is present in /usr/pkg/include/clang-c
$ ls -l /usr/pkg/include/clang-c/Index.h
-rw-r--r-- 1 root wheel 214020 Jul 30 2018 /usr/pkg/include/clang-c/Index.h
If I change clangpch_cache.h line 35 from
#include <clang-c/Index.h>
To
#include "/usr/pkg/include/clang-c/Index.h"
The process does move forward to the next reference to <clang-c/Index.h>
Noob question:
is there an environment or make variable that I can set that points the "/usr/pkg/include/" directory?
CLANG_INCLUDE
I did read through the makefile and the make man page.
====== MORE INFO ======
$ gcc --version
gcc (nb4 20181109) 6.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ clang --version
clang version 7.0.1 (tags/RELEASE_701/final)
Target: x86_64-unknown-netbsd8.99
Thread model: posix
InstalledDir: /usr/pkg/bin
$ uname -a
NetBSD clement.ronverbs.dev 8.99.33 NetBSD 8.99.33 (GENERIC) #0: Thu Jan 31 22:07:46 UTC 2019 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
ERROR CODE:
[ 61%] Building CXX object LiteEditor/CMakeFiles/codelite.dir/ClangOutputTab.cpp.o
In file included from /usr/pkgsrc/editors/codelite/work/codelite-9.1/LiteEditor/clang_driver.h:34:0,
from /usr/pkgsrc/editors/codelite/work/codelite-9.1/LiteEditor/clang_code_completion.h:35,
from /usr/pkgsrc/editors/codelite/work/codelite-9.1/LiteEditor/ClangOutputTab.cpp:8:
/usr/pkgsrc/editors/codelite/work/codelite-9.1/LiteEditor/clangpch_cache.h:35:27: fatal error: clang-c/Index.h: No such file or directory
#include <clang-c/Index.h>
^
compilation terminated.
*** Error code 1
Stop.
make[2]: stopped in /usr/pkgsrc/editors/codelite/work/codelite-9.1
*** Error code 1
Stop.
make[1]: stopped in /usr/pkgsrc/editors/codelite/work/codelite-9.1
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/editors/codelite/work/codelite-9.1
*** Error code 1
Stop.
make[1]: stopped in /usr/pkgsrc/editors/codelite
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/editors/codelite
Ron Georgia
“90% of my problems are due to ignorance, the other 10% is because I just don’t know any better.”
Home |
Main Index |
Thread Index |
Old Index