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

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一区二区| 亚洲国产高潮在线观看| 国产在线不卡视频| 精品51国产黑色丝袜高跟鞋| 国产一区二区三区久久 | 亚洲综合第一| 欧美一区二区三区免费视频| 久久国产主播精品| 欧美黄色免费网站| 9i看片成人免费高清| 亚洲一区综合| 久热精品视频在线观看| 欧美激情视频一区二区三区在线播放| 欧美日韩免费高清| 国产一级精品aaaaa看| 在线精品视频一区二区三四| 99精品国产一区二区青青牛奶| 中文一区字幕| 免费永久网站黄欧美| 99riav久久精品riav| 欧美一区二视频在线免费观看| 蜜乳av另类精品一区二区| 欧美午夜www高清视频| 一区二区三区日韩| 久久成人亚洲| 国产精品久久9| 最近看过的日韩成人| 午夜一级久久| 亚洲日本中文字幕| 欧美亚洲免费| 国产精品久久久久久户外露出| 精品不卡视频| 欧美一区在线直播| 一区二区精品| 欧美精品色一区二区三区| 国际精品欧美精品| 久久成人国产精品| 一区二区三区免费看| 欧美成人午夜影院| 在线日韩欧美视频| 久久精品亚洲精品| 亚洲欧美一区二区三区久久| 欧美理论视频| 99国产精品99久久久久久粉嫩| 老色鬼精品视频在线观看播放| 中文av一区二区| 欧美日韩国内| 一本久久精品一区二区| 欧美激情中文不卡| 久久欧美肥婆一二区| 狠色狠色综合久久| 久久久久一区二区| 欧美在线日韩| 狠狠入ady亚洲精品经典电影| 欧美一级一区| 欧美一级黄色网| 国产日韩欧美在线| 久久国产精品久久久久久| 亚洲图片你懂的| 国产精品美女久久久久久免费| 亚洲小说欧美另类社区| 99亚洲一区二区| 国产精品久久久| 性色av一区二区三区在线观看| 一区二区三区精品久久久| 欧美性jizz18性欧美| 亚洲女人小视频在线观看| 亚洲午夜极品| 国产一区二区三区网站| 久久只精品国产| 牛夜精品久久久久久久99黑人| 亚洲经典一区| 一区二区91| 国产亚洲欧美日韩日本| 久久久久久久久伊人| 久久综合色综合88| 日韩视频免费观看高清完整版| 亚洲精品乱码久久久久久蜜桃91| 欧美日韩一二三区| 欧美中文字幕在线| 久久中文在线| 亚洲视频网站在线观看| 亚洲字幕在线观看| 在线电影院国产精品| 亚洲欧洲一区二区在线播放| 亚洲黄页视频免费观看| 欧美日韩视频第一区| 午夜在线不卡| 久久网站免费| 亚洲欧美激情视频| 久久亚洲电影| 亚洲少妇一区| 久久婷婷影院| 欧美夜福利tv在线| 欧美成人免费va影院高清| 亚洲性感美女99在线| 久久精品亚洲| 亚洲自拍电影| 欧美成人黑人xx视频免费观看| 亚洲欧美日韩在线观看a三区| 久久久久久婷| 欧美亚洲一区在线| 欧美日韩四区| 欧美激情一区二区三区在线视频 | 日韩一区二区高清| 亚洲视频一二区| 精品动漫3d一区二区三区| 日韩亚洲视频| 亚洲黑丝一区二区| 欧美一区二区私人影院日本| 夜色激情一区二区| 久久久伊人欧美| 欧美一二三区在线观看| 欧美精品二区| 欧美不卡一卡二卡免费版| 国产女主播一区二区三区| 亚洲精品综合久久中文字幕| 在线观看亚洲视频| 欧美一级专区免费大片| 亚洲欧美国产高清va在线播| 欧美成人在线免费视频| 久久久午夜精品| 国产日本欧美一区二区三区| 艳妇臀荡乳欲伦亚洲一区| 最新国产の精品合集bt伙计| 久久精品一级爱片| 久久免费精品日本久久中文字幕| 国产精品vvv| 一本色道久久综合亚洲精品小说| 亚洲国产日韩欧美| 免费欧美电影| 亚洲欧洲一区二区天堂久久| 亚洲精品日韩激情在线电影| 久久亚洲高清| 欧美成人影音| 亚洲精品老司机| 欧美日韩a区| 99这里只有精品| 午夜欧美视频| 国产亚洲精品久久久久久| 香蕉尹人综合在线观看| 久久av红桃一区二区小说| 国产午夜一区二区三区| 久久国产免费| 亚洲电影毛片| 亚洲视频大全| 国产亚洲欧美日韩美女| 久久三级福利| 日韩午夜激情av| 国产一区二区三区久久| 久久国产精品网站| 欧美成人日韩| 亚洲午夜成aⅴ人片| 国产精品久久久久久影视 | 欧美精品少妇一区二区三区| 亚洲精选大片| 久久国产精品99国产| 激情综合色综合久久综合| 欧美大片免费观看| 一区二区三区高清| 久久性色av| 一区二区日韩| 国产在线拍揄自揄视频不卡99| 久久一区二区三区四区五区| 亚洲福利视频免费观看| 亚洲你懂的在线视频| 国产一区二区三区久久悠悠色av| 老色鬼精品视频在线观看播放| 亚洲精品孕妇| 久久久亚洲精品一区二区三区| 亚洲剧情一区二区| 国产欧美在线看| 欧美久久成人| 久久久久久999| 一区二区三区毛片| 农村妇女精品| 欧美在现视频| 日韩一级免费观看| 亚洲成人资源| 国产午夜久久久久| 欧美日韩在线视频一区| 久久大香伊蕉在人线观看热2| 最新69国产成人精品视频免费| 欧美有码在线观看视频| 一区二区三区偷拍| 亚洲国产日韩欧美在线动漫| 国产精品高清在线观看| 欧美黄色大片网站| 久久天堂av综合合色| 午夜精品一区二区三区电影天堂| 亚洲国产你懂的| 蜜桃久久精品乱码一区二区| 香蕉成人啪国产精品视频综合网| 亚洲精品免费网站| 136国产福利精品导航网址| 国产情人节一区| 国产精品免费一区二区三区观看| 欧美国产日产韩国视频| 久久综合九色综合网站|