Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to install linuxtv-dvb-apps
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
stefbon
n00b
n00b


Joined: 03 Dec 2018
Posts: 26

PostPosted: Sat Feb 02, 2019 6:11 am    Post subject: How to install linuxtv-dvb-apps Reply with quote

Hi,

I want to watch television via DVB-T, using an USB DVB-T card.\
Now I cannot install linuxtv-dvb-apps, I get an error:

Code:
dst_test.c:116:19: error: ‘CA_SET_PID’ undeclared (first use in this function); did you mean ‘CA_GET_CAP’?
  if ((ioctl(cafd, CA_SET_PID)) < 0) {
                   ^~~~~~~~~~
                   CA_GET_CAP


I see there is a fix in a later version, see:

https://packages.gentoo.org/packages/media-tv/linuxtv-dvb-apps

but that is an unstable package. How can I install that?

Stef

PS this package is required for any dvb package.
Back to top
View user's profile Send private message
Phoenix591
Guru
Guru


Joined: 17 Sep 2007
Posts: 485

PostPosted: Sat Feb 02, 2019 7:21 am    Post subject: Reply with quote

you can install unstable versions of individual packages by adding them to /etc/portage/package.accept_keywords like
Code:
media-tv/linuxtv-dvb-apps ~amd64
if you're running an amd64 system ( ~x86 if not)

sometimes you'll run into conflicts that may require accepting unstable versions of other dependencies too, it doesn't seem likely in this case.
Back to top
View user's profile Send private message
stefbon
n00b
n00b


Joined: 03 Dec 2018
Posts: 26

PostPosted: Sat Feb 02, 2019 7:46 am    Post subject: Reply with quote

I've solved the issue by following the thread:


https://forums.gentoo.org/viewtopic-t-804107-start-0.html

though I do not know what I'm doing.

Is there a guide/howto with examples explaining this behaviour of emerge and portage.
(the advanced usage)

Stef
Back to top
View user's profile Send private message
stefbon
n00b
n00b


Joined: 03 Dec 2018
Posts: 26

PostPosted: Sat Feb 02, 2019 7:47 am    Post subject: Reply with quote

g2g591 wrote:
you can install unstable versions of individual packages by adding them to /etc/portage/package.accept_keywords


Thanks.
Stef
Back to top
View user's profile Send private message
Phoenix591
Guru
Guru


Joined: 17 Sep 2007
Posts: 485

PostPosted: Sat Feb 02, 2019 8:29 am    Post subject: Reply with quote

the Wiki has a page on package.keywords/package.accept_keywords
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21631

PostPosted: Sat Feb 02, 2019 5:13 pm    Post subject: Reply with quote

g2g591 wrote:
you can install unstable versions of individual packages by adding them to /etc/portage/package.accept_keywords like
Code:
media-tv/linuxtv-dvb-apps ~amd64
if you're running an amd64 system ( ~x86 if not)
So I should use ~x86 for unstable packages on my PPC, right? ;)

OP: Generally, you should put only the package atom, and no architecture specifiers, in package.accept_keywords entries. This implies accepting unstable for the current architecture, whatever that architecture is. Only specify an architecture if you have unusual requirements, like pulling in a package that has no keywords for your architecture.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum