使用postgresq93 devel将php 5.3编译到Docker映像失败
我正在使用基于PHP5.3的自定义编译,我需要将postgresql版本从9.2升级到9.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
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