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

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>
            亚洲欧美成aⅴ人在线观看| 欧美在线播放高清精品| 亚洲精品乱码久久久久久日本蜜臀 | 欧美日韩精品一区二区天天拍小说| 一区二区三区在线观看国产| 久久免费的精品国产v∧| 久久久一区二区| 亚洲在线观看视频网站| 久久精品论坛| 亚洲视频一区在线| 久久久www成人免费毛片麻豆| 在线精品视频在线观看高清 | 欧美成人69| 欧美日韩日本视频| 久久阴道视频| 国产精品久久久久久av福利软件| 久久精品导航| 国产精品久久国产三级国电话系列| 久久国产精品99精品国产| 欧美激情国产日韩精品一区18| 久久国产黑丝| 欧美日韩一区在线播放| 亚洲国产欧美一区二区三区同亚洲 | 国产精品久在线观看| 亚洲伦理网站| 亚洲女同性videos| 欧美日韩一二三区| 亚洲精品色图| 欧美一区二区三区四区夜夜大片| 欧美国产一区在线| 亚洲午夜羞羞片| 亚洲欧洲av一区二区三区久久| 欧美日韩在线视频首页| 一区二区91| 久久一区国产| 今天的高清视频免费播放成人| 亚洲欧美久久久久一区二区三区| 亚洲综合国产| 黄色成人在线| 欧美日韩国产区| 欧美一区二区在线观看| 欧美国产高潮xxxx1819| 亚洲午夜久久久| 一区二区三区在线视频播放| 麻豆精品在线视频| 午夜一区在线| 99国产精品视频免费观看一公开| 先锋影音网一区二区| 亚洲免费播放| 国产综合色一区二区三区| 欧美日韩精品高清| 久久亚洲精品视频| 欧美一区二区三区视频免费播放| 欧美成人tv| 久久综合五月天婷婷伊人| 亚洲国产另类久久久精品极度| 国产日韩欧美精品一区| 欧美激情一区二区三区成人| 久久久久久久综合| 亚洲综合精品| 欧美一级理论性理论a| 亚洲视频每日更新| 亚洲免费在线观看视频| 99riav1国产精品视频| 亚洲人成精品久久久久| 亚洲高清中文字幕| 亚洲欧洲精品一区二区精品久久久| 欧美在线999| 麻豆精品视频| 欧美激情欧美激情在线五月| 亚洲电影视频在线| 亚洲欧洲精品一区二区| 日韩视频一区二区三区在线播放免费观看 | 久久久久一区二区三区| 欧美freesex8一10精品| 欧美激情第8页| 欧美婷婷久久| 狠狠爱www人成狠狠爱综合网| 极品少妇一区二区三区| 亚洲毛片在线| 日韩一级免费| 亚洲直播在线一区| 免费成人av在线| 一本色道**综合亚洲精品蜜桃冫| 亚洲男人第一网站| 欧美成人69av| 国产一区二区丝袜高跟鞋图片| 禁断一区二区三区在线| 午夜欧美电影在线观看| 亚洲电影天堂av| 久久精品九九| 国产欧美韩国高清| 99爱精品视频| 亚洲黄色三级| 免费成人网www| 国产精品视频免费在线观看| 国产精品亚洲综合一区在线观看| 亚洲黄色在线观看| 免费成人高清在线视频| 欧美88av| 国产一区二区三区黄视频| 亚洲欧美在线看| 欧美一区二区三区在线看| 久久久久成人精品免费播放动漫| 日韩一区二区电影网| 国产一区日韩一区| 99精品国产一区二区青青牛奶| av成人免费| 欧美亚洲综合在线| 久久婷婷久久| 日韩视频在线免费观看| 欧美国产日韩一区二区三区| 91久久夜色精品国产九色| 亚洲视频免费看| 欧美大片免费久久精品三p | 日韩网站免费观看| 亚洲日韩中文字幕在线播放| 欧美在线一二三区| 亚洲视频在线播放| 免费成人高清| 久久精品1区| 亚洲一区欧美激情| 亚洲茄子视频| 狠狠v欧美v日韩v亚洲ⅴ| 欧美三日本三级三级在线播放| 欧美成人按摩| 久久精品中文字幕免费mv| 99re在线精品| 亚洲国产专区校园欧美| 午夜免费久久久久| 亚洲一区二区三区四区中文| 亚洲精品婷婷| 91久久精品国产91性色| 狠狠色综合网站久久久久久久| 国产精品一国产精品k频道56| 欧美日本国产视频| 美女在线一区二区| 久久综合激情| 午夜精品区一区二区三| 欧美亚洲自偷自偷| 亚洲欧美日韩成人| 性色av一区二区三区在线观看| 亚洲桃色在线一区| 亚洲图片欧美一区| 一本久道久久久| 亚洲免费小视频| 亚洲欧洲99久久| 欧美一区亚洲二区| 午夜精品久久久久久久99热浪潮 | 91久久在线| 亚洲黄色av| 亚洲第一精品夜夜躁人人爽| 在线观看视频一区二区| 1024成人| 在线免费观看日本欧美| 亚洲精品免费网站| 一本色道久久综合精品竹菊| 99av国产精品欲麻豆| 亚洲精品少妇30p| 亚洲狼人精品一区二区三区| 亚洲国产精品一区二区www| 亚洲精品婷婷| 欧美亚洲日本网站| 午夜亚洲福利在线老司机| 性欧美大战久久久久久久免费观看| 亚洲一区在线免费观看| 久久久久久久国产| 欧美激情一二三区| 99精品国产在热久久下载| 校园春色国产精品| 欧美成年人视频| 国产精品永久免费视频| 亚洲激情第一区| 午夜视频一区| 欧美激情一区二区三区成人| 一本在线高清不卡dvd| 久久激情中文| 欧美视频在线一区| 国内精品国产成人| 一区二区欧美激情| 久久米奇亚洲| 一区二区三区久久网| 久久久成人精品| 国产精品色婷婷| 日韩香蕉视频| 久久日韩粉嫩一区二区三区| 亚洲黄页一区| 久久精品一本| 国产精品乱子乱xxxx| 亚洲欧洲日产国产网站| 欧美一区二区三区免费观看视频| 亚洲黄色成人| 亚洲欧美国产日韩天堂区| 免费在线播放第一区高清av| 国产欧美日韩激情| 亚洲一区精彩视频| 欧美高清在线视频| 亚洲欧美成人网| 欧美日韩精品欧美日韩精品| 国产欧美日韩一区|