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

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 多彩人生 閱讀(3732) 評論(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>
            一区二区久久久久| 亚洲欧美日韩区| 中日韩美女免费视频网址在线观看| 欧美成人高清| 影音先锋亚洲精品| 久久精品亚洲一区二区三区浴池| 99re热精品| 国产精品乱码久久久久久| 亚欧成人精品| 久久久噜噜噜久久中文字免| 影音先锋亚洲精品| 亚洲欧洲日本国产| 欧美视频精品在线| 久久国产手机看片| 久久综合中文| 亚洲一区区二区| 午夜精品久久久久久| 欧美日韩不卡视频| 亚洲日本免费| 激情综合视频| 激情久久影院| 亚洲人成网站在线播| 国产精品www色诱视频| 欧美影院视频| 欧美激情精品久久久| 亚洲一区免费看| 久久久女女女女999久久| 一本久久青青| 久久国产视频网| 99re6这里只有精品视频在线观看| 中文在线资源观看视频网站免费不卡| 国产日产欧美a一级在线| 久久综合狠狠综合久久综合88 | 国产精品综合色区在线观看| 久久欧美中文字幕| 欧美日韩综合视频| 久热爱精品视频线路一| 欧美日韩视频在线| 欧美国产精品v| 国产一区二区三区在线观看免费| 亚洲国产成人精品久久久国产成人一区 | 欧美激情久久久久| 久久精品成人一区二区三区| 欧美激情精品久久久久久| 久久久成人网| 国产精品久久久久久久久免费| 欧美freesex8一10精品| 国产麻豆日韩欧美久久| 亚洲精品一区二区三| 曰本成人黄色| 亚洲综合社区| 亚洲免费在线视频| 欧美剧在线观看| 亚洲国产精品va在看黑人| 国产一区二区你懂的| 亚洲一区二区三区成人在线视频精品 | 久久爱www.| 午夜欧美大尺度福利影院在线看| 欧美高清影院| 亚洲国产精品电影| 亚洲人线精品午夜| 久久久久久**毛片大全| 久久国产色av| 国产午夜亚洲精品理论片色戒| 亚洲少妇自拍| 亚洲欧美国内爽妇网| 欧美日韩一区二区欧美激情 | 久久午夜电影网| 国产一区二区三区av电影| 亚洲欧美乱综合| 国产日产亚洲精品系列| 国产在线拍揄自揄视频不卡99| 国产日韩精品一区二区浪潮av| 亚洲欧美区自拍先锋| 欧美日韩成人一区二区| 亚洲欧洲综合另类在线| 亚洲人成高清| 欧美美女视频| 亚洲精品中文字幕在线| 亚洲一区二区在线| 国产精品日韩欧美综合 | 亚洲免费人成在线视频观看| 欧美日韩精品在线播放| 一本色道久久综合精品竹菊| 亚洲一区三区在线观看| 国产欧美日韩中文字幕在线| 校园激情久久| 欧美电影在线免费观看网站| 日韩视频在线观看| 国产精品外国| 久久久噜噜噜| 欧美国产日韩一区二区在线观看| 中文国产一区| 国产日韩精品电影| 噜噜爱69成人精品| 亚洲精选一区二区| 久久国产精品久久久| 精品成人一区二区三区四区| 免费日韩精品中文字幕视频在线| 亚洲人成亚洲人成在线观看图片 | 国产精品一区二区三区久久| 欧美尤物巨大精品爽| 欧美激情一区二区三级高清视频 | 欧美喷水视频| 亚洲欧美亚洲| 亚洲激情av| 久久高清国产| 99riav1国产精品视频| 国产精品人人爽人人做我的可爱| 亚洲第一精品福利| 99riav1国产精品视频| 亚洲精品国产精品国产自| 欧美新色视频| 久久精品一区蜜桃臀影院 | 一本色道88久久加勒比精品 | 国产欧美亚洲日本| 欧美大片免费| 欧美一级视频精品观看| 亚洲精品中文字幕在线| 蜜臀av国产精品久久久久| 亚洲欧美日韩在线观看a三区| 亚洲国产1区| 国产一区二区日韩精品欧美精品| 欧美日韩中文在线观看| 久久婷婷国产麻豆91天堂| 午夜日韩视频| 亚洲午夜女主播在线直播| 91久久国产自产拍夜夜嗨| 另类天堂视频在线观看| 久久成人免费视频| 午夜精品久久久久影视 | 激情成人在线视频| 国产精品免费在线| 欧美日韩一区二区三区在线| 久久网站免费| 久久青草欧美一区二区三区| 欧美亚洲网站| 欧美亚洲一级片| 亚洲欧美另类在线| 亚洲主播在线观看| 亚洲影视综合| 午夜精品久久久久久| 亚洲一区二区高清| 亚洲一区精彩视频| 久久综合久久综合这里只有精品 | 亚洲国产精品久久久久秋霞影院| 久久久精品日韩欧美| 午夜宅男久久久| 欧美夜福利tv在线| 久久国产欧美| 久久综合久久综合这里只有精品| 久久精品国产亚洲一区二区| 欧美一区在线直播| 久久国产精彩视频| 欧美一区二区在线免费播放| 欧美一级二级三级蜜桃| 久久精品91| 玖玖国产精品视频| 久久在精品线影院精品国产| 久久综合99re88久久爱| 欧美~级网站不卡| 亚洲第一福利在线观看| 欧美激情一区| av成人动漫| 亚洲午夜免费视频| 翔田千里一区二区| 久久久国产精品一区二区中文| 久久久久久色| 欧美日本在线看| 国产模特精品视频久久久久| 国产精品美女午夜av| 国产欧美日韩在线视频| 好吊色欧美一区二区三区四区 | 久久久久九九视频| 美女露胸一区二区三区| 欧美日韩在线高清| 国产精品一区二区在线| 一区二区亚洲精品国产| 亚洲精品美女在线| 亚洲欧美日韩网| 欧美成人资源| 99精品视频免费全部在线| 中文日韩电影网站| 久久精品视频免费观看| 欧美顶级少妇做爰| 亚洲最新合集| 亚洲黄一区二区| 9色精品在线| 久久爱www| 欧美日韩亚洲一区三区 | 日韩视频中文字幕| 亚洲自拍偷拍色片视频| 另类天堂视频在线观看| 国产精品免费福利| 日韩亚洲综合在线| 久久精彩视频| 亚洲免费福利视频| 久久一区亚洲| 黑人巨大精品欧美一区二区小视频 | 国产欧美日韩在线视频|