configure: error: Package requirements (fuse >= 2.8.4 libcurl >= 7.0 libxml-2.0 >= 2.6 libcrypto >= 0.9) were not met:
heximal said:What should I do now?
# kldload fuse.ko
heximal said:I've installed fusefs-kmod.
It installed fuse.ko module and s3f3.
But now there appear another problem. In the output of kldstat command i see no fuse.ko.
I tried to load it manually with
# kldload fuse.ko
but it generated an error "Operation not permitted".
I've added fuse_enable=YES to the rc.conf but still getting the error "Operation not permitted" when trying to load fuse module.
In order to automatically load the fuse module on startup, you need to:
- Add fusefs_enable="YES" to your /etc/rc.conf.
- Run "/usr/local/etc/rc.d/fusefs start" (for the first time).
Set "sysctl vfs.usermount=1" if you want to be able to mount fuse devices as
an ordinary user.
Now fuse filesystems (sysutils/fusefs-*) can be mounted at startup from
/etc/fstab with the "late" parameter. This requires a symlink in /usr/sbin
named "mount_<fstype>", which is not created by all the fusefs ports.
Note that the rc.d script will unmount all fuse filesystems when called with
"stop" (in reverse order in case of nested mounts), so it can unload the
kernel module.
server:~ root# kldstat
Id Refs Address Size Name
1 26 0xc0400000 c2b6b8 kernel
2 1 0xc102c000 9970 aio.ko
3 1 0xc1036000 c108 ahci.ko
4 1 0xc6333000 139000 zfs.ko
5 1 0xc646c000 3000 opensolaris.ko
6 1 0xc6e77000 4000 ng_socket.ko
7 2 0xc6e7b000 b000 netgraph.ko
8 1 0xc6ef6000 4000 ng_mppc.ko
9 1 0xc6efa000 2000 rc4.ko
10 1 0xd58ce000 e000 fuse.ko
The usage of s3fs can be found at http://code.google.com/p/s3fs/wiki/FuseOverAmazon if you want to understand it.
# sysctl vfs.usermount=1
vfs.usermount: 0
sysctl: vfs.usermount: Operation not permitted
# /usr/local/etc/rc.d/fusefs start
heximal said:yes, i've install fusefs from ports.
now i've done all the process you've described.
and after all
# sysctl vfs.usermount=1
finishes witherrorCode:vfs.usermount: 0 sysctl: vfs.usermount: Operation not permitted
the same for
# /usr/local/etc/rc.d/fusefs start
fusefs_enable="YES" is added to /etc/rc.conf
I have no idea anymore. So does not the Google ((
heximal said:no, everything was done with the root credentials (logged in as root).
may it be connected with the fact that FreeBSD is running in virtual environment? I forgot to mention that I was trying to do all of this on VPS.
server:~ rolf$ sysctl vfs.usermount=1
vfs.usermount: 0
sysctl: vfs.usermount: Operation not permitted
server:~ root# sysctl vfs.usermount=1
vfs.usermount: 0 -> 1
id
server:~ root# id
uid=0(root) gid=0(wheel) groups=0(wheel),5(operator)
shutdown -r now
heximal said:I forgot to mention that I was trying to do all of this on VPS.