Comments (5)
Installing llvm12_clang from Haiku Depot
from inari.
clang found, but libclang is not found.
checking for cbindgen... /bin/cbindgen
checking for rustfmt... /bin/rustfmt
checking for clang for bindgen... /bin/clang++
checking for libclang for bindgen... not found
ERROR: Could not find libclang to generate rust bindings for C/C++. Please install the necessary packages, run `mach bootstrap`, or use --with-libclang-path to give the path containing it.
~/src/firefox-102.9.0/obj-x86_64-unknown-haiku>
from inari.
Trying install llvm12_clang_analysis package.
I don't know this contains libclang or not.
from inari.
already installed, but not found
~/src/firefox-102.9.0/obj-x86_64-unknown-haiku> ls /system/lib/libclang*
/system/lib/libclang-cpp.so /system/lib/libclang-cpp.so.12 /system/lib/libclang.so.12
from inari.
detection code was OS dependant, fixed by
diff --git a/build/moz.configure/bindgen.configure b/build/moz.configure/bindgen.configure
index 2194e732d5..2a77385f59 100644
--- a/build/moz.configure/bindgen.configure
+++ b/build/moz.configure/bindgen.configure
@@ -22,7 +22,7 @@ option(env="CBINDGEN", nargs=1, when=cbindgen_is_needed, help="Path to cbindgen"
def check_cbindgen_version(cbindgen, fatal=False):
log.debug("trying cbindgen: %s" % cbindgen)
- cbindgen_min_version = Version("0.23.0")
+ cbindgen_min_version = Version("0.20.0")#Version("0.23.0")
# cbindgen x.y.z
version = Version(check_cmd_output(cbindgen, "--version").strip().split(" ")[1])
@@ -205,7 +205,7 @@ def bindgen_libclang_path(libclang_path, clang, library_name_info, host):
libclang_choices.append(
"%sclang%s" % (library_name_info.dll.prefix, library_name_info.dll.suffix)
)
- if host.kernel == "Linux":
+ if host.kernel == "Linux" or host.kernel == "Haiku":
libclang_choices.append("libclang.so.*")
if host.os == "OpenBSD":
from inari.
Related Issues (20)
- atk build error HOT 3
- Haiku doesn't have syscall.h? HOT 1
- Chromium IPC build failures HOT 3
- libevent build failures HOT 4
- GLContextProviderGLX build error though we're building for wayland-only HOT 3
- WasmSignalHandlers.cpp build failures HOT 1
- firefox binary linker error HOT 2
- security manager build error HOT 3
- libmozavcodec.so link failed HOT 2
- gkrust build failure HOT 1
- xptcall build error? HOT 3
- other linker issues HOT 12
- Undefined symbols pthread_*_np HOT 1
- Firefox couldn't find the application directory. HOT 10
- Firefox couldn't load XPCOM. HOT 30
- debug build fails with LLVM OOM HOT 10
- moz_create_arena_with_params dynamic load error HOT 9
- error: no DISPLAY environment variable specified HOT 18
- git clone gecko-dev HOT 2
- cubeb_oss failed to build HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inari.