Skip to content

cargo fel4 build: libsel4-sys troubles #91

Description

@dckc

I followed the README just fine up to cargo fel4 build and then hit:

   Compiling libsel4-sys v0.5.0 (https://github.com/PolySync/libsel4-sys.git#d12472b4)
error: failed to run custom build command for `libsel4-sys v0.5.0 (https://github.com/PolySync/libsel4-sys.git#d12472b4)`
process didn't exit successfully: `/home/dconnolly/projects/fel4-play/target/debug/build/libsel4-sys-ff44cb0e25eba93a/build-script-build` (exit code: 101)
--- stdout
....
Traceback (most recent call last):
  File "/home/dconnolly/.cargo/git/checkouts/libsel4-sys-0c6a750eab59b961/d12472b/deps/seL4_kernel/tools/invocation_header_gen.py", line 21, in <module>
    import tempita
ImportError: No module named tempita

Full log is in https://gist.github.com/dckc/b0d3c30acab0a0fc14ada3f7a446b753

I got past that with:

$ pip install tempita
...
Successfully installed tempita-0.5.2

Then I hit:

-- Installing: /home/dconnolly/projects/fel4-play/target/x86_64-sel4-fel4/debug/build/libsel4-sys-842c8ae7d32f7f09/out/build/staging/lib/libsel4.a
cargo:root=/home/dconnolly/projects/fel4-play/target/x86_64-sel4-fel4/debug/build/libsel4-sys-842c8ae7d32f7f09/out

--- stderr
thread 'main' panicked at 'Unable to find libclang: "couldn\'t find any of [\'libclang.so\', \'libclang.so.*\', \'libclang-*.so\'], set the LIBCLANG_PATH environment variable to a path where one of these files can be found (skipped: [])"', src/libcore/result.rs:1009:5

I'm not sure how to get past that one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions