Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/postgresql/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用postgresq93 devel将php 5.3编译到Docker映像失败_Php_Postgresql_Postgresql 9.3_Libpq - Fatal编程技术网

使用postgresq93 devel将php 5.3编译到Docker映像失败

使用postgresq93 devel将php 5.3编译到Docker映像失败,php,postgresql,postgresql-9.3,libpq,Php,Postgresql,Postgresql 9.3,Libpq,我正在使用基于PHP5.3的自定义编译,我需要将postgresql版本从9.2升级到9.3 我在我的基础设施中使用docker,我添加的新产品线是 yum remove postgresql -y && \ rpm -i /tmp/postgresql93.rpm && \ yum install postgresql93 postgresql93-devel -y && \ rm -rf /tmp/postgresql

我正在使用基于PHP5.3的自定义编译,我需要将postgresql版本从9.2升级到9.3

我在我的基础设施中使用docker,我添加的新产品线是

yum remove postgresql -y && \
    rpm -i /tmp/postgresql93.rpm && \
    yum install postgresql93 postgresql93-devel -y && \ 
    rm -rf /tmp/postgresql93.rpm && \
编译失败,消息为:

checking for pg_config... not found
configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path
然后,我将postgresql-devel包添加到升级行中

yum remove postgresql -y && \
    rpm -i /tmp/postgresql93.rpm && \
    yum install postgresql-devel postgresql93 postgresql93-devel -y && \ 
    rm -rf /tmp/postgresql93.rpm && \
如果我还安装了postgresql93-devel,我想知道为什么使用postgresql-devel会起作用

在我之前的编译中,我使用了postgresql-devel,但我删除了它,我认为postgresql-93-devel应该可以工作,但它没有工作

知道为什么会这样吗?这里的区别是什么?为什么我需要使用postgresql-devel