[ATrpms-users] Settings to compile Myth

Axel Thimm Axel.Thimm at atrpms.net
Sat May 6 13:43:32 CEST 2006


On Sat, May 06, 2006 at 07:25:50AM -0400, Jake Thompson wrote:
> I have attempted a couple of times now, but I am still missing something.  I
> am not an RPM expoert so any help would be nice.  I am trying to compile
> these myself to get Via XvMC back.
> 
> set in /etc/rpm/macros
> 
> %_varlibdir /var/lib
> %_varcachedir /var/cache
> %_initdir /etc/rc.d/init.d
> %_sysconfigdir /etc/sysconfig
> %_logrotatedir /etc/logrotate.d
> %_logdir /var/log
> 
> 
> And running rpmbuild...
> rpmbuild -bb --define 'atrelease() %1.rhfc5.at' SPECS/mythtv.spec
> 
> 
> However it is still missing something, I get errorrs such as:
> libmyth = %{eversion}
> cannot access `%{_rundir}/mythbackend.pid
> 
> What other variables do I need and what are the defalt settings for thest.
> 
> Thanks for any help.

%distversion %(rpm -qf --qf='%{VERSION}' /etc/redhat-release) 
%distinitials rh%(grep -i fedora /etc/redhat-release >/dev/null && echo "fc")
%disttag %{distinitials}%{distversion}
%atrelease() %1.%{disttag}.at

%eversion       %{?epoch:%{epoch}:}%{version}
%evr            %{?epoch:%{epoch}:}%{version}-%{release}

%_initdir       %{_sysconfdir}/rc.d/init.d
%_varlibdir     %{_localstatedir}/lib
%_varcachedir   %{_localstatedir}/cache
%_logdir                %{_localstatedir}/log
%_rundir                %{_localstatedir}/run
%_subsysdir     %{_localstatedir}/lock/subsys
%_sysconfigdir  %{_sysconfdir}/sysconfig
%_logrotatedir  %{_sysconfdir}/logrotate.d

Note that 128 will get you xvmc for via back, but you may want to play
with rebuilding rpms anyway. Please: any followups on rebuilding,
specfile mods and the like to atrpms-devel :=)
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-users/attachments/20060506/da1e6d89/attachment.bin


More information about the atrpms-users mailing list