PHP Source files

Roger Harrell roger at audiblefaith.com
Wed Nov 17 17:05:27 UTC 2004


Argghh.
Ok, so I got the rpm build and development packages installed (answered 
my last question). Now when I do a rpmbuild for the php package I get a 
gargantuan list of dependancies.
         bzip2-devel is needed by php-4.2.2-17.2
         curl-devel >= 7.9 is needed by php-4.2.2-17.2
         db4-devel is needed by php-4.2.2-17.2
         expat-devel is needed by php-4.2.2-17.2
         freetype-devel is needed by php-4.2.2-17.2
         gd-devel >= 1.8.4 is needed by php-4.2.2-17.2
         gdbm-devel is needed by php-4.2.2-17.2
         gmp-devel is needed by php-4.2.2-17.2
         pspell-devel is needed by php-4.2.2-17.2
         httpd-devel >= 2.0.40-6 is needed by php-4.2.2-17.2
         libjpeg-devel is needed by php-4.2.2-17.2
         libpng-devel is needed by php-4.2.2-17.2
         pam-devel is needed by php-4.2.2-17.2
         libstdc++-devel is needed by php-4.2.2-17.2
         libxml2-devel is needed by php-4.2.2-17.2
         ncurses-devel is needed by php-4.2.2-17.2
         openssl-devel is needed by php-4.2.2-17.2
         krb5-devel is needed by php-4.2.2-17.2
         imap-devel is needed by php-4.2.2-17.2
         cyrus-sasl-devel is needed by php-4.2.2-17.2
         openldap-devel is needed by php-4.2.2-17.2
         mysql-devel is needed by php-4.2.2-17.2
         postgresql-devel is needed by php-4.2.2-17.2
         unixODBC-devel is needed by php-4.2.2-17.2
         net-snmp-devel is needed by php-4.2.2-17.2

I was directed to get the .src.rpm. Install that, then change the .spec 
file to configure PHP and build an rpm using that spec file, then 
install the rpm. Ok, that would be fine, except for the dependancies 
above. The .src.rpm comes with php-4.2.2.tar.gz. Isn't this the install 
source with the RH patches and such? Can I not unpack that and install 
normally, or will it cause problems since I installed PHP 4.2.2 with the 
RPM initially?

Thanks,
-- 
Roger Harrell




More information about the Redhat-install-list mailing list