zoukankan      html  css  js  c++  java
  • make: pg_config: Command not found

    报错:

    [root@localhost c]# make
    make: pg_config: Command not found
    make: *** No targets.  Stop.
    [root@localhost c]# 

    解决

    [root@localhost c]# yum install postgresql-devel
    Loaded plugins: fastestmirror, refresh-packagekit, security
    Setting up Install Process
    Loading mirror speeds from cached hostfile
     * base: mirrors.btte.net
     * extras: mirrors.zju.edu.cn
     * updates: mirrors.zju.edu.cn
    Resolving Dependencies
    --> Running transaction check
    ---> Package postgresql-devel.x86_64 0:8.4.20-6.el6 will be installed
    --> Processing Dependency: postgresql-libs(x86-64) = 8.4.20-6.el6 for package: postgresql-devel-8.4.20-6.el6.x86_64
    --> Processing Dependency: postgresql(x86-64) = 8.4.20-6.el6 for package: postgresql-devel-8.4.20-6.el6.x86_64
    --> Processing Dependency: libpq.so.5()(64bit) for package: postgresql-devel-8.4.20-6.el6.x86_64
    --> Processing Dependency: libpgtypes.so.3()(64bit) for package: postgresql-devel-8.4.20-6.el6.x86_64
    --> Processing Dependency: libecpg_compat.so.3()(64bit) for package: postgresql-devel-8.4.20-6.el6.x86_64
    --> Processing Dependency: libecpg.so.6()(64bit) for package: postgresql-devel-8.4.20-6.el6.x86_64
    --> Running transaction check
    ---> Package postgresql.x86_64 0:8.4.20-6.el6 will be installed
    ---> Package postgresql-libs.x86_64 0:8.4.20-6.el6 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    =======================================================================================================================================================================
     Package                                       Arch                                Version                                     Repository                         Size
    =======================================================================================================================================================================
    Installing:
     postgresql-devel                              x86_64                              8.4.20-6.el6                                base                              816 k
    Installing for dependencies:
     postgresql                                    x86_64                              8.4.20-6.el6                                base                              2.6 M
     postgresql-libs                               x86_64                              8.4.20-6.el6                                base                              202 k
    
    Transaction Summary
    =======================================================================================================================================================================
    Install       3 Package(s)
    
    Total download size: 3.6 M
    Installed size: 18 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/3): postgresql-8.4.20-6.el6.x86_64.rpm                                                                                                       | 2.6 MB     00:01     
    (2/3): postgresql-devel-8.4.20-6.el6.x86_64.rpm                                                                                                 | 816 kB     00:00     
    (3/3): postgresql-libs-8.4.20-6.el6.x86_64.rpm                                                                                                  | 202 kB     00:00     
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                                                                  2.3 MB/s | 3.6 MB     00:01     
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing : postgresql-libs-8.4.20-6.el6.x86_64                                                                                                                 1/3 
      Installing : postgresql-8.4.20-6.el6.x86_64                                                                                                                      2/3 
      Installing : postgresql-devel-8.4.20-6.el6.x86_64                                                                                                                3/3 
      Verifying  : postgresql-devel-8.4.20-6.el6.x86_64                                                                                                                1/3 
      Verifying  : postgresql-libs-8.4.20-6.el6.x86_64                                                                                                                 2/3 
      Verifying  : postgresql-8.4.20-6.el6.x86_64                                                                                                                      3/3 
    
    Installed:
      postgresql-devel.x86_64 0:8.4.20-6.el6                                                                                                                               
    
    Dependency Installed:
      postgresql.x86_64 0:8.4.20-6.el6                                                postgresql-libs.x86_64 0:8.4.20-6.el6                                               
    
    Complete!
    [root@localhost c]# 
  • 相关阅读:
    vb学习笔记
    spfa模版
    spfa slf优化
    接口总结
    SAP屏幕穿透
    判断可编辑字段,用户输入的数据是否为纯数字(包含带小数点的小数)
    对于ALV中的可编辑字段,当输入的数据不满足某种条件时,我们需要将它恢复到修改前的数据,并刷新ALV。但是可编辑的字段刷新后仍然时修改后的数据,此处记录一种方法。
    ALV中可编辑字段数据变化时,对变化的数据进行操作。
    通过UPDATE 往数据库中更新数据
    SE16N 中设置为可编辑状态
  • 原文地址:https://www.cnblogs.com/RaymondBlog/p/6527786.html
Copyright © 2011-2022 走看看