青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

colorful

zc qq:1337220912

 

安裝postgresql 出現readline錯誤

http://blog.csdn.net/shutfuckingup/article/details/8532752

1 環境信息
OS: CentOS release 5.2(Final)
PG: postgresql-9.0.0]

2 根據提示,我測試了下 configre命令,果然報這個錯
[root@HK81-107postgresql-9.0.0]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking which template to use... linux
checking whether to build with 64-bit integer date/time support...yes
checking whether NLS is wanted... no
checking for default port number... 5432
checking for block size... 8kB
checking for segment size... 1GB
checking for WAL block size... 8kB
checking for WAL segment size... 16MB
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking if gcc supports -Wdeclaration-after-statement...yes
checking if gcc supports -Wendif-labels... yes
checking if gcc supports -fno-strict-aliasing... yes
checking if gcc supports -fwrapv... yes
checking whether the C compiler still works... yes
checking how to run the C preprocessor... gcc -E
checking allow thread-safe client libraries... yes
checking whether to build with Tcl... no
checking whether to build Perl modules... no
checking whether to build Python modules... no
checking whether to build with GSSAPI support... no
checking whether to build with Kerberos 5 support... no
checking whether to build with PAM support... no
checking whether to build with LDAP support... no
checking whether to build with Bonjour support... no
checking whether to build with OpenSSL support... no
checking for grep that handles long lines and -e.../bin/grep
checking for egrep... /bin/grep -E
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for ranlib... ranlib
checking for strip... strip
checking whether it is possible to strip libraries... yes
checking for ar... ar
checking for tar... /bin/tar
checking whether ln -s works... yes
checking for gawk... gawk
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for bison... no
configure: WARNING:
*** Without Bison you will not be able to build PostgreSQL from CVSnor
*** change any of the parser definition files. You can obtain Bison from
*** a GNU mirror site.  (If you are using theofficial distribution of
*** PostgreSQL then you do not need to worry about this, becausethe Bison
*** output is pre-generated.)
checking for flex... no
configure: WARNING:
*** Without Flex you will not be able to build PostgreSQL from CVSnor
*** change any of the scanner definition files. You can obtain Flex from
*** a GNU mirror site.  (If you are using theofficial distribution of
*** PostgreSQL then you do not need to worry about this because theFlex
*** output is pre-generated.)
checking for perl... /usr/bin/perl
configure: using perl 5.8.8
checking for main in -lm... yes
checking for library containing setproctitle... no
checking for library containing dlopen... -ldl
checking for library containing socket... none required
checking for library containing shl_load... no
checking for library containing getopt_long... nonerequired
checking for library containing crypt... -lcrypt
checking for library containing fdatasync... nonerequired
checking for library containing gethostbyname_r... nonerequired
checking for library containing shmget... none required
checking for -lreadline... no
checking for -ledit... no
configure: error: readline library notfound
If you have readline already installed, see config.log for detailson the
failure.  It is possible the compiler isnt lookingin the proper directory.
Use --without-readline to disable readlinesupport.

    根據提示,應該是沒有安裝 readline包。

3 檢查系統是否安裝 readline 包
[root@HK81-107postgresql-9.0.0]# rpm -qa | grep readline
readline-5.1-3.el5

   說明系統已經安裝了 readline包。

4 通過 yum 搜索相關的readline 包
[root@HK81-107postgresql-9.0.0]# yum search readline
lftp.i386 : A sophisticated file transfer program
lftp.i386 : A sophisticated file transfer program
php-readline.i386 : Standard PHP module provides readline librarysupport
lftp.i386 : A sophisticated file transfer program
readline.i386 : A library for editing typed commandlines.
compat-readline43.i386 : The readline 4.3 library for compatibilitywith older software.
readline-devel.i386 : Files needed to develop programs which usethe readline library.
readline.i386 : A library for editing typed command lines.

 根據提示,有一個包引起了我的注意 "readline-devel",猜想可能與這個包有關。
 
5 安裝 readline-devel 包
[root@HK81-107postgresql-9.0.0]# yum -y install -y readline-devel
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package readline-devel.i386 0:5.1-3.el5 set tobe updated
--> Processing Dependency: libtermcap-devel forpackage: readline-devel
--> Running transaction check
---> Package libtermcap-devel.i386 0:2.0.8-46.1 setto be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
 Package                Arch      Version         Repository       Size 
