Huawei / dockyard

Container & Artifact Repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

librados.h file not found

deejanu opened this issue · comments

No luck with build. Getting rados error:

make
go build -tags "" -o dockyard .

github.com/ceph/go-ceph/rados

Godeps/_workspace/src/github.com/ceph/go-ceph/rados/conn.go:5:11: fatal error: 'rados/librados.h' file not found
#include <rados/librados.h>
^
1 error generated.
make: *** [all] Error 2

commented

Hi @deejanu, RADOS distributed object store client library should be install in your working system if you want to use ceph as object store service.

@deejanu what system are you running this on? if ubuntu, installing the librados-dev should get you past your dependency issue.

commented

@v1k0d3n How would we get past this on a Mac workstation?

@kaiprt personally, i am not trying to build this directly in OSX because I am not planning on running the container registry on OSX as a desired end state.

Ok. I installed librados-dev and was able to move forward. Can somebody explain what dependencies Dockyard has? I installed MySQL and now got stuck with Ceph installation. My understanding it requires Ceph. I tried to follow "simple" 5 steps to try Dockyard...