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

centos7 libfuse? #8

Closed
vbatts opened this issue Jul 31, 2018 · 8 comments
Closed

centos7 libfuse? #8

vbatts opened this issue Jul 31, 2018 · 8 comments

Comments

@vbatts
Copy link
Contributor

vbatts commented Jul 31, 2018

looks like the fuse-devel-2.9.2-10.el7.x86_64 on centos7 is not new enough or not found for building.

checking for uint8_t... yes
checking for ptrdiff_t... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FUSE... no
configure: error: *** libfuse not found
vbatts@centos7-2503932173 ~/src/github.com/containers/fuse-overlayfs$ rpm -q fuse-devel
fuse-devel-2.9.2-10.el7.x86_64
@AkihiroSuda
Copy link
Contributor

looks like FUSE v3 is needed

(so, it can't be installed on Ubuntu 18.04 as well 😢)

@vbatts
Copy link
Contributor Author

vbatts commented Sep 26, 2018

this is the case on fedora 28 as well

[vbatts@poly] {master} ~/src/github.com/containers/fuse-overlayfs$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
[...]
checking for ptrdiff_t... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FUSE... no
configure: error: *** libfuse not found
[vbatts@poly] {master} ~/src/github.com/containers/fuse-overlayfs$ rpm -q fuse-devel
fuse-devel-2.9.7-11.fc28.x86_64

@vbatts
Copy link
Contributor Author

vbatts commented Sep 26, 2018

cc @giuseppe

@giuseppe
Copy link
Member

yes, at the moment only fuse3 is supported (fuse3-devel rpm on F28). I've looked if it can be easily ported to fuse2 but it requires changes in the code

@vbatts
Copy link
Contributor Author

vbatts commented Sep 26, 2018

ah you're right. It didn't show when I did dnf search fuse for some reason...

@rhatdan
Copy link
Member

rhatdan commented Sep 26, 2018

dnf install fuse-overlayfs seems to bring in the library.

@rhatdan
Copy link
Member

rhatdan commented Jun 18, 2020

@giuseppe Should we close this one?

@giuseppe
Copy link
Member

yes let's close this one

akihikodaki added a commit to akihikodaki/fuse-overlayfs that referenced this issue Jun 17, 2024
Building the current master branch fails with:
containers#8 4.712 ninja: job failed: cc -Ilib/libfuse3.a.p -Ilib -I../lib -Iinclude -I../include -I. -I.. -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_REENTRANT -DHAVE_LIBFUSE_PRIVATE_CONFIG_H -Wno-sign-compare -D_FILE_OFFSET_BITS=64 -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -fno-strict-aliasing -Wno-unused-result -DHAVE_SYMVER_ATTRIBUTE -fPIC -pthread -DFUSE_USE_VERSION=317 '-DFUSERMOUNT_DIR="/usr/bin"' -MD -MQ lib/libfuse3.a.p/fuse_signals.c.o -MF lib/libfuse3.a.p/fuse_signals.c.o.d -o lib/libfuse3.a.p/fuse_signals.c.o -c ../lib/fuse_signals.c
containers#8 4.713 ../lib/fuse_signals.c:19:10: fatal error: execinfo.h: No such file or directory
containers#8 4.713    19 | #include <execinfo.h>
containers#8 4.713       |          ^~~~~~~~~~~~
containers#8 4.713 compilation terminated.
containers#8 13.65 ninja: subcommand failed

Use the latest stable version, which is 3.16.2

Signed-off-by: Akihiko Odaki <[email protected]>
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

4 participants