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-%%7Bversion%7D.tar.bz2 Source1: http://www.apache.org/dist/httpd/httpd-%%7Bversion%7D-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-sing...
-- 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.
On Sat, January 4, 2014 22:14, James B. Byrne wrote:
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.
I have gotten this to compile to completion but now I am getting an error that says:
RPM build errors: error: Installed (but unpackaged) file(s) found: /usr/bin/apr-1-config /usr/bin/apu-1-config Installed (but unpackaged) file(s) found: /usr/bin/apr-1-config /usr/bin/apu-1-config Child return code was: 1
However, if I add this to the %files directive:
%files devel %defattr(-,root,root) . . . # Adds in apr libs %{_bindir}/apr-1-config %{_bindir}/apr-u-config
The error becomes:
error: File not found: /builddir/build/BUILDROOT/httpd-2.4.7-1.x86_64/usr/bin/apr-u-config RPM build errors: File not found: /builddir/build/BUILDROOT/httpd-2.4.7-1.x86_64/usr/bin/apr-u-config
Where should the arp stuff go? Into its own package?