一:./configure的时候
1,gcc的处理:sudo apt-get install clang && rvm install 1.9.3 --with-gcc=clang
2,缺少readline libirary :sudo apt-get install libreadline-dev
3,缺少:zlib library:sudo apt-get install zlib1g-dev

二:make的时候
ERROR:`flex' is missing on your system:sudo apt-get install glex
ERROR: `bison' is missing on your system:sudo apt-get install bison.
http://www.postgresql.org/message-id/1402239074775-5806449.post@n5.nabble.com
http://postgresql.nabble.com/bison-flex-and-configure-td5789215.html
然而有时候你安装完之后,make clean之后在make它还是出错,为啥呢,因为它根据./configure检查的结果进行make
帮助外国人看,关键点翻译:translation:however ,after that you had installed the tools,you should retry ./configure before you make it.
所以此时你需要重新./configure一下,我用的linux mint 你安装玩还需要等待一会儿。
如图1:./configure检查编译环境需要的工具安装是否齐全。

新安装的linux(linux mint 或则ubuntu)系统中安装postgresql-xc安装的包
(图一)
如图2:make之后(小提示make -j2 表示两个处理器同时去编译,加快速度哦)

新安装的linux(linux mint 或则ubuntu)系统中安装postgresql-xc安装的包

涂鸦一下,个人隐身,嘿嘿

                                                          (图二)

你看我运行成功了吧。赶快试试吧!

 

相关文章:

  • 2022-12-23
  • 2021-07-23
  • 2021-11-28
  • 2021-09-14
  • 2021-12-03
  • 2021-09-19
  • 2022-01-03
  • 2021-10-11
猜你喜欢
  • 2021-11-09
  • 2022-12-23
  • 2021-11-07
  • 2022-12-23
  • 2022-03-13
  • 2021-06-28
  • 2021-06-06
相关资源
相似解决方案