On 01/17/2018 01:34 PM, Stephen Morris wrote:
I have been trying to build Apache 2.4.29 from the source files
provided
upstream (the Apache foundation doesn't provide binaries for rpm based
systems) by using rpmbuild to compile the source into various binary rpm
files that I can then install into Fedora 27. In doing this the process
identified a number of devel dependencies that needed to be installed.
One of these dependencies was DISTCACHE which does not appear to be in
the Fedora 27 repositories, nor the F26 or F25 repositories, and from
investigation on the net seems to have disappeared some time after F18.
I did find an rpm for distcache for Centos 6 which 'rpm -ivh' indicated
it successfully installed but both yumex and dnf refuse to acknowledge
its existence.
And they won't since you installed it using rpm, not dnf. To rectify
this, reinstall the RPM using "dnf reinstall <path/to/your/rpm>" to sync
dnf's database and try to use dnf to install local packages instead of
directly using rpm (it works just fine).
To work around this I tried to do an rpmbuild --rebuild
of the distcache source rpm I had downloaded but it failed with a
dependency on SSLeah which I can find in the Fedora repositories either.
I think you mean "SSLeay". There are two Perl packages that have that,
as revealed by 'dnf list "*leay*":
[root@golem4 ~]# dnf list "*ssleay*"
Last metadata expiration check: 2:52:04 ago on Wed 17 Jan 2018 12:58:08
PM PST.
Installed Packages
perl-Net-SSLeay.x86_64 1.81-4.fc27
@fedora
Available Packages
perl-Crypt-SSLeay.x86_64 0.72-17.fc27
fedora
To make life easier, distcache isn't necessary for Apache...it's just
"helpful". I'd build Apache without distcache support by running the
configure script WITHOUT specifying the socache-dc module (either in the
"--enable-modules=MODULE-LIST", "--enable-mods-shared=MODULE-LIST" or
"--enable-mods-static=MODULE-LIST" options, or via the separate
"--enable-socache-dc" option).
If you don't specify some form of "enable-socache-dc", it doesn't get
built and as I said, it's not really necessary for a functional Apache.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks(a)alldigital.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- Where there's a will, I want to be in it. -
----------------------------------------------------------------------