PHP 5.2.2 - Horde - Dependencies

Support/Development for PHP
crnunez
Forum User
Forum User
Posts: 37
Joined: Sun May 20, 2007 10:44 pm

Missing dependencies with CENTOS 4

Unread post by crnunez »

Hi,
With CENTOS I have this issue:
[root@ns yum.repos.d]# yum update mysql mysql-server php php-gd php-imap php-mys
ql php-pear php-mbstring php-xml php-odbc php-bcmath php-soap php-cli php-common
Setting up Update Process
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
Atomic 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Could not find update match for php-odbc
Could not find update match for php-soap
Could not find update match for php-xml
Could not find update match for php-bcmath
Could not find update match for php-cli
Could not find update match for php-common
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php-mysql to pack into transaction set.
php-mysql-5.2.3-1.el4.art 100% |=========================| 13 kB 00:00
---> Package php-mysql.i386 0:5.2.3-1.el4.art set to be updated
---> Downloading header for php-imap to pack into transaction set.
php-imap-5.2.3-1.el4.art. 100% |=========================| 12 kB 00:00
---> Package php-imap.i386 0:5.2.3-1.el4.art set to be updated
---> Downloading header for php to pack into transaction set.
php-5.2.3-1.el4.art.i386. 100% |=========================| 13 kB 00:00
---> Package php.i386 0:5.2.3-1.el4.art set to be updated
---> Downloading header for php-pear to pack into transaction set.
php-pear-1.5.0-5.el4.art. 100% |=========================| 26 kB 00:00
---> Package php-pear.noarch 1:1.5.0-5.el4.art set to be updated
---> Downloading header for mysql-server to pack into transaction set.
mysql-server-5.0.27-1.el4 100% |=========================| 33 kB 00:00
---> Package mysql-server.i386 0:5.0.27-1.el4.art set to be updated
---> Downloading header for php-mbstring to pack into transaction set.
php-mbstring-5.2.3-1.el4. 100% |=========================| 12 kB 00:00
---> Package php-mbstring.i386 0:5.2.3-1.el4.art set to be updated
---> Downloading header for php-gd to pack into transaction set.
php-gd-5.2.3-1.el4.art.i3 100% |=========================| 12 kB 00:00
---> Package php-gd.i386 0:5.2.3-1.el4.art set to be updated
---> Downloading header for mysql to pack into transaction set.
mysql-5.0.27-1.el4.art.i3 100% |=========================| 35 kB 00:00
---> Package mysql.i386 0:5.0.27-1.el4.art set to be updated
--> Running transaction check
--> Processing Dependency: libmysqlclient.so.14 for package: psa
--> Processing Dependency: libmysqlclient.so.14 for package: psa-fileserver
--> Processing Dependency: php-common = 5.2.3-1.el4.art for package: php
--> Processing Dependency: php-common = 5.2.3-1.el4.art for package: php-imap
--> Processing Dependency: php-cli for package: php-pear
--> Processing Dependency: php-common = 5.2.3-1.el4.art for package: php-mysql
--> Processing Dependency: libmysqlclient.so.14 for package: perl-DBD-MySQL
--> Processing Dependency: /usr/bin/php for package: psa-mnemo
--> Processing Dependency: php-cli = 5.2.3-1.el4.art for package: php
--> Processing Dependency: libmysqlclient.so.14 for package: cs-gs
--> Processing Dependency: php-common = 5.2.3-1.el4.art for package: php-gd
--> Processing Dependency: libmysqlclient.so.14 for package: php-mysql
--> Processing Dependency: libmysqlclient.so.14 for package: psa-bf2
--> Processing Dependency: libmysqlclient.so.14 for package: psa-bf1942
--> Processing Dependency: libmysqlclient.so.14 for package: psa-qmail
--> Processing Dependency: libmysqlclient.so.14 for package: psa-courier-imap-ad
d
--> Processing Dependency: libmysqlclient.so.14 for package: psa-hotfix3
--> Processing Dependency: php-pdo for package: php-mysql
--> Processing Dependency: php-common = 5.2.3-1.el4.art for package: php-mbstrin
g
--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14) for package:
php-mysql
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-domxml
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for mysqlclient14 to pack into transaction set.
mysqlclient14-4.1.22-2.el 100% |=========================| 4.9 kB 00:00
---> Package mysqlclient14.i386 0:4.1.22-2.el4.art set to be updated
---> Downloading header for php-pdo to pack into transaction set.
php-pdo-5.2.3-1.el4.art.i 100% |=========================| 12 kB 00:00
---> Package php-pdo.i386 0:5.2.3-1.el4.art set to be updated
---> Downloading header for php-cli to pack into transaction set.
php-cli-5.2.3-1.el4.art.i 100% |=========================| 13 kB 00:00
---> Package php-cli.i386 0:5.2.3-1.el4.art set to be updated
---> Downloading header for php-common to pack into transaction set.
php-common-5.2.3-1.el4.ar 100% |=========================| 16 kB 00:00
---> Package php-common.i386 0:5.2.3-1.el4.art set to be updated
---> Downloading header for php-xml to pack into transaction set.
php-xml-5.2.2-2.el4.art.i 100% |=========================| 12 kB 00:00
---> Package php-xml.i386 0:5.2.2-2.el4.art set to be updated
--> Running transaction check
--> Processing Dependency: php-common = 5.2.2-2.el4.art for package: php-xml
--> Finished Dependency Resolution
Error: Missing Dependency: php-common = 5.2.2-2.el4.art is needed by package php
-xml
[root@ns yum.repos.d]#
Thanks a lot!
crnunez
Forum User
Forum User
Posts: 37
Joined: Sun May 20, 2007 10:44 pm

Unread post by crnunez »

Hello,
HORDE:
Mcrypt Support: No
Mcrypt is a general-purpose cryptography library which is broader and significantly more efficient (FASTER!) than PHP's own cryptographic code and will provider faster logins.
MIME Magic Support (fileinfo): No
The fileinfo PECL module or the mime_magic PHP extension (see below) will most likely provide faster MIME Magic lookups than the built-in Horde PHP magic code. See horde/docs/INSTALL for information on how to install PECL/PHP extensions.
memcached Support (memcache): No
The memcache PECL module is needed only if you are using the memcached SessionHandler. See horde/docs/INSTALL for information on how to install PECL/PHP extensions.
MIME Magic Support (mime_magic): No
The fileinfo PECL module (see above) or the mime_magic PHP extension will most likely provide faster MIME Magic lookups than the built-in Horde PHP magic code. See horde/docs/INSTALL for information on how to install PECL/PHP extensions.
Thanks a lot. :!:
crnunez
Forum User
Forum User
Posts: 37
Joined: Sun May 20, 2007 10:44 pm

Unread post by crnunez »

Hello,
Anyone has any news abot php-mcrypt and php-mhash ??

Thanks!
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

I havent yet. But the src.rpm is there, if you want to take a crack at it.
crnunez
Forum User
Forum User
Posts: 37
Joined: Sun May 20, 2007 10:44 pm

Unread post by crnunez »

scott wrote:I havent yet. But the src.rpm is there, if you want to take a crack at it.
Thanks Scott, but the http://3es.atomicrocketturtle.com/packages/php5 only has php-5.1.2-4.3.src.rpm it is a old version. :(
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

check the /php/ dir.
crnunez
Forum User
Forum User
Posts: 37
Joined: Sun May 20, 2007 10:44 pm

Unread post by crnunez »

scott wrote:check the /php/ dir.
Thanks Scott!

One question: Should I execute this ???:
Steps:
1) Download the file wget http://3es.atomicrocketturtle.com/packa ... rt.src.rpm

2) What command for compile all??
[root@ns downlaod]# rpm -Uvh php-5.2.3-1.art.src.rpm --with mhash --with mcrypt --with xslt --with mysql --with mime-magic --with-iconv

The questions is WHAT IS THE CORRECT COMMAND?, I had php 5.2.3 from ART but is missing php-mcrypt and php-mhash

Thanks a lot for any help.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

you may have to modify the package, mhash is probably in there, mcrypt I dont know about. Otherwise to rebuild an rpm, you normally just do rpmbuild --rebuild whatever.src.rpm.

Caveat here.. that assumes youve got a full build environment. So make sure youve got that squared away first.

In ancient times, well on 2 or 3 years ago, I used to actually worry about this. All sorts of extra steps and whatnot were involved. Then I discovered mock. If you're planning on doing this often, stop now and catch up on using mock. Its only available on fedora 6, or 7 by default, but it will save you weeks, or even months worth of development time. It lets you build rpms for any Redhat-centric distro you want. (Fedora, RHEL, CentOS, etc) from one system, and automates all the configuration and setup. It is probably the most important tool for OS level development out there.
crnunez
Forum User
Forum User
Posts: 37
Joined: Sun May 20, 2007 10:44 pm

