PostgreSQL 各种问题汇总_configure: error: file 'tclconfig.sh' is required -程序员宅基地

技术标签: 集群搭建  

PostgreSQL源码安装时候第一步 ./configure

[sql]  view plain   copy
  1. [root]# ./configure --prefix=/usr/local/postgres-9.3.5 --with-perl --with-tcl --with-python --with-openssl --with-pam --without-ldap --with-libxml --with-libxslt --enable-thread-safety --with-wal-blocksize=16 --with-blocksize=16 --enable-dtrace --enable-debug  

[sql]  view plain   copy
  1. 问题1:  
  2. checking for dtrace... no  
  3. configure: error: dtrace not found  
  4. 解决方法:  
  5. yum search dtrace  
  6. Loaded plugins: fastestmirror, refresh-packagekit, security  
  7. Loading mirror speeds from cached hostfile  
  8.  * base: mirrors.163.com  
  9.  * extras: mirrors.163.com  
  10.  * updates: mirrors.163.com  
  11. =============================================================================================== Matched: dtrace ===============================================================================================  
  12. systemtap-sdt-devel.i686 : Static probe support tools  
  13. systemtap-sdt-devel.x86_64 : Static probe support tools  
  14.   
  15. 找到了,就安装,我是64位的,安装第二个  
  16. [root@localhost postgresql-9.3.5]# yum install -y systemtap-sdt-devel.x86_64  
[sql]  view plain   copy
  1. 问题2:  
  2. checking for flags to link embedded Perl... Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).  
  3. BEGIN failed--compilation aborted.  
  4. no  
  5. configure: error: could not determine flags for linking embedded Perl.  
  6. This probably means that ExtUtils::Embed or ExtUtils::MakeMaker is not  
  7. installed.  
  8. 解决方法:  
  9. yum install perl-ExtUtils-Embed -y  
[sql]  view plain   copy
  1. 问题3:  
  2. configure: error: could not determine flags for linking embedded Perl.  
  3. This probably means that ExtUtils::Embed or ExtUtils::MakeMaker is not  
  4. installed.  
  5. 解决方法:  
  6. yum install perl-ExtUtils-Embed  
  7.   
  8. 问题4:  
  9. configure: error: readline library not found  
  10. If you have readline already installed, see config.log for details on the  
  11. failure. It is possible the compiler isn't looking in the proper directory.  
  12. Use --without-readline to disable readline support.  
  13.   
  14. 解决方法:  
  15. yum install readline readline-devel  
  16.   
  17. 问题5:  
  18. checking for inflate in -lz... no  
  19. configure: error: zlib library not found  
  20. If you have zlib already installed, see config.log for details on the  
  21. failure. It is possible the compiler isn't looking in the proper directory.  
  22. Use --without-zlib to disable zlib support.  
  23. 解决方法:  
  24. yum install zlib zlib-devel  
  25.   
  26.   
  27. 问题6:  
  28. checking for CRYPTO_new_ex_data in -lcrypto... no  
  29. configure: error: library 'crypto' is required for OpenSSL  
  30. 解决方法:  
  31. yum install openssl openssl-devel  
  32.   
  33. 问题7:  
  34. checking for pam_start in -lpam... no  
  35. configure: error: library 'pam' is required for PAM  
  36. 解决方法:  
  37. yum install pam pam-devel  
  38.   
  39. 问题8:  
  40. checking for xmlSaveToBuffer in -lxml2... no  
  41. configure: error: library 'xml2' (version >= 2.6.23) is required for XML support  
  42. 解决方法:  
  43. yum install libxml2 libxml2-devel  
  44.   
  45. 问题9:  
  46. checking for xsltCleanupGlobals in -lxslt... no  
  47. configure: error: library 'xslt' is required for XSLT support  
  48. 解决方法:  
  49. yum install libxslt libxslt-devel  
  50.   
  51.   
  52. 问题10:  
  53. configure: error: Tcl shell not found  
  54. 解决方法:  
  55. yum install tcl tcl-devel  
  56.   
  57.   
  58. 问题11:  
  59. checking for ldap.h... no  
  60. configure: error: header file is required for LDAP  
  61. 解决方法:  
  62. yum install openldap openldap-devel  
  63.   
  64. 问题12:  
  65. checking for Python.h... no  
  66. configure: error: header file <Python.h> is required for Python  
  67. 解决方法:  
  68. yum install python python-devel  
  69.   
  70. 问题13:  
  71. Error when bootstrapping CMake:  
  72. Cannot find appropriate C++ compiler on this system.  
  73. Please specify one using environment variable CXX.  
  74. See cmake_bootstrap.log for compilers attempted.  
  75. 解决方法:  
  76. yum install gcc-c++  
  77. checking for flags to link embedded Perl... Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
    BEGIN failed--compilation aborted.
    # you are missing some perl libraries
    # install them:
    yum install perl-YAML* -y
    yum install perl-ExtUtils* -y



    checking for library containing readline... no
    configure: error: readline library not found
    If you have readline already installed, see config.log for details on the
    failure.  It is possible the compiler isn't looking in the proper directory.
    Use --without-readline to disable readline support.
    # you are missing readline libraries
    # install them:
    yum install readline* -y



    checking for pam_start in -lpam... no
    configure: error: library 'pam' is required for PAM
    # you are missing pam libraries
    # install them:
    yum install pam-devel -y



    checking for uuid_export in -lossp-uuid... no
    checking for uuid_export in -luuid... no
    configure: error: library 'ossp-uuid' or 'uuid' is required for OSSP-UUID
    # you are missing uuid libraries
    # install them:
    yum install uuid-devel -y



    checking for tclConfig.sh... no
    configure: error: file 'tclConfig.sh' is required for Tcl
    # you are missing tclConfig.sh
    # install it:
    yum install tcl-devel -y



    configure: error: header file <Python.h> is required for Python
    # you are missing Python libraries
    # install them:
    yum install python-devel -y
        
        
         


版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/ma141982/article/details/72875294

智能推荐

一位ORACLE DBA大牛离职时候的过往总结-程序员宅基地

文章浏览阅读3.1k次,点赞9次,收藏26次。 我只是一个很普通的DBA,任职快有4年的时间,即将辞职之际,趁这几天交接工作比较空闲,回顾下自己走过的DBA之路。希望我的经历能够帮助刚毕业的想学数据库的朋友。 在4年前,DBA是我曾经梦想的工作。这几年,我也一直在很享受当初梦想的工作,可以说,我已经做到了我当初想要目标。在这里首先要感谢ITPUB论坛,我也是从这里开始我的DBA之路,这里有很多乐于助人的高手,我也从这论坛中吸收..._中国oracle大牛

非模态对话框和模态对话框_创建_模态对话框与非模态对话框的创建-程序员宅基地

文章浏览阅读6.9k次,点赞2次,收藏13次。一、非模态对话框:创建后,主程序还可以运行。创建步骤如下:1.1先建立一个基本对话框MFC工程,在资源列表添加一个对话框资源1.2将创建的对话框修改名字和ID,比如将ID名为:IDD_TIP_DIALOG 1.3给对话框添加一个类,类名称为:TipDlg。(注意:TipDlg类的基类为CDialog)则在解决方案列表可以看到创建了一个TipDlg.h_模态对话框与非模态对话框的创建

Linux学习笔记-基础篇-文件查找-程序员宅基地

文章浏览阅读827次,点赞16次,收藏19次。本片笔记以Linux文件查找命令find,grep的使用为主要内容,顺带一些WindTrem的快捷键使用方法。

三维重建学习(二)_离焦三维重建-程序员宅基地

文章浏览阅读1.1k次。根据使用的摄像机数目不同,基于视觉的三维重建方法可以分为单目视觉方法、双目视觉方法和多目视觉方法。1.单目视觉方法单目视觉方法是指用一台摄像机进行三维重建的方法。可以使用单视点的单幅或多幅图像,也可以是多视点的多幅图像。其中,前者的结构设备简单,运算量小,但是得到的重建模型不理想;后者可以满足大场景的三维重建方法,但是运算量大。单目视觉方法主要有六种:(1)明暗度法明暗度法就是明暗..._离焦三维重建

