Problem installing Prce

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
cape
Posts: 14
Joined: 2007/06/05 20:04:00

Problem installing Prce

Post by cape » 2008/07/13 01:51:03

Hi folks,

I was trying to install Prce on centos 4.6 curently installed prce 4.5

yum install -y pcre-6.6-2.el5_1.7.i386.rpm
696 yum search libc.so6
697 Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package pcre
698 Error: Missing Dependency: pcre = 4.5-4.el4_6.6 is needed by package pcre-devel
699 Error: Missing Dependency: rtld(GNU_HASH) is needed by package pcre
700 Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package pcre

not really sure how to bite this, any sugesstions

pjwelsh
Posts: 2610
Joined: 2007/01/07 02:18:02
Location: Central IL USA

Re: Problem installing Prce

Post by pjwelsh » 2008/07/13 03:14:27

You want the el4 version of that rpm, not the el5.

cape
Posts: 14
Joined: 2007/06/05 20:04:00

Re: Problem installing Prce

Post by cape » 2008/07/13 14:04:32

i can't find this rpm for el4

cape
Posts: 14
Joined: 2007/06/05 20:04:00

Re: Problem installing Prce

Post by cape » 2008/07/13 14:32:37

I did install pcre.6.6

yum list pcre"*"
1012 pcre.i386 6.6-1.1 installed
1013 pcre.i386 4.5-4.el4_6.6 installed
1014 pcre-devel.i386 4.5-4.el4_6.6 installed
#

when i am trying to configure php it's still telling me i have old ver of pcre

configure: error: The PCRE extension requires PCRE library version >= 6.6

pjwelsh
Posts: 2610
Joined: 2007/01/07 02:18:02
Location: Central IL USA

Re: Problem installing Prce

Post by pjwelsh » 2008/07/14 15:12:14

How did you install that 6.6-1.1 pcre? It looks as if you used the "-i --force" option with rpm if I were to guess. If so, you should update instead with a "-U" for already installed programs. You will also want to get the 6.6-1.1 pcre-devel to help out. In this case since there is an old and new pcre, you may need to force the update with the "-U --force".

cape
Posts: 14
Joined: 2007/06/05 20:04:00

Re: Problem installing Prce

Post by cape » 2008/07/14 16:13:02

no i just did yum install -y pcre-6.6-1.1.rpm.

Not really sure what i should do now . I am wondering why after me installing pcre 6.6 in os old ver is still being used not new one.

pjwelsh
Posts: 2610
Joined: 2007/01/07 02:18:02
Location: Central IL USA

Re: Problem installing Prce

Post by pjwelsh » 2008/07/14 16:35:11

If yum did not complain, then that installed pcre-6.6-1.1.rpm had *no*conflicting files with the orig... That likely means that is not compiled for el4. Did you grab that from something like FC6, maybe?

You will not likely be able to safely remove pcre-4.5*

cape
Posts: 14
Joined: 2007/06/05 20:04:00

Re: Problem installing Prce

Post by cape » 2008/07/14 18:45:00

yes i think that was meant for different distro FC6. I found one source for el4 but

yum install pcre-6.6-1.el4.remi.src.rpm
Setting up Install Process
Setting up repositories
interworx-cp-rhe4x 100% |=========================| 951 B 00:00
voxel 100% |=========================| 951 B 00:00
kbs-CentOS-Extras 100% |=========================| 951 B 00:00
kbs-CentOS-Misc 100% |=========================| 951 B 00:00
update 100% |=========================| 951 B 00:00
interworx-cp-noarch 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
centosplus 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
Parsing package install arguments
Cannot open file: pcre-6.6-1.el4.remi.src.rpm. Skipping.
Nothing to do


and that's it it stops

cape
Posts: 14
Joined: 2007/06/05 20:04:00

Re: Problem installing Prce

Post by cape » 2008/07/14 18:48:22

how i can compile this pcre i already installed

pjwelsh
Posts: 2610
Joined: 2007/01/07 02:18:02
Location: Central IL USA

Re: Problem installing Prce

Post by pjwelsh » 2008/07/14 19:11:36

If you have a sufficient build environment, you can run as root:
[code]rpmbuild --rebuild pcre-6.6-1.el4.remi.src.rpm[/code]
and look for (hope for) like that begin with "Wrote: /usr/src/redhat/RPMS/..."

If not, you need to figure out what build pieces you need. An *initial* shotgun approach would be to run:
[code]yum groupinstall "Development Tools"[/code]
as root. To get most of what you need.

Post Reply

Return to “CentOS 4 - Server Support”