I have been trying to update apache and php to accept mysql. I have to install the sources and recompile with the switches for mysql. rpm doesn't seem to update the installed database once source has been installed. As a result I'm getting a failure on php because rpm can't determine that a srpm package has been installed. eg: [root@dns SRPMS]# rpm --version RPM version 3.0.3 [root@dns SRPMS]# rpm -ivh apache-1.3.9-4.src.rpm apache ################################################## [root@dns SRPMS]# rpm -ivh apache-1.3.9-4.src.rpm apache ################################################## [root@dns SRPMS]# rpm -ivh apache-1.3.9-4.src.rpm apache ################################################## [root@dns SRPMS]# rpm -q apache-1.3.9-4.src.rpm package apache-1.3.9-4.src.rpm is not installed [root@dns SRPMS]#
Source rpm's are never installed in the rpm database. You probably are failing to build because of a build dependency on a binary rpm.