[Yum] Build issues on rhel4

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

 



On Thu, 2005-09-22 at 10:16 -0700, Peter C. Norton wrote:
> The use of the %{_sysconfdir} and %{_mandir} is somewhat problematic on RHEL4.
> 
> Since the package's configure script defaults to using /etc and
> /usr/share/man anyway, why are the rpm macros being used?
> 
> See the following:
> 
> #==============================================================================
> # ---- configure macros.
> #       Macro(s) slavishly copied from autoconf's config.status.
> #
> %_prefix                /usr
> %_exec_prefix           %{_prefix}
> %_bindir                %{_exec_prefix}/bin
> %_sbindir               %{_exec_prefix}/sbin
> %_libexecdir            %{_exec_prefix}/libexec
> %_datadir               %{_prefix}/share
> %_sysconfdir            %{_prefix}/etc
> %_sharedstatedir        %{_prefix}/com
> %_localstatedir         %{_prefix}/var
> %_lib                   lib
> %_libdir                %{_exec_prefix}/%{_lib}
> %_includedir            %{_prefix}/include
> %_oldincludedir         /usr/include
> %_infodir               %{_prefix}/info
> %_mandir                %{_prefix}/man

They're not problematic, you're looking at the wrong place. See the
definitions in /usr/lib/rpm/redhat/macros. That's the place where %
_initrddir for example is defined which makes me think you simply don't
have redhat-rpm-config installed.

	- Panu -



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux