Hello all, I am trying to build php-5.2.13-2.art.src.rpm (http://www4.atomicorp.com/channels/sour ... rt.src.rpm) on RHEL4 and getting following dependencies:
error: Failed build dependencies:
lm_sensors-devel is needed by php-5.2.13-2.art.i386
Above resolved by using sudo up2date lm_sensors-devel but still got the following three deps.
t1lib-devel is needed by php-5.2.13-2.art.i386
libXaw-devel is needed by php-5.2.13-2.art.i386
recode-devel is needed by php-5.2.13-2.art.i386
Not sure how to resolve these since they aren't within any of the centos channels. Are they necessary? During my php 5.2.11 build none of these packages were required. Can they be removed from the spec file or they must be resolved in order to build and run sucessfully on RHEL4.
I attempted to resolve libXaw by downloading from:
http://archives.fedoraproject.org/pub/a ... .1.src.rpm
But during build following errors came up:
[rpmbuild@rpmbuild SPECS]$ sudo rpmbuild -bb libXaw.spec
error: Failed build dependencies:
xorg-x11-proto-devel is needed by libXaw-1.0.2-8.1.i386
libX11-devel is needed by libXaw-1.0.2-8.1.i386
libXt-devel is needed by libXaw-1.0.2-8.1.i386
libXmu-devel is needed by libXaw-1.0.2-8.1.i386
libXpm-devel is needed by libXaw-1.0.2-8.1.i386
libXext-devel is needed by libXaw-1.0.2-8.1.i386
ed is needed by libXaw-1.0.2-8.1.i386
Thanks for any input.
Building php 5.2.13-2 on RHEL4.
-
- New Forum User
- Posts: 4
- Joined: Tue Apr 27, 2010 2:49 pm
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Building php 5.2.13-2 on RHEL4.
These come from the atomic channel.
-
- New Forum User
- Posts: 4
- Joined: Tue Apr 27, 2010 2:49 pm
Re: Building php 5.2.13-2 on RHEL4.
Scott, was able to locate two out of 3 packages, can you direct me to libXaw-devel for RHEL4? Can't seem to find this package. Is this package necessary for RHEL4?
http://www6.atomicorp.com/channels/atom ... t.i386.rpm
http://www6.atomicorp.com/channels/atom ... t.i386.rpm
Thanks
http://www6.atomicorp.com/channels/atom ... t.i386.rpm
http://www6.atomicorp.com/channels/atom ... t.i386.rpm
Thanks
-
- New Forum User
- Posts: 4
- Joined: Tue Apr 27, 2010 2:49 pm
Re: Building php 5.2.13-2 on RHEL4.
Ah, my stupid self. I did not read the spec file carefully. There is a conditional in the spec for libXaw.
%if 0%{?el4}%{?fc4}
BuildRequires: xorg-x11-devel
%else
#BuildRequires: libXaw-devel
%endif
I installed the xorg-x11-devel package and this resolved the dep without the need for libXaw-devel.
Thanks for your time.
%if 0%{?el4}%{?fc4}
BuildRequires: xorg-x11-devel
%else
#BuildRequires: libXaw-devel
%endif
I installed the xorg-x11-devel package and this resolved the dep without the need for libXaw-devel.
Thanks for your time.
-
- New Forum User
- Posts: 4
- Joined: Tue Apr 27, 2010 2:49 pm
Re: Building php 5.2.13-2 on RHEL4.
DistTag not being honored?
After looking at the DistTag conditional in the spec file it seems that the conditional is not honoring rhel4. I am currently running rhel4 es 8 and it did not pick this up thus prompting me for the libXaw dependency. I simply cludged it to get it to build by:
Altering:
%if 0%{?el4}%{?fc4}
BuildRequires: xorg-x11-devel
%else
#BuildRequires: libXaw-devel
BuildRequires: xorg-x11-devel
%endif
but just curious where the DistTag gets it's info from. Would it be the /etc/redhat-release or just a uname -a.
After looking at the DistTag conditional in the spec file it seems that the conditional is not honoring rhel4. I am currently running rhel4 es 8 and it did not pick this up thus prompting me for the libXaw dependency. I simply cludged it to get it to build by:
Altering:
%if 0%{?el4}%{?fc4}
BuildRequires: xorg-x11-devel
%else
#BuildRequires: libXaw-devel
BuildRequires: xorg-x11-devel
%endif
but just curious where the DistTag gets it's info from. Would it be the /etc/redhat-release or just a uname -a.
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: Building php 5.2.13-2 on RHEL4.
That is handled by mock internally