Just installed a new vps and upgraded it to IW 3x (RC) mentioned in another thread today. I’m using centos 4. Trying to upgrade php to 5.2x and getting errors:
[root@none ~]# yum install libmhash-devel libmcrypt-devel
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
No Match for argument: libmhash-devel
Nothing to do
I upgraded mysql fine, but php is still giving me a hard time after I downloaded and installed both libmhash/devel (yes, el4)
[root@none ~]# yum -c http://mirror.steadfast.net/misc/iworx/rpmforge.repo.shtml?cos4x install libmhash-devel libmcrypt-devel
Setting up Install Process
Setting up repositories
update 100% |=========================| 951 B 00:00 http://apt.sw.be/(none)/en/i386/dag/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Cannot open/read repomd.xml file for repository: rpmforge
failure: repodata/repomd.xml from rpmforge: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from rpmforge: [Errno 256] No more mirrors to try.
[root@none ~]# yum install rpmbuild --rebuild --nobuild --with cos4x http://mirror.steadfast.net/misc/iworx/php-5.2.0-100.iworx.src.rpm 2>&1 | grep "needed" | awk '{ print \$1 }' | xargs
Error: Need to pass a list of pkgs to install
These instructions were a great primer for learning how to build an RPM from source- does anyone have some advice for patching these rpms? As in- how do I patch this PHP 5.2 build to 5.2.2?
Somewhat of a newbie, I think I understand I need to download the patch from php.net, then place it in the proper location in the directory tree and edit the spec file, with the understand that there may be addtional dependencies that will cause the build to fail until I resolve them. Am I even close to getting this right?
[QUOTE=pascal;11987]And more OSCOMMERCE IS NOT COMPATIBLE WITH MYSQL5 due to JOIN changement !!!
So all the clients that use OsCommerce have to patch their softs ![/QUOTE]
So there is a fix for OScommerce on PHP5/MySQL5? I have built a custom website for a client using OScommerce (with lots of customizations) and I am planning to move to PHP5/MySQL5 when CentOS5 is supported.
[root@server ~]# yum install `rpmbuild --rebuild --nobuild --with rhe4x http://mirror.steadfast.net/misc/iworx/php-5.2.0-100.iworx.src.rpm 2>&1 | grep "needed" | awk '{ print $1 }' | xargs`
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for libgcrypt-devel to pack into transaction set.
libgcrypt-devel-1.2.0-3.i 100% |=========================| 3.8 kB 00:00
---> Package libgcrypt-devel.i386 0:1.2.0-3 set to be updated
---> Downloading header for libc-client-devel to pack into transaction set.
libc-client-devel-2002e-1 100% |=========================| 14 kB 00:00
---> Package libc-client-devel.i386 0:2002e-14 set to be updated
---> Downloading header for postgresql-devel to pack into transaction set.
postgresql-devel-7.4.17-1 100% |=========================| 49 kB 00:00
---> Package postgresql-devel.i386 0:7.4.17-1.RHEL4.1 set to be updated
--> Running transaction check
--> Processing Conflict: libc-client-devel conflicts imap-devel
--> Processing Dependency: postgresql = 7.4.17-1.RHEL4.1 for package: postgresql-devel
--> Processing Dependency: postgresql-libs = 7.4.17-1.RHEL4.1 for package: postgresql-devel
--> Processing Dependency: libgpg-error-devel for package: libgcrypt-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for postgresql-libs to pack into transaction set.
postgresql-libs-7.4.17-1. 100% |=========================| 12 kB 00:00
---> Package postgresql-libs.i386 0:7.4.17-1.RHEL4.1 set to be updated
---> Downloading header for libgpg-error-devel to pack into transaction set.
libgpg-error-devel-1.0-1. 100% |=========================| 2.6 kB 00:00
---> Package libgpg-error-devel.i386 0:1.0-1 set to be updated
---> Downloading header for postgresql to pack into transaction set.
postgresql-7.4.17-1.RHEL4 100% |=========================| 104 kB 00:00
---> Package postgresql.i386 0:7.4.17-1.RHEL4.1 set to be updated
--> Running transaction check
--> Processing Conflict: libc-client-devel conflicts imap-devel
--> Finished Dependency Resolution
Error: libc-client-devel conflicts with imap-devel
I am using InterWorx-CP v2.1.3 [Unlimited Domain] on CentOs 4.5 and I tried following the instructions and ran in to problems with MySQL right away. When I run
[root@storm3 ~]# rpm -Uhv --nodeps /usr/src/redhat/RPMS/uname -i/mysql*-4.1.12-100.*
Preparing… ########################################### [100%]
package mysql-devel-4.1.20-2.RHEL4.1 (which is newer than mysql-devel-4.1.12-100.rhe4x.iworx) is already installed
package mysql-server-4.1.20-2.RHEL4.1 (which is newer than mysql-server-4.1.12-100.rhe4x.iworx) is already installed
file /usr/share/man/man1/mysql.1.gz from install of mysql-client-4.1.12-100.rhe4x.iworx conflicts with file from package mysql-4.1.20-2.RHEL4.1
file /usr/share/man/man1/mysqlaccess.1.gz from install of mysql-client-4.1.12-100.rhe4x.iworx conflicts with file from package mysql-4.1.20-2.RHEL4.1
file /usr/share/man/man1/mysqladmin.1.gz from install of mysql-client-4.1.12-100.rhe4x.iworx conflicts with file from package mysql-4.1.20-2.RHEL4.1
file /usr/share/man/man1/mysqldump.1.gz from install of mysql-client-4.1.12-100.rhe4x.iworx conflicts with file from package mysql-4.1.20-2.RHEL4.1
file /usr/share/man/man1/mysqlshow.1.gz from install of mysql-client-4.1.12-100.rhe4x.iworx conflicts with file from package mysql-4.1.20-2.RHEL4.1
file /usr/bin/mysql_config from install of mysql-devel-4.1.12-100.rhe4x.iworx conflicts with file from package mysql-4.1.20-2.RHEL4.1
file /etc/my.cnf from install of mysql-server-4.1.12-100.rhe4x.iworx conflicts with file from package mysql-4.1.20-2.RHEL4.1
file /usr/share/info/mysql.info.gz from install of mysql-server-4.1.12-100.rhe4x.iworx conflicts with file from package mysql-4.1.20-2.RHEL4.1
file /usr/share/mysql/charsets/Index.xml from install of mysql-server-4.1.12-100.rhe4x.iworx conflicts with file from package mysql-4.1.20-2.RHEL4.1
file /usr/share/mysql/charsets/latin1.xml from install of mysql-server-4.1.12-100.rhe4x.iworx conflicts with file from package mysql-4.1.20-2.RHEL4.1
file /usr/share/mysql/charsets/latin5.xml from install of mysql-server-4.1.12-100.rhe4x.iworx conflicts with file from package mysql-4.1.20-2.RHEL4.1
file /usr/share/mysql/danish/errmsg.sys from install of mysql-server-4.1.12-100.rhe4x.iworx conflicts with file from package mysql-4.1.20-2.RHEL4.1
file /usr/share/mysql/danish/errmsg.txt from install of mysql-server-4.1.12-100.rhe4x.iworx conflicts with file from package mysql-4.1.20-2.RHEL4.1
file /usr/share/mysql/serbian/errmsg.sys from install of mysql-server-4.1.12-100.rhe4x.iworx conflicts with file from package mysql-4.1.20-2.RHEL4.1
file /usr/share/mysql/serbian/errmsg.txt from install of mysql-server-4.1.12-100.rhe4x.iworx conflicts with file from package mysql-4.1.20-2.RHEL4.1
[root@storm3 ~]#
Should I just force the install? Any help would be greatly appreciated.
[quote=hubbadubba;12081]Socheat recommended these instructions as a possible solution to my problem with PHP 5 coexisting with Interworx in CentOS 4.4
Testing environment:[LIST=1]
Two machines with clean installs of CentOS 4.4
Joomla 1.5 and Modernbill 5
1st machine without Interworx and using CentOSPlus repo version of PHP 5.1.6-3 and MySQL 5.0.27 works great,
2nd virtual machine using Interworx and either CentOSPlus repo version of PHP 5.1.6-3 and MySQL 5.0.27, or following the instructions in the link above (both 5.1.6 and 5.2) all fail.
failure is defined as: I can't install Modernbill 5 or Joomla 1.5- trying to access Joomla install page gives this error:[LIST=1]
With the Steadfast instructions:[/LIST]With the CentOSPlus repo enabled and display errors turned on I get a stream of: Quote:
Warning: preg_match: internal pcre_fullinfo() error -3 [/LIST][/quote]
How did u fix this problem?
i have the same problem on centos 4.5 php 5.1.6 interworx 2.X.
I moved my invision forum and get same msg u were getting.
I may have missed this from your previous posts, but you are running PHP5 on your current InterWorx VPS correct? How did you get PHP5 installed? Which distribution are you using?
[QUOTE=cape;13578]checking lex output file root… ./configure: line 3276: lex: command not found
configure: error: cannot find output from lex; giving up
error: Bad exit status from /var/tmp/rpm-tmp.74077 (%build)[/QUOTE]