makefile学习 (2) —— autotools生成makefile_no proper invocation of am_init_automake was found-程序员宅基地

文章浏览阅读615次。autotools生成makefile利用autotools系列工具可以快速生成makefile,我们输入目标文件,依赖文件,文件目录等信息即可。 我们需要保证有这些工具:aclocal, autoscan, autoconf, autoconf, autoheader, automake. 在安装的时候仅仅需要指令 yum install automake 或 sudo apt-get ins_no proper invocation of am_init_automake was found.

人工智能发展史总结_符号推理时代-程序员宅基地

文章浏览阅读588次。人工智能发展史总结_符号推理时代

随便推点

计算机之机器数,真数,原码,反码,补码-程序员宅基地

文章浏览阅读7k次,点赞2次,收藏9次。机器数一个数在计算机中的表现形式叫做机器数,这个数有正负之分,在计算机中用一个数的最高位(符号位)用来表示它的正负,其中0表示正数,1表示负数。例如正数7,在计算机中用一个8位的二进制数来表示,是00000111,而负数-7,则用10000111表示,这里的00000111和10000111是机器数真数计算机中的机器数对应的真实的值就是真数,对最高位(符号位)后面的二进制数转换成10进制,并根据最高位来确定这个数的正负。对于上面的00000111和10000111来说,对最高位后面._机器数

线程面试题_怎么检测互相等待资源的线程-程序员宅基地

文章浏览阅读394次。不管你是新程序员还是老手,你一定在面试中遇到过有关线程的问题。Java语言一个重要的特点就是内置了对并发的支持,让Java大受企业和程序员的欢迎。大多数待遇丰厚的Java开发职位都要求开发者精通多线程技术并且有丰富的Java程序开发、调试、优化经验,所以线程相关的问题在面试中经常会被提到。在典型的Java面试中, 面试官会从线程的基本概念问起, 如:为什么你需要使用线程, 如何创建线程,用_怎么检测互相等待资源的线程

Uncaught TypeError: vue_router__WEBPACK_IMPORTED_MODULE_1__.default is not a constructor(vue 报错)-程序员宅基地

文章浏览阅读7.3k次。使用webpack构建Vue单页面应用项目,项目运行时,浏览器报“Uncaught TypeError: WEBPACK_IMPORTED_MODULE_2__router.a is not a constructor”,组件中的内容也不能正常显示,to animal也不能正常出现标签的效果。因为./表示当前src目录,目录下并没有router文件,所以webpack会找不到,所以会报错。_vue_router__webpack_imported_module_1__.default is not a constructor

FastDFS的配置、部署与API使用解读(6)FastDFS配置详解之Storage配置-程序员宅基地

文章浏览阅读95次。1 基本配置 disabled #func:该配置文件是否生效#valu:## true:无效## false:生效disabled=false group_name #func;本storage server所属组名group_name=group1 bin..._storage_fun.c, line: 346 in stat file /data/storage_stat.dat item count: 0<1

WSL构建nRF5 SDK + ARM GCC开发环境 – RTT打印调试日志(二)_nrf51422 如何添加rtt打印-程序员宅基地

文章浏览阅读551次。WSL构建nRF5 SDK + ARM GCC开发环境 – RTT打印调试日志(二)_nrf51422 如何添加rtt打印

2018年中国人工智能城市感受力指数报告_2018年城市al智能识别普及率-程序员宅基地

文章浏览阅读480次。 文章发布于公号【数智物语】 (ID:decision_engine),关注公号不错过每一篇干货。 转自 | 艾瑞咨询 研究报告丨工具与技术 全文字数:5973字 精读时间:10分钟 核心摘要: 人工智能发展进入全面落地期,成为城市发展重要支撑;典型城市居民对AI需求度高,居民幸福感与AI感受力正相关;上海、北京、深圳人工智能城市建设发展良..._2018年城市al智能识别普及率