Discussion Locked

Failed build dependencies - php

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am trying to upgrade PHP and got error from rebuilding SRC file.

[root@test download]# rpm --rebuild php-4.0.6-12.src.rpm
Installing php-4.0.6-12.src.rpm
error: failed build dependencies:
db2-devel is needed by php-4.0.6-12 imap-devel >= 2000-9 is needed by php-4.0.6-12
postgresql-devel is needed by php-4.0.6-12
unixODBC-devel is needed by php-4.0.6-12
libxml2-devel is needed by php-4.0.6-12
pspell-devel is needed by php-4.0.6-12
imap-devel is needed by php-4.0.6-12
[root@test download]#

Should I just ignore dependencies and install? It wouldn't be any problem to use PHP afterwards?

Lintadsl,

3 replies

by arokh

try to build it with --nodeps
and why don't you donload the source and compile it
rmp is shait

by lintadsl

I am trying to complie it from source file. I had to installed all dependencies and finally rebuilded RPM from source. Thanks for the help though.

This discussion is closed to new replies.