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

How can I build with fuse3 #134

Open
Dawen18 opened this issue Sep 17, 2019 · 1 comment
Open

How can I build with fuse3 #134

Dawen18 opened this issue Sep 17, 2019 · 1 comment
Labels

Comments

@Dawen18
Copy link

Dawen18 commented Sep 17, 2019

Hi,
I have only fuse3 installed and not fuse.
When I build, I have this message

error: failed to run custom build command for `fuse v0.3.1`

Caused by:
  process didn't exit successfully: `/code/target/debug/build/fuse-1376467231d8cdf5/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" } }', src/libcore/result.rs:999:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

But I have installed Fuse from libfuse repository and pkg-config found it

root@7e49463b58f3:/usr/local/include/fuse# pkg-config --list-all | grep fuse
fuse3                 fuse3 - Filesystem in Userspace

Do I install libfuse-dev like in #54 ?
If I build with Fuse2 is this compatible with Fuse3?

@ahmed-masud
Copy link

It's okay to build this against fuse2, you'll still get the newest ABI .. .the only thing that rust-fuse uses from fuse2 is the compatible mount / umount calls. This can be reworked so that fuse2 is completely gone ... but it's not that big a deal in grand scheme of things.

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

No branches or pull requests

3 participants