curve icon indicating copy to clipboard operation
curve copied to clipboard

新手:按照编译步骤执行编译报错

Open guzhongyan opened this issue 2 years ago • 10 comments

按照build_and_run文档,一步一步执行docker编译,报如下错: image

能看看如何解决吗

guzhongyan avatar Aug 15 '22 12:08 guzhongyan

make build dep=1 试一下

ilixiaocui avatar Aug 15 '22 12:08 ilixiaocui

@ilixiaocui 按照建议,还是报同样的错。步骤: 1 先拉镜像 docker pull opencurvedocker/curve-base:build-debian9 2 docker内执行: image

3 编译报错: image

帮忙看看哪儿出问题了?

guzhongyan avatar Aug 16 '22 03:08 guzhongyan

try

$ cd curve/thirdparties/etcdclient
$ make all

fansehep avatar Aug 16 '22 07:08 fansehep

谢谢。 继续遇到如下错误: image and this: image

guzhongyan avatar Aug 16 '22 11:08 guzhongyan

谢谢。 继续遇到如下错误: image and this: image

here

$ cd curve/curvefs
$ make dep=1

by the way, Do you want to contribute us or just want to try curve? If you just want to try, the https://github.com/opencurve/curveadm wiki will help you. And It's a good suggest for you to use English express your issue.

fansehep avatar Aug 16 '22 11:08 fansehep

Thanks a lot. I just tried curveadm following the manual, but some cmds do not work: image I will try the left, hope it will work.

guzhongyan avatar Aug 16 '22 12:08 guzhongyan

might be a version mismatch between curveadm and the wiki.

@Wine93, could you help @guzhongyan figure out this problem?

wu-hanqing avatar Aug 16 '22 12:08 wu-hanqing

@guzhongyan 你下载的应该是老版本,但是由于我们今天有段时间在调试文档,你看到的应该是最新的文档,所以导致不匹配了。你可以尝试重新安装 curveadm,并按照文档指引进行部署。

Wine93 avatar Aug 16 '22 12:08 Wine93

谢谢。 继续遇到如下错误: image and this: image

aws-sdk-cpp is a thirdparty module. cmake is needed to build it.

it seems cmake is missing in the image.

run apt install cmake and try again.

h0hmj avatar Aug 17 '22 02:08 h0hmj

hi, could you curvefs guys provide docker-compose file that we can use docker-compose up to run curvefs immediately? @Wine93 @wu-hanqing

201341 avatar Aug 18 '22 03:08 201341

hi, could you curvefs guys provide docker-compose file that we can use docker-compose up to run curvefs immediately? @Wine93 @wu-hanqing

@201341 Maybe curveadm playground can help you, try it:

$ curveadm playground run --kind curvefs --mountpoint /path/to/mount

Wine93 avatar Dec 21 '22 05:12 Wine93

@201341 If there are new questions, please submit the new issue.

ilixiaocui avatar Jan 05 '23 07:01 ilixiaocui