-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
On a default linux system, without the ceph developer packages installed, the build currently fails:
github.com/ceph/go-ceph/rados/conn.go:5:29: fatal error: rados/librados.h: No such file or directory
// #include <rados/librados.h>
Wouldn't it be better to reverse the build directive in rbd.go from // +build linux,!noceph to // +build linux,ceph so one can choose to explicitly enable the RbdBackend instead?
This is especially annoying if you want to import the nbd code in an external project where this blocks a normal go get installation.
Metadata
Metadata
Assignees
Labels
No labels