#paxos的一般编译流程在项目文档<中文详细编译手册>里面已经有介绍,这里重点介绍一下编译samples目录下的代码: #我的环境是ubuntu; #设置paxos根目录 phx_dir=~/code/tencent/phxpaxos/ #编译leveldb cd $phx_dir/third_party/leveldb make mkdir lib cd lib ln -s ../libleveldb.a libleveldb.a #编译protobuf cd $phx_dir/third…
刚下载一个开源项目源码,用maven编译发现报错: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin::enforce (enforce-versions) on project spark-parent_2.: Some Enforcer rules have failed. Look above ] [ERROR] [ERROR] To see the full stack trace…