Unread post by crnunez »

scott wrote:you may have to modify the package, mhash is probably in there, mcrypt I dont know about. Otherwise to rebuild an rpm, you normally just do rpmbuild --rebuild whatever.src.rpm.

Caveat here.. that assumes youve got a full build environment. So make sure youve got that squared away first.

In ancient times, well on 2 or 3 years ago, I used to actually worry about this. All sorts of extra steps and whatnot were involved. Then I discovered mock. If you're planning on doing this often, stop now and catch up on using mock. Its only available on fedora 6, or 7 by default, but it will save you weeks, or even months worth of development time. It lets you build rpms for any Redhat-centric distro you want. (Fedora, RHEL, CentOS, etc) from one system, and automates all the configuration and setup. It is probably the most important tool for OS level development out there.
[root@ns tmp]# rpmbuild --rebuild php-5.2.3-1.art.src.rpm
Installing php-5.2.3-1.art.src.rpm
warning: user sshinn does not exist - using root
warning: group sshinn does not exist - using root
warning: user sshinn does not exist - using root
warning: group sshinn does not exist - using root
warning: user sshinn does not exist - using root
warning: group sshinn does not exist - using root
warning: user sshinn does not exist - using root
warning: group sshinn does not exist - using root
warning: user sshinn does not exist - using root
warning: group sshinn does not exist - using root
warning: user sshinn does not exist - using root
warning: group sshinn does not exist - using root
warning: user sshinn does not exist - using root
warning: group sshinn does not exist - using root
warning: user sshinn does not exist - using root
warning: group sshinn does not exist - using root
warning: user sshinn does not exist - using root
warning: group sshinn does not exist - using root
warning: user sshinn does not exist - using root
warning: group sshinn does not exist - using root
warning: user sshinn does not exist - using root
warning: group sshinn does not exist - using root
warning: user sshinn does not exist - using root
warning: group sshinn does not exist - using root
warning: user sshinn does not exist - using root
warning: group sshinn does not exist - using root
warning: user sshinn does not exist - using root
warning: group sshinn does not exist - using root
warning: user sshinn does not exist - using root
warning: group sshinn does not exist - using root
cat: /usr/include/httpd/.mmn: No such file or directory
error: Failed build dependencies:
bzip2-devel is needed by php-5.2.3-1.art.i386
curl-devel >= 7.9 is needed by php-5.2.3-1.art.i386
db4-devel is needed by php-5.2.3-1.art.i386
expat-devel is needed by php-5.2.3-1.art.i386
gmp-devel is needed by php-5.2.3-1.art.i386
aspell-devel >= 0.50.0 is needed by php-5.2.3-1.art.i386
httpd-devel >= 2.0.46-1 is needed by php-5.2.3-1.art.i386
libjpeg-devel is needed by php-5.2.3-1.art.i386
libpng-devel is needed by php-5.2.3-1.art.i386
pam-devel is needed by php-5.2.3-1.art.i386
openssl-devel is needed by php-5.2.3-1.art.i386
sqlite-devel >= 3.0.0 is needed by php-5.2.3-1.art.i386
pcre-devel >= 4.5 is needed by php-5.2.3-1.art.i386
readline-devel is needed by php-5.2.3-1.art.i386
cyrus-sasl-devel is needed by php-5.2.3-1.art.i386
openldap-devel is needed by php-5.2.3-1.art.i386
mysql-devel >= 4.1.0 is needed by php-5.2.3-1.art.i386
unixODBC-devel is needed by php-5.2.3-1.art.i386
libxml2-devel is needed by php-5.2.3-1.art.i386
net-snmp-devel is needed by php-5.2.3-1.art.i386
libxslt-devel >= 1.0.18-1 is needed by php-5.2.3-1.art.i386
libxml2-devel >= 2.4.14-1 is needed by php-5.2.3-1.art.i386
ncurses-devel is needed by php-5.2.3-1.art.i386
gd-devel is needed by php-5.2.3-1.art.i386
[root@ns tmp]#


At this moment I wait for you package php-mcrypt php-mhash ... Its the better way...

Thanks Scott!
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Yeah, thats what I ment about the full build environment. Mock actually goes out and gets all that stuff for you.
Post Reply