=============================================================================
Installing:
 readline-devel         i386      5.1-3.el5       base             146 k
Installing for dependencies:
 libtermcap-devel       i386      2.0.8-46.1      base              56 k

Transaction Summary
=============================================================================
Install     2Package(s)         
Update      0Package(s)         
Remove      0Package(s)        

Total download size: 201 k
Downloading Packages:
(1/2): libtermcap-devel-2 100%|=========================|  56kB   00:00     
(2/2): readline-devel-5.1 100% |=========================| 146kB   00:00     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing:libtermcap-devel            ######################### [1/2] 
  Installing:readline-devel              ######################### [2/2]

Installed: readline-devel.i386 0:5.1-3.el5
Dependency Installed: libtermcap-devel.i386 0:2.0.8-46.1
Complete!

6 再次執行 configure 成功。

7 關于 readline 的解釋,來自官網
--without-readline
Prevents use of the Readline library (and libedit as well). Thisoption disables command-line 
editing and  history in psql, so it is notrecommended.

   說明: 根據步驟2 執行 configure時報錯提示,可以加上 "--without-readline" 從而避開這個ERROR,
但Postgresql官方不推薦這么做,所以還是安裝吧。

posted on 2013-07-11 20:58 多彩人生 閱讀(3724) 評論(0)  編輯 收藏 引用 所屬分類: postgresql

導航

統計

常用鏈接

留言簿(3)

隨筆分類

隨筆檔案

搜索

最新評論

閱讀排行榜

評論排行榜

青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            国产午夜精品久久久久久免费视| av成人黄色| 制服丝袜激情欧洲亚洲| 亚洲伦理中文字幕| 一个人看的www久久| 亚洲欧美视频在线观看| 久久精品人人爽| 欧美成人黄色小视频| 亚洲第一区色| 夜夜嗨av一区二区三区| 午夜精品久久久久| 免费成人黄色av| 欧美日韩视频专区在线播放| 欧美色欧美亚洲另类七区| 国产老肥熟一区二区三区| 一区福利视频| 一区二区三区免费看| 欧美一区二区三区精品电影| 麻豆乱码国产一区二区三区| 亚洲精品久久久久中文字幕欢迎你| 一区二区三区高清在线| 久久国产夜色精品鲁鲁99| 欧美日韩精品综合在线| 国模叶桐国产精品一区| 99re66热这里只有精品4| 欧美一区激情视频在线观看| 欧美 日韩 国产在线| 亚洲综合社区| 欧美激情一区二区三区不卡| 国产日本欧美一区二区| 日韩午夜电影av| 久久久亚洲国产美女国产盗摄| 亚洲精品久久久久久久久久久| 久久精品日韩欧美| 欧美三级电影网| 亚洲欧洲日韩综合二区| 性欧美办公室18xxxxhd| 亚洲欧洲日韩在线| 久久婷婷国产综合精品青草| 国产精品网曝门| 亚洲午夜激情网站| 亚洲国产精品久久人人爱蜜臀 | 尤妮丝一区二区裸体视频| 亚洲视频中文| 亚洲国内精品在线| 卡一卡二国产精品| 国内精品视频在线播放| 午夜欧美不卡精品aaaaa| 99国产欧美久久久精品| 欧美精品videossex性护士| 在线观看视频亚洲| 久久一区中文字幕| 欧美在线一区二区| 国产欧美日韩精品在线| 翔田千里一区二区| 亚洲激情网站免费观看| 久久久噜久噜久久综合| 欧美国产精品久久| 亚洲国产日韩欧美一区二区三区| 久久免费黄色| 久久激情久久| 韩国成人理伦片免费播放| 久久精品夜夜夜夜久久| 欧美一区二区三区日韩视频| 国产日韩欧美一区二区三区在线观看 | 欧美日韩国产首页| 日韩写真在线| 99精品欧美一区二区三区综合在线| 欧美人与性动交cc0o| 在线亚洲高清视频| 亚洲一区二区免费| 国内精品久久久久影院薰衣草| 久久在线免费观看视频| 农夫在线精品视频免费观看| 99伊人成综合| 亚洲视频图片小说| 国产性天天综合网| 欧美成人免费在线视频| 欧美久久久久中文字幕| 亚洲伊人观看| 久久精品视频在线免费观看| 亚洲开发第一视频在线播放| 在线亚洲成人| 一区二区三区无毛| 亚洲日本电影| 国产一区二区精品久久91| 欧美国产精品劲爆| 欧美性大战xxxxx久久久| 久久久久久成人| 欧美精品在欧美一区二区少妇| 亚洲欧美综合网| 久久亚洲二区| 午夜精品久久久久久久99热浪潮| 久久精品在线| 亚洲尤物精选| 蜜臀av性久久久久蜜臀aⅴ四虎| 亚洲午夜电影在线观看| 久久精品一区二区三区四区| 中文亚洲视频在线| 久久精品亚洲精品| 亚洲一区二区在| 欧美成人官网二区| 久久精品一区二区| 欧美深夜影院| 亚洲成人自拍视频| 黑人巨大精品欧美一区二区小视频 | 中文亚洲字幕| 亚洲国内高清视频| 性久久久久久久| 亚洲一区影院| 午夜精品在线看| 欧美在线高清视频| 麻豆91精品91久久久的内涵| 亚洲欧美久久久| 欧美+日本+国产+在线a∨观看| 欧美一区二区三区在线| 欧美激情一区二区三区在线视频| 久久久综合免费视频| 国产精品呻吟| 亚洲天堂免费观看| 一区二区日韩欧美| 欧美bbbxxxxx| 老牛影视一区二区三区| 国产丝袜一区二区| 亚洲免费一在线| 午夜久久久久久| 国产精品久久久久久久久久直播 | 在线观看国产日韩| 午夜国产精品视频| 午夜精品久久久久久久| 欧美亚男人的天堂| 夜夜嗨一区二区三区| 一区二区日韩| 欧美揉bbbbb揉bbbbb| 亚洲美女毛片| 亚洲影音一区| 欧美午夜免费电影| 一区二区三区精品久久久| 亚洲免费在线观看视频| 国产精品伦一区| 亚洲欧美三级伦理| 久久九九有精品国产23| 狠狠色综合色综合网络| 久久综合网hezyo| 亚洲国产高清一区| 99精品免费视频| 欧美性生交xxxxx久久久| 亚洲在线观看免费| 久久人人97超碰人人澡爱香蕉| 激情久久久久久久久久久久久久久久| 久久国产免费看| 亚洲国产精品一区| 亚洲综合成人婷婷小说| 国产亚洲欧美日韩美女| 久久婷婷激情| 日韩亚洲精品电影| 欧美在线亚洲一区| 在线欧美日韩| 欧美日韩精品三区| 亚洲欧美视频在线观看视频| 久久婷婷蜜乳一本欲蜜臀| 亚洲欧洲日韩综合二区| 国产精品igao视频网网址不卡日韩| 亚洲制服av| 欧美.www| 这里只有精品视频在线| 国产日韩欧美综合一区| 免费永久网站黄欧美| 亚洲视频在线观看免费| 免费看av成人| 亚洲欧美国产视频| 怡红院精品视频| 欧美日韩一区二区在线播放| 久久精品成人一区二区三区蜜臀| 亚洲国产精品成人综合| 亚洲欧美成人精品| 1000部精品久久久久久久久| 欧美日韩另类一区| 日韩小视频在线观看| 亚洲精品免费在线| 亚洲一级在线观看| 在线观看一区二区精品视频| 欧美午夜女人视频在线| 久久久视频精品| 国产精品99久久99久久久二8| 美女黄网久久| 先锋资源久久| 亚洲小视频在线观看| 亚洲国产经典视频| 国产亚洲一二三区| 国产精品成人av性教育| 免费亚洲网站| 久久亚裔精品欧美| 久久福利一区| 欧美在线免费看| 亚洲欧美久久久| 亚洲一二三级电影| 一区二区欧美视频| 一道本一区二区| 一本大道久久精品懂色aⅴ|