[CentOS] Need help with spec file for Apache-2.4.7

Sun Jan 5 03:14:33 UTC 2014
James B. Byrne <byrnejb at harte-lyne.ca>

On Fri, January 3, 2014 20:29, Markus Falb wrote:
>
> On 03.Jan.2014, at 21:24, James B. Byrne wrote:
>

>> Now, I added this in the Sources:
>>
>> Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
>> Source1: http://www.apache.org/dist/httpd/httpd-%{version}-deps.tar.bz2
>
> You have to extract Source1 into the BUILDDIR...
> You can verify if apr directory is present with
>
> $ rpmbuild -bp httpd.spec
> $ ls ../BUILD/httpd-2.4.7
>
>> <--- rpmbuild/SPECS/httpd.spec
>
> ...
>
>> %prep
>> %setup -q
>
> after that %setup macro your working directory should be
> rpmbuild/BUILD/httpd-2.4.7
> now something like
>
> %setup -D -q -b 1
>
> http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html-single/RPM_Guide/index.html#id853841
>
> --
> Markus
>

Thank you very much for that reference.  This got me past that roadblock.  I
have resolved many other difficulties but I have run into another problem for
which I am unable find any guidance.  Now I am getting this error in the
build:

RPM build errors:
    File not found:
/builddir/build/BUILDROOT/httpd-2.4.7-1.x86_64/usr/lib64/httpd/modules/mod_session_crypto.so
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps
builddir/build/SPECS/httpd.spec']

I cannot find anything in the spec file that refers to this module by name
other than the following:

%{_libdir}/httpd/modules/mod_session_crypto.so

Am I missing something obvious?  Is there an undeclared dependency?

Any assistance gratefully accepted.

-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3