Message ID | 20050216171333.GA8581@linuxtv.org |
---|---|
State | New |
Headers |
Received: from ipx10786.ipxserver.de ([80.190.251.108] helo=allen.werkleitz.de) by www.linuxtv.org with esmtp (Exim 4.34) id 1D1SiH-00055Z-Lv for vdr@linuxtv.org; Wed, 16 Feb 2005 18:11:45 +0100 Received: from pd9e73e3a.dip.t-dialin.net ([217.231.62.58] helo=abc.local) by allen.werkleitz.de with esmtpsa (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.44) id 1D1Shg-00050I-BC for vdr@linuxtv.org; Wed, 16 Feb 2005 18:11:16 +0100 Received: from js by abc.local with local (Exim 3.35 #1 (Debian)) id 1D1Sk1-0002QD-00 for <vdr@linuxtv.org>; Wed, 16 Feb 2005 18:13:33 +0100 Date: Wed, 16 Feb 2005 18:13:33 +0100 From: Johannes Stezenbach <js@linuxtv.org> To: vdr@linuxtv.org Message-ID: <20050216171333.GA8581@linuxtv.org> Mail-Followup-To: Johannes Stezenbach <js@linuxtv.org>, vdr@linuxtv.org References: <008d01c51415$55133cc0$be95b984@nsctechnology.com> <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA6B3JW8I230+fq5wrGgkhYcKAAAAQAAAAumgZ5H7T/ke2Lbf5wmtKhQEAAAAA@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA6B3JW8I230+fq5wrGgkhYcKAAAAQAAAAumgZ5H7T/ke2Lbf5wmtKhQEAAAAA@gmx.net> User-Agent: Mutt/1.5.6+20040907i X-SA-Exim-Connect-IP: 217.231.62.58 Subject: Re: [vdr] VDR working under FC3? X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on allen.werkleitz.de X-Spam-Level: X-Spam-Status: No, score=-0.5 required=4.0 tests=AWL,BAYES_00, RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL autolearn=no version=3.0.2 X-SA-Exim-Version: 4.2 (built Tue, 25 Jan 2005 19:36:50 +0100) X-SA-Exim-Scanned: Yes (on allen.werkleitz.de) X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Klaus Schmidinger's VDR <vdr@linuxtv.org> List-Id: Klaus Schmidinger's VDR <vdr.linuxtv.org> List-Unsubscribe: <http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr>, <mailto:vdr-request@linuxtv.org?subject=unsubscribe> List-Archive: <http://www.linuxtv.org/pipermail/vdr> List-Post: <mailto:vdr@linuxtv.org> List-Help: <mailto:vdr-request@linuxtv.org?subject=help> List-Subscribe: <http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr>, <mailto:vdr-request@linuxtv.org?subject=subscribe> X-List-Received-Date: Wed, 16 Feb 2005 17:11:45 -0000 Status: O X-Status: X-Keywords: X-UID: 123 |
Commit Message
Johannes Stezenbach
Feb. 16, 2005, 5:13 p.m. UTC
HGM.bg (GMX) wrote: > Linux TV wrote: > > Looks like something getting spit out of > > /usr/include/linux/dvb/video.h , /usr/include/linux/dvb/osd.h and > > vdr/dvbdevice.c ?? > > Just remove __user in osd.h (1x) and video.h (1x) and everything is > fine, i need this for FC2, too ! The following patch should also work: Johannes
Comments
Applied the patch. Now get : [root@nzbaxters VDR]# make In file included from dvbdevice.c:10: dvbdevice.h:20:2: #error VDR requires Linux DVB driver API version 3! In file included from dvbosd.h:14, from dvbosd.c:10: dvbdevice.h:20:2: #error VDR requires Linux DVB driver API version 3! In file included from eitscan.c:13: dvbdevice.h:20:2: #error VDR requires Linux DVB driver API version 3! In file included from vdr.c:40: dvbdevice.h:20:2: #error VDR requires Linux DVB driver API version 3! make: *** [.dependencies] Error 1 make: *** Deleting file `.dependencies' [root@nzbaxters VDR]# ----- Original Message ----- From: "Johannes Stezenbach" <js@linuxtv.org> To: <vdr@linuxtv.org> Sent: Wednesday, February 16, 2005 5:13 PM Subject: Re: [vdr] VDR working under FC3? > HGM.bg (GMX) wrote: >> Linux TV wrote: >> > Looks like something getting spit out of >> > /usr/include/linux/dvb/video.h , /usr/include/linux/dvb/osd.h and >> > vdr/dvbdevice.c ?? >> >> Just remove __user in osd.h (1x) and video.h (1x) and everything is >> fine, i need this for FC2, too ! > > The following patch should also work: > > --- vdr-1.3.21/Makefile.orig 2005-02-16 18:07:22.000000000 +0100 > +++ vdr-1.3.21/Makefile 2005-02-16 18:09:03.000000000 +0100 > @@ -68,6 +68,9 @@ > > DEFINES += -D_GNU_SOURCE > > +# backwards compat for DVB API headers on systems with out-of-date > linux/compiler.h > +DEFINES += -D__user > + > DEFINES += -DVIDEODIR=\"$(VIDEODIR)\" > DEFINES += -DPLUGINDIR=\"$(PLUGINLIBDIR)\" > > > Johannes > > _______________________________________________ > vdr mailing list > vdr@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 > >
Linux TV wrote: > Applied the patch. Now get : > > [root@nzbaxters VDR]# make > In file included from dvbdevice.c:10: > dvbdevice.h:20:2: #error VDR requires Linux DVB driver API version 3! > In file included from dvbosd.h:14, > from dvbosd.c:10: > dvbdevice.h:20:2: #error VDR requires Linux DVB driver API version 3! > In file included from eitscan.c:13: > dvbdevice.h:20:2: #error VDR requires Linux DVB driver API version 3! > In file included from vdr.c:40: > dvbdevice.h:20:2: #error VDR requires Linux DVB driver API version 3! > make: *** [.dependencies] Error 1 > make: *** Deleting file `.dependencies' > [root@nzbaxters VDR]# > > Now you are missing the 2.6 DVB userspace headers. The following files should be in /usr/include/linux/dvb/ audio.h ca.h dmx.h frontend.h net.h osd.h version.h video.h Regards,
On Wed, 2005-02-16 at 09:57 -0800, C.Y.M wrote: > Now you are missing the 2.6 DVB userspace headers. The following files should > be in /usr/include/linux/dvb/ That's /lib/modules/$(uname -r)/build/include/linux/dvb/ on FC3. > audio.h ca.h dmx.h frontend.h net.h osd.h version.h video.h This in vdr's Make.config works for me: DVBDIR = /lib/modules/$(shell uname -r)/build
Linux TV wrote: > Applied the patch. Now get : > > [root@nzbaxters VDR]# make > In file included from dvbdevice.c:10: > dvbdevice.h:20:2: #error VDR requires Linux DVB driver API version 3! > In file included from dvbosd.h:14, > from dvbosd.c:10: > dvbdevice.h:20:2: #error VDR requires Linux DVB driver API version 3! > In file included from eitscan.c:13: > dvbdevice.h:20:2: #error VDR requires Linux DVB driver API version 3! > In file included from vdr.c:40: > dvbdevice.h:20:2: #error VDR requires Linux DVB driver API version 3! > make: *** [.dependencies] Error 1 > make: *** Deleting file `.dependencies' > [root@nzbaxters VDR]# ->Makefile DVBDIR = ../DVB/linux If you use cvs-kernel drivers as supposed by vdr /hgm.bg
Ville Skyttä wrote: > On Wed, 2005-02-16 at 09:57 -0800, C.Y.M wrote: > > >>Now you are missing the 2.6 DVB userspace headers. The following files should >>be in /usr/include/linux/dvb/ > > > That's /lib/modules/$(uname -r)/build/include/linux/dvb/ on FC3. > > >>audio.h ca.h dmx.h frontend.h net.h osd.h version.h video.h > > > This in vdr's Make.config works for me: > > DVBDIR = /lib/modules/$(shell uname -r)/build > What you are pointing to are the kernel headers, not the userspace headers. There is a big difference. Even though pointing to the kernel headers may work, it does not give the kernel and userspace separation. Best Regards,
Ok - all compiling gremlins now sorted. Now what? It's running : Feb 17 09:52:42 nzbaxters vdr[6416]: VDR version 1.2.6 started Feb 17 09:52:42 nzbaxters vdr[6416]: loading /fifty/video/sources.conf Feb 17 09:52:42 nzbaxters vdr[6416]: loading /fifty/video/channels.conf Feb 17 09:52:42 nzbaxters vdr[6416]: found 1 video device Feb 17 09:52:42 nzbaxters vdr[6416]: setting primary device to 1 Feb 17 09:52:42 nzbaxters vdr[6416]: device 1 has no MPEG decoder Feb 17 09:52:42 nzbaxters vdr[6416]: SVDRP listening on port 2001 what do I control it with? ----- Original Message ----- From: "Ville Skyttä" <ville.skytta@iki.fi> To: <vdr@linuxtv.org> Sent: Wednesday, February 16, 2005 7:28 PM Subject: Re: [vdr] VDR working under FC3? > On Wed, 2005-02-16 at 09:57 -0800, C.Y.M wrote: > >> Now you are missing the 2.6 DVB userspace headers. The following files >> should >> be in /usr/include/linux/dvb/ > > That's /lib/modules/$(uname -r)/build/include/linux/dvb/ on FC3. > >> audio.h ca.h dmx.h frontend.h net.h osd.h version.h video.h > > This in vdr's Make.config works for me: > > DVBDIR = /lib/modules/$(shell uname -r)/build > > > _______________________________________________ > vdr mailing list > vdr@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 > >
On Thu, 2005-02-17 at 09:59 +0000, Linux TV wrote: > > Feb 17 09:52:42 nzbaxters vdr[6416]: device 1 has no MPEG decoder When you are not using a full featured card, you need a different output method, either the softdevice plugin or the xine plugin. The softdevice plugin is at softdevice.berlios.de.
I understand that - but I should still be able to record and schedule without viewing? The idea of using VDR was I thought could schedule and record from an ssh connection, without needing X ? ----- Original Message ----- From: "Torgeir Veimo" <torgeir@pobox.com> To: <vdr@linuxtv.org> Sent: Thursday, February 17, 2005 10:02 AM Subject: Re: [vdr] VDR working under FC3? > On Thu, 2005-02-17 at 09:59 +0000, Linux TV wrote: >> >> Feb 17 09:52:42 nzbaxters vdr[6416]: device 1 has no MPEG decoder > > When you are not using a full featured card, you need a different output > method, either the softdevice plugin or the xine plugin. The softdevice > plugin is at softdevice.berlios.de. > > -- > Torgeir Veimo <torgeir@pobox.com> > > > _______________________________________________ > vdr mailing list > vdr@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 > >
On Thursday 17 February 2005 11:29, Linux TV wrote: > I understand that - but I should still be able to record and schedule > without viewing? > > The idea of using VDR was I thought could schedule and record from an ssh > connection, without needing X ? You can use svdrpsend.pl, but its not that straight forward. Or install vdradmin, which is proably more what you intended. I prefer the xine plugin for output. Softdevice has the output window always running when vdr runs, which is not very usable for a desktop system. --Stefan PS: would be nice if you would use some normal name for your identity, as you are probably not /the/ "Linux TV".
Thanks - and I guess so! Will change the mail account alias. Simon ----- Original Message ----- From: "Stefan Taferner" <taferner@kde.org> To: <vdr@linuxtv.org> Sent: Thursday, February 17, 2005 11:13 AM Subject: Re: [vdr] VDR working under FC3? > On Thursday 17 February 2005 11:29, Linux TV wrote: >> I understand that - but I should still be able to record and schedule >> without viewing? >> >> The idea of using VDR was I thought could schedule and record from an ssh >> connection, without needing X ? > > You can use svdrpsend.pl, but its not that straight forward. > Or install vdradmin, which is proably more what you intended. > > I prefer the xine plugin for output. Softdevice has the output window > always > running when vdr runs, which is not very usable for a desktop system. > > --Stefan > > PS: would be nice if you would use some normal name for your identity, as > you are probably not /the/ "Linux TV". > > _______________________________________________ > vdr mailing list > vdr@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 > >
Linux TV wrote: > I understand that - but I should still be able to record and schedule > without viewing? Not with VDR, it has the concept, that at least one "output" device must be available. You can reach that goal with software-implementations like xine/softdevice, but this is absolutly needed for running VDR. > The idea of using VDR was I thought could schedule and record from an > ssh connection, without needing X ? I don't know the softdevice/xine solution (if these are working w/o X), but the easiest way to control vdr remote is vdradmin, which gives you lean and clean HTML-interface to VDR. /hgm.bg
Ok. got the tarball and unpacked. vdradmind.pl is failing on ' use Compress::Zlib; ' [root@nzbaxters vdradmin-0.96]# ./vdradmind.pl --config Can't locate Compress/Zlib.pm in @INC (@INC contains: ./lib/ /usr/share/vdradmin/lib /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/5.8.4 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/5.8.3 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/5.8.2 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/5.8.1 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/5.8.0 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/5.8.4 /usr/lib/perl5/site_perl/5.8.5/5.8.3 /usr/lib/perl5/site_perl/5.8.5/5.8.2 /usr/lib/perl5/site_perl/5.8.5/5.8.1 /usr/lib/perl5/site_perl/5.8.5/5.8.0 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at ./vdradmind.pl line 108. BEGIN failed--compilation aborted at ./vdradmind.pl line 108. hmm, doesn't look good! Another FC3 thing?? I must say, the help available on this forum is 2nd to none. I'm really enjoying the learning curve!! ----- Original Message ----- From: "Stefan Taferner" <taferner@kde.org> To: <vdr@linuxtv.org> Sent: Thursday, February 17, 2005 11:13 AM Subject: Re: [vdr] VDR working under FC3? > On Thursday 17 February 2005 11:29, Linux TV wrote: >> I understand that - but I should still be able to record and schedule >> without viewing? >> >> The idea of using VDR was I thought could schedule and record from an ssh >> connection, without needing X ? > > You can use svdrpsend.pl, but its not that straight forward. > Or install vdradmin, which is proably more what you intended. > > I prefer the xine plugin for output. Softdevice has the output window > always > running when vdr runs, which is not very usable for a desktop system. > > --Stefan > > PS: would be nice if you would use some normal name for your identity, as > you are probably not /the/ "Linux TV". > > _______________________________________________ > vdr mailing list > vdr@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 > >
On Thu, Feb 17, 2005 at 11:37:28AM -0000, Simon Baxter wrote: > Ok. got the tarball and unpacked. > > vdradmind.pl is failing on ' use Compress::Zlib; ' That's an easy one: Type "perl -MCPAN -e shell" (as root), follow the instructions (the default is usually Ok), then type "install Compress:Zlib". Michael
Did I do something wrong? [root@nzbaxters VDR]# perl -MCPAN -e shell Terminal does not support AddHistory. cpan shell -- CPAN exploration and modules installation (v1.7601) ReadLine support available (try 'install Bundle::CPAN') cpan> install Compress:Zlib CPAN: Storable loaded ok CPAN: LWP::UserAgent loaded ok Fetching with LWP: ftp://ftp.demon.co.uk/pub/CPAN/authors/01mailrc.txt.gz Going to read /root/.cpan/sources/authors/01mailrc.txt.gz Fetching with LWP: ftp://ftp.demon.co.uk/pub/CPAN/modules/02packages.details.txt.gz Going to read /root/.cpan/sources/modules/02packages.details.txt.gz Database was generated on Thu, 17 Feb 2005 14:39:54 GMT Fetching with LWP: ftp://ftp.demon.co.uk/pub/CPAN/modules/03modlist.data.gz Going to read /root/.cpan/sources/modules/03modlist.data.gz Going to write /root/.cpan/Metadata Warning: Cannot install Compress:Zlib, don't know what it is. Try the command i /Compress:Zlib/ to find objects with matching identifiers. cpan> i /Compress:Zlib/ Caught SIGINT No objects found of any type for argument /Compress:Zlib/ cpan> install Compress:Zlib Warning: Cannot install Compress:Zlib, don't know what it is. Try the command i /Compress:Zlib/ to find objects with matching identifiers. cpan> Thanks, Simon ----- Original Message ----- From: "Michael Ritzert" <mritzert@rumms.uni-mannheim.de> To: "Klaus Schmidinger's VDR" <vdr@linuxtv.org> Sent: Thursday, February 17, 2005 11:44 AM Subject: Re: [vdr] VDRadmin working under FC3? > On Thu, Feb 17, 2005 at 11:37:28AM -0000, Simon Baxter wrote: >> Ok. got the tarball and unpacked. >> >> vdradmind.pl is failing on ' use Compress::Zlib; ' > > That's an easy one: > Type "perl -MCPAN -e shell" (as root), follow the instructions (the > default > is usually Ok), then type "install Compress:Zlib". > > Michael > > > _______________________________________________ > vdr mailing list > vdr@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005 > >
On Thu, 2005-02-17 at 21:55 +0000, Simon Baxter wrote: > Did I do something wrong? > > [root@nzbaxters VDR]# perl -MCPAN -e shell Compress::Zlib comes with FC3, try "yum install perl-Compress-Zlib".
--- vdr-1.3.21/Makefile.orig 2005-02-16 18:07:22.000000000 +0100 +++ vdr-1.3.21/Makefile 2005-02-16 18:09:03.000000000 +0100 @@ -68,6 +68,9 @@ DEFINES += -D_GNU_SOURCE +# backwards compat for DVB API headers on systems with out-of-date linux/compiler.h +DEFINES += -D__user + DEFINES += -DVIDEODIR=\"$(VIDEODIR)\" DEFINES += -DPLUGINDIR=\"$(PLUGINLIBDIR)\"