Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOLVED: error: failed to run custom build command for fuse v0.3.1 #7

Open
happybeing opened this issue Jun 27, 2020 · 2 comments
Open

Comments

@happybeing
Copy link

I'm not a Rustc or Cargo native, so not sure how easy this is to fix but will look into it.

Building a new clone of master on Ubuntu 19.04 using Rustc v1.44.0, Cargo v1.44.0:

cargo update && cargo build

Fails at this point:

   [snip]
   Compiling fuse v0.3.1
   Compiling libsqlite3-sys v0.9.3
error: failed to run custom build command for `fuse v0.3.1`

Caused by:
  process didn't exit successfully: `/home/mrh/src/fuse/syncer/target/debug/build/fuse-e19dbd79cd2cb2b4/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\" \"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\nPackage 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" } }', /home/mrh/.cargo/registry/src/github.com-1ecc6299db9ec823/fuse-0.3.1/build.rs:10:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@happybeing
Copy link
Author

happybeing commented Jun 27, 2020

SOLVED: I forgot I had a clean OS install recently so I needed:

sudo apt install libfuse-dev libsqlite3-dev

@happybeing happybeing changed the title error: failed to run custom build command for fuse v0.3.1 SOLVED: error: failed to run custom build command for fuse v0.3.1 Jun 27, 2020
@happybeing happybeing reopened this Jun 27, 2020
@happybeing
Copy link
Author

Be worth adding in a pre-requites section of the README. Happy to do this if you'll accept a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant