Re: Need help with spec file for Apache-2.4.7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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?

-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB@xxxxxxxxxxxxx
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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux