This makes no sense to me. I'm trying to upgrade PHP on one of our servers from 4.1.2 to 4.2.3. IT's RedHat 7.3 and I'm using the exact same configuration command as came with the original compilation. Now I haven't had to recompile so this is kind of throwing me. Any help would be appreciated.
I get this error:Code:./configure --with-apxs=/hsphere/shared/apache/bin/apxs --with-zlib-dir --with-jpeg-dir --with-png-dir --with-gd=/hsphere/shared --with-mysql=/usr --with-gettext --disable-debug --enable-versioning --enable-sockets --enable-track-vars --with-imap=/hsphere/shared --with-pgsql=/usr --enable-ftp --localstatedir=/var/hsphere/php
I was tipped that it might be that I needed the Redhat postgresql-devel rpm. So I found postgresql-devel-7.1.3-2.i386.rpm and did this, with these results:Code:configure: error: Cannot find header files under /usr
I also tried this with the same result:Code:[root@master root]# rpm --install postgresql-devel-7.1.3-2.i386.rpm file /usr/lib/libecpg.a from install of postgresql-devel-7.1.3-2 conflicts with file from package postgresql-libs-7.1.3-0 file /usr/lib/libpgeasy.a from install of postgresql-devel-7.1.3-2 conflicts with file from package postgresql-libs-7.1.3-0 file /usr/lib/libpq.a from install of postgresql-devel-7.1.3-2 conflicts with file from package postgresql-libs-7.1.3-0 file /usr/bin/ecpg from install of postgresql-devel-7.1.3-2 conflicts with file from package postgresql-7.1.3-0 file /usr/bin/pg_config from install of postgresql-devel-7.1.3-2 conflicts with file from package postgresql-7.1.3-0I'm having a bear recompiling this and I don't undertand why. With the exact same build configuration working fine with 4.1.2, you would think it would work for 4.2.3. Any ideas?Code:rpm -Uvh postgresql-devel-7.1.3-2.i386.rpm postgresql-libs-7.1.3-2.i386.rpm
Aaron




Bookmarks