Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm getting an error when compiling (`cargo build`), both on stable and nightly Rust:

    error: failed to run custom build command for `fuse v0.3.1`
    process didn't exit successfully: `/home/bromskloss/code/gcsf/target/debug/build/fuse-46607682b28e6d4c/build-script-build` (exit code: 101)
    --- stderr
    thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Failure { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"fuse >= 2.6.0\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "Package fuse was not found in the pkg-config search path.\nPerhaps you should add the directory containing `fuse.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'fuse\' found\n" } }', libcore/result.rs:945:5
    note: Run with `RUST_BACKTRACE=1` for a backtrace.
Am I doing it wrong?


See this issue[0]. tl;dr: make sure you have the libfuse-dev package installed.

[0] https://github.com/harababurel/gcsf/issues/9




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: