[mythtv] atrpms, ivtv and compiling from source
Jarod C. Wilson
jcw at wilsonet.com
Tue Sep 9 11:19:49 EDT 2003
On Tuesday, mythdev at cue.cc wrote:
> I have been experiencing problems with the msp3400 driver from the ivtv
> project.
>
> The guys on the #ivtv-dev channel were great, but we didnt get to a
> final fix. I'm still having problems with sound not being encoded, and
> the msp3400 driver reporting IO Errors.
More details. We can try to help...
> I want to compile the ivtv source atrpm but rpmbuild is reporting an
> error:
>
> [root at zuul src]# apt-get --compile source ivtv
> <snip>
> Installing ivtv-0.12-cvs20030813_12.rh9.at.src.rpm
> error: line 1: Unknown tag: %kernelmodule ivtv
> Build command 'rpmbuild --rebuild
> ivtv-0.12-cvs20030813_12.rh9.at.src.rpm' failed.
> E: Child process failed
>
>
> I have emailed Axel Thimm privately about it, but have not heard back
> (I
> might have been a bit vague).
>
> Looking around the web I cannot find any reference to people building
> atrpms from source. It looks like the spec file needs pre-processing
> by
> some apt tool?? That would replace those '%kernelmodule' type tags
> that
> are breaking the rpmbuild?
Yes, there are several rpmmacros Axel uses that you would need to have
defined in order to build straight off his spec files. They require
some fairly heavy hacking to get around that, but it can be done (I've
done it myself for other ATrpms packages), but you have to install the
.src.rpm file, edit the spec file, then rpmbuild -ba ivtv.spec.
> I would really like to be able to do that to avoid breaking the
> intricate dependecy chain that is setup by using apt-get to install
> myth-suite :)
Well, ivtv is NOT in the mythtv-suite dependency chain. No drivers are,
only software components, since people use a variety of different
drivers for different cards. The only deps to worry about are
perl-Video-ivtv and perl-Video-Frequencies, I believe, which are
explicitly defined as deps in the spec file, so you won't be breaking
any dependency chains if you alter the macros in the spec file for
which you don't have definitions.
--Jarod
--
Jarod C. Wilson, RHCE
Got a question? Read this first...
http://catb.org/~esr/faqs/smart-questions.html
MythTV, Red Hat Linux 9 & ATrpms documentation:
http://pvrhw.goldfish.org/tiki-page.php?pageName=rh9pvr250
More information about the mythtv-dev
mailing list