libopenstorage / openstorage

A multi-host clustered implementation of the open storage specification
Apache License 2.0
525 stars 118 forks source link

fuse.h missing? #105

Closed bufdev closed 8 years ago

bufdev commented 8 years ago
 github.com/libopenstorage/openstorage/graph/drivers/unionfs
graph/drivers/unionfs/unionfs.c:18:18: fatal error: fuse.h: No such file or directory
 #include <fuse.h>
                  ^
compilation terminated.

This happens in both make test and make docker-test. I tried sudo apt-get install unionfs-fuse but that did not help.

bufdev commented 8 years ago

ping - I don't see this anymore, but I see:

$ HAVE_UNIONFS=1 make build
go build -tags "daemon btrfs_noversion have_btrfs have_unionfs"  github.com/libopenstorage/openstorage/api github.com/libopenstorage/openstorage/api/client github.com/libopenstorage/openstorage/api/server github.com/libopenstorage/openstorage/cli github.com/libopenstorage/openstorage/cluster github.com/libopenstorage/openstorage/cmd/osd github.com/libopenstorage/openstorage/config github.com/libopenstorage/openstorage/graph github.com/libopenstorage/openstorage/graph/drivers github.com/libopenstorage/openstorage/graph/drivers/layer0 github.com/libopenstorage/openstorage/graph/drivers/proxy github.com/libopenstorage/openstorage/graph/drivers/unionfs github.com/libopenstorage/openstorage/pkg/chaos github.com/libopenstorage/openstorage/pkg/device github.com/libopenstorage/openstorage/pkg/mount github.com/libopenstorage/openstorage/pkg/seed github.com/libopenstorage/openstorage/pkg/stats github.com/libopenstorage/openstorage/volume github.com/libopenstorage/openstorage/volume/drivers github.com/libopenstorage/openstorage/volume/drivers/aws github.com/libopenstorage/openstorage/volume/drivers/btrfs github.com/libopenstorage/openstorage/volume/drivers/buse github.com/libopenstorage/openstorage/volume/drivers/common github.com/libopenstorage/openstorage/volume/drivers/fuse github.com/libopenstorage/openstorage/volume/drivers/nfs github.com/libopenstorage/openstorage/volume/drivers/pwx github.com/libopenstorage/openstorage/volume/drivers/test github.com/libopenstorage/openstorage/volume/drivers/vfs
# github.com/libopenstorage/openstorage/graph/drivers/unionfs
/usr/bin/ld: cannot find -lfuse
/usr/bin/ld: cannot find -lulockmgr
collect2: error: ld returned 1 exit status
make: *** [build] Error 2
gourao commented 8 years ago

What do you recommend? We need a way to build this when fuse is available.

On Sun, Jan 3, 2016 at 10:52 AM, Peter Edge notifications@github.com wrote:

ping - I don't see this anymore, but I see:

$ HAVE_UNIONFS=1 make build go build -tags "daemon btrfs_noversion have_btrfs have_unionfs" github.com/libopenstorage/openstorage/api github.com/libopenstorage/openstorage/api/client github.com/libopenstorage/openstorage/api/server github.com/libopenstorage/openstorage/cli github.com/libopenstorage/openstorage/cluster github.com/libopenstorage/openstorage/cmd/osd github.com/libopenstorage/openstorage/config github.com/libopenstorage/openstorage/graph github.com/libopenstorage/openstorage/graph/drivers github.com/libopenstorage/openstorage/graph/drivers/layer0 github.com/libopenstorage/openstorage/graph/drivers/proxy github.com/libopenstorage/openstorage/graph/drivers/unionfs github.com/libopenstorage/openstorage/pkg/chaos github.com/libopenstorage/openstorage/pkg/device github.com/libopenstorage/openstorage/pkg/mount github.com/libopenstorage/openstorage/pkg/seed github.com/libopenstorage/openstorage/pkg/stats github.com/libopenstorage/openstorage/volume github.com/libopenstorage/openstorage/volume/dri vers git hub.com/libopenstorage/openstorage/volume/drivers/aws github.com/libopenstorage/openstorage/volume/drivers/btrfs github.com/libopenstorage/openstorage/volume/drivers/buse github.com/libopenstorage/openstorage/volume/drivers/common github.com/libopenstorage/openstorage/volume/drivers/fuse github.com/libopenstorage/openstorage/volume/drivers/nfs github.com/libopenstorage/openstorage/volume/drivers/pwx github.com/libopenstorage/openstorage/volume/drivers/test github.com/libopenstorage/openstorage/volume/drivers/vfs

github.com/libopenstorage/openstorage/graph/drivers/unionfs

/usr/bin/ld http://github.com/libopenstorage/openstorage/graph/drivers/unionfs/usr/bin/ld: cannot find -lfuse /usr/bin/ld: cannot find -lulockmgr collect2: error: ld returned 1 exit status make: *\ [build] Error 2

— Reply to this email directly or view it on GitHub https://github.com/libopenstorage/openstorage/issues/105#issuecomment-168528323 .

bufdev commented 8 years ago

How do you set this up to not break? I have fuse available on my machine

jvinod commented 8 years ago

C files moved to a separate repo. Don't use HAVE_CHAINFS till it moves out of experimental