Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译安装报错:fatal error: paxos.h: No such file or directory #37

Closed
ThinkBlue1991 opened this issue Jun 7, 2021 · 3 comments
Closed

Comments

@ThinkBlue1991
Copy link

环境:centos 7.6.1810
问题:编译安装执行 ./onekey.sh all时,报错如下:

/home/polardb/PolarDB-for-PostgreSQL-master/src/backend/polar_dma/libconsensus/polar_wrapper/polar_consensus_log.cc:21:19: fatal error: paxos.h: No such file or directory
 #include "paxos.h"
@ghost
Copy link

ghost commented Jun 7, 2021

环境:centos 7.6.1810
问题:编译安装执行 ./onekey.sh all时,报错如下:

/home/polardb/PolarDB-for-PostgreSQL-master/src/backend/polar_dma/libconsensus/polar_wrapper/polar_consensus_log.cc:21:19: fatal error: paxos.h: No such file or directory
 #include "paxos.h"

The script for the project was very badly written, and I looked at the project, It should first compile for here. Generating the corresponding xxx.h file and should be copied to some path, I'm still looking for the problem, the mindset exploded!

A lot of files, like easy_log.h, if you don't compile here, you won't get these files.

You should copy the files of the path 'consensus/include' to the path libconsensus/polar_wrapper/include.

But other errors will be found :) :-)

I choose to wait...

@mengborong
Copy link

@EthanDBer you can pull latest code. And just run build.sh in source code directory. If you get some errors, please post it here.

@ThinkBlue1991
Copy link
Author

latest code has fixed the bug, Closed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants