Topic: Build rpm from php.net for Cent OS 5
Hi. I try build rpm package, but included spec file in php archive is broken.
Try use REMI spec file, but rpmbuild stop with errors.
[root@localhost ~]# rpmbuild --rebuild /usr/src/redhat/SRPMS/php-5.3.5-1.remi.src.rpm Installing /usr/src/redhat/SRPMS/php-5.3.5-1.remi.src.rpm
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
warning: user remi does not exist - using root
error: /root/rpmbuild/SPECS/php.spec:592: parseExpressionBoolean returns -1
error: Failed build dependencies:
sqlite2-devel >= 2.8.0 is needed by php-5.3.5-1.x86_64
xorg-x11-devel is needed by php-5.3.5-1.x86_64
Where I can get this packages?
Second question: Do I need patches that are included in the REMI spec?