代码艺术家
Code artist

很喜欢释迦牟尼佛的一句话:“无论你遇见谁,他都是你生命该出现的人,绝非偶然,他一定教会你一些什么”。

有问题 问我 问Google

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

一:./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检查编译环境需要的工具安装是否齐全。


(图一)
如图2:make之后(小提示make -j2 表示两个处理器同时去编译,加快速度哦)

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

                                                          (图二)

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

 

posted @ 2015-08-14 15:24  Jason‘  阅读(2214)  评论(0编辑  收藏  举报