mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #536] Configuration failure on CentOS 7: No package 'fuse' found #305
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#305
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ylluminate on GitHub (Feb 18, 2017).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/536
After successfully compiling libfuse via:
I ended up hitting an error whilst configure'ing
s3fs:Output with error:
@ManjotS commented on GitHub (Mar 10, 2017):
same here
@ggtakec commented on GitHub (Apr 2, 2017):
@ylluminate @ManjotS
Please check the version of fuse in your environment.
If yum installable version is lower than 2.8.4, please install fuse after 2.8.4.
There is explanation in s3fs-wiki.
Alternatively, you can compile and install fuse from the source code.
(you can download it from https://github.com/libfuse/libfuse/releases, but you can not use 3.x.x.)
I'm going to close this isse, but you need more information and problem, please post new issue about it.
Regards,
@ylluminate commented on GitHub (Apr 10, 2017):
@ggtakec this issues is regarding resolving compilation from scratch / source code. Not using the actual package via yum and so there are no versions already installed. This is an attempt to run 3.x instead of 2.x on CentOS.
@ylluminate commented on GitHub (Apr 11, 2017):
An example tutorial that reproduces the same results:
https://www.interserver.net/tips/kb/mount-s3-bucket-centos-ubuntu-using-s3fs/
Note the specific first step regarding CentOS:
yum remove fuse fuse-s3fs@ylluminate commented on GitHub (Apr 11, 2017):
I've updated the results with using the most recent
libfuserelease (3.0.1) andlibfusestill builds properly:Same error whilst configure'ing
s3fs:As noted, there are NO previous
libfusesupport libraries other than 3.0.1 as noted above. Something crazy is happening with regards to the detection of the 3.0.x libfuse library not being detected.Would you like access to a test server to see this reproducible issue that I am seeing on CentOS 7?
@ggtakec commented on GitHub (Apr 30, 2017):
@ylluminate
Maybe, you can find /usr/local/lib/pkgconfig/fuse3.pc and make symbolic link it to /usr/local/lib/pkgconfig/fuse.pc .
Thus you will get no error from configure.
As expected, fuse 3.0 is not supported in s3fs now.
You will receive build errors.
Please try to make symbolic link.
Regards,
@azavrin commented on GitHub (Jun 22, 2017):
I am facing exact same issue.
@azavrin commented on GitHub (Jun 22, 2017):
After createing symlink as suggested above, i get this:
make
make all-recursive
make[1]: Entering directory
/usr/src/s3fs-fuse' Making all in src make[2]: Entering directory/usr/src/s3fs-fuse/src'g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/fuse3 -I/usr/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT s3fs.o -MD -MP -MF .deps/s3fs.Tpo - c -o s3fs.o s3fs.cpp
In file included from /usr/local/include/fuse3/fuse.h:19,
from s3fs.h:26,
from s3fs.cpp:47:
/usr/local/include/fuse3/fuse_common.h:726:4: error: #error only API version 30 or greater is supported
s3fs.cpp: In function âint readdir_multi_head(const char*, S3ObjList&, void*, int ()(void, const char*, const stat*, off_t, fuse_fill_dir_flags))â:
s3fs.cpp:2403: error: too few arguments to function
s3fs.cpp:2406: error: too few arguments to function
s3fs.cpp: In function âint s3fs_readdir(const char*, void*, int ()(void, const char*, const stat*, off_t, fuse_fill_dir_flags), off_t, fuse_file_info*)â:
s3fs.cpp:2434: error: too few arguments to function
s3fs.cpp:2435: error: too few arguments to function
s3fs.cpp: In function âint main(int, char**)â:
s3fs.cpp:4975: error: invalid conversion from âint ()(const char, stat*)â to âint ()(const char, stat*, fuse_file_info*)â
s3fs.cpp:4982: error: invalid conversion from âint ()(const char, const char*)â to âint ()(const char, const char*, unsigned int)â
s3fs.cpp:4985: error: invalid conversion from âint ()(const char, mode_t)â to âint ()(const char, mode_t, fuse_file_info*)â
s3fs.cpp:4986: error: invalid conversion from âint ()(const char, uid_t, gid_t)â to âint ()(const char, uid_t, gid_t, fuse_file_info*)â
s3fs.cpp:4987: error: invalid conversion from âint ()(const char, const timespec*)â to âint ()(const char, const timespec*, fuse_file_info*)â
s3fs.cpp:4989: error: invalid conversion from âint ()(const char, mode_t)â to âint ()(const char, mode_t, fuse_file_info*)â
s3fs.cpp:4990: error: invalid conversion from âint ()(const char, uid_t, gid_t)â to âint ()(const char, uid_t, gid_t, fuse_file_info*)â
s3fs.cpp:4991: error: invalid conversion from âint ()(const char, const timespec*)â to âint ()(const char, const timespec*, fuse_file_info*)â
s3fs.cpp:4993: error: invalid conversion from âint ()(const char, off_t)â to âint ()(const char, off_t, fuse_file_info*)â
s3fs.cpp:5002: error: invalid conversion from âint ()(const char, void*, int ()(void, const char*, const stat*, off_t, fuse_fill_dir_flags), off_t, fuse_fil e_info*)â to âint ()(const char, void*, int ()(void, const char*, const stat*, off_t, fuse_fill_dir_flags), off_t, fuse_file_info*, fuse_readdir_flags)â
s3fs.cpp:5003: error: invalid conversion from âvoid* ()(fuse_conn_info)â to âvoid* ()(fuse_conn_info, fuse_config*)â
make[2]: *** [s3fs.o] Error 1
make[2]: Leaving directory
/usr/src/s3fs-fuse/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/usr/src/s3fs-fuse'make: *** [all] Error 2
@myGod0rz commented on GitHub (Aug 6, 2018):
I got the same error.
No package 'fuse' found
CentOS 7.4.1708 x64
try this:
yum install fuse-devel
fuse-devel-2.9.2-10.el7.x86_64
IT WORKS FOR ME 。
@KES777 commented on GitHub (Nov 14, 2018):
On Ubuntu:
@gerald2545 commented on GitHub (Nov 27, 2018):
on centos7, same symptoms
have to install fuse-dev, libxml2-devel and libcurl-devel for the configure to succeed
thank you for the tip
@jerry123je commented on GitHub (Oct 16, 2019):
on AmazonLinux2, yum install fuse-devel save the day!
@harunsah commented on GitHub (Dec 27, 2019):
sudo apt-get install libssl-dev
sudo apt install libfuse-dev
these two package resolved for ubuntu 18.04.
@raqueldias commented on GitHub (Jun 23, 2020):
In CentOS 6, this worked for me:
yum install fuse-devel.i686 fuse-devel.x86_64 fuse-libs.x86_64 fuse-libs.i686Then configure step passed:
@ml-and-ml commented on GitHub (Nov 27, 2021):
true king. works
@kparmar-winfo commented on GitHub (Jun 18, 2024):
I got the same issue while configuring s3fs latest version. (OS Release: Oracle Linux 7.9)
Just tried executing
yum install fuse-dev libxml2-devel libcurl-develand it worked for me.Thanks,
Karan Parmar.