Hello, I am busy trying to get my Haupauge WinTV-PVR 350 installed. It looks promising, because it is recognised. I follow the directions for 9.3 on http://www.homerengineeringcorp.net/mythtv/ I get to the part where I need to get Video::Frequencies installed. The other two go fine through `perl Makefile.PL`, `make` and `make install`. Video::Frequencies however does not seem to do this. I use http://search.cpan.org/~mlehmann/Video-Capture-V4l-0.225/Frequencies.pm the file Video-Capture-V4l-0.225.tar.gz I am able to do `perl Makefile.PL`. With `make` it gives an error. Below the output when I run `make` a second time: I also tried `perl -MCPAN -c shell` and do it from there with the same result. Under SUSE 9.1 I can do the `make`. No idea if this is SUSE 10.0 RC1 related, perl related or something else. Because of that I also have no idea where to look for a solution or who would be the best to report the problem to. If you want to try yourself the URL for the file is: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Video-Capture-V4l-0.225... Here is the output: [14:59:36] [~/tmp/perl/Video-Capture-V4l-0.225] houghi@linux : make make[1]: Entering directory `/home/houghi/tmp/perl/Video-Capture-V4l-0.225/V4l' make[1]: Leaving directory `/home/houghi/tmp/perl/Video-Capture-V4l-0.225/V4l' make[1]: Entering directory `/home/houghi/tmp/perl/Video-Capture-V4l-0.225/VBI' make[1]: Leaving directory `/home/houghi/tmp/perl/Video-Capture-V4l-0.225/VBI' make[1]: Entering directory `/home/houghi/tmp/perl/Video-Capture-V4l-0.225/RTjpeg' cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_ FILE_OFFSET_BITS=64 -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall -pipe -DVERSI ON=\"0.012\" -DXS_VERSION=\"0.012\" -o codec/RTjpeg.o codec/RTjpeg.c codec/RTjpeg.c: In function â200230RTjpeg_b2sâ200231: codec/RTjpeg.c:99: error: invalid lvalue in assignment make[1]: *** [codec/RTjpeg.o] Error 1 make[1]: Leaving directory `/home/houghi/tmp/perl/Video-Capture-V4l-0.225/RTjpeg' make: *** [subdirs] Error 2 houghi -- Quote correct (NL) http://www.briachons.org/art/quote/ Zitiere richtig (DE) http://www.afaik.de/usenet/faq/zitieren Quote correctly (EN) http://www.netmeister.org/news/learn2quote.html
On Monday 19 September 2005 01:37, houghi wrote:
No idea if this is SUSE 10.0 RC1 related, perl related or something else.
It's gcc 4 related. In gcc 4 you are no longer allowed to cast an lvalue (basically the left hand side of an assignment). The program needs to be patched to work with gcc 4.x
On Mon, Sep 19, 2005 at 01:55:23AM +0200, Anders Johansson wrote:
On Monday 19 September 2005 01:37, houghi wrote:
No idea if this is SUSE 10.0 RC1 related, perl related or something else.
It's gcc 4 related. In gcc 4 you are no longer allowed to cast an lvalue (basically the left hand side of an assignment). The program needs to be patched to work with gcc 4.x
Darn. So I am stuck till somebody fixes it. I am unable to do that. Will mail the authors. Thanks for the feedback. houghi -- Quote correct (NL) http://www.briachons.org/art/quote/ Zitiere richtig (DE) http://www.afaik.de/usenet/faq/zitieren Quote correctly (EN) http://www.netmeister.org/news/learn2quote.html
On Monday 19 September 2005 02:15, houghi wrote:
On Mon, Sep 19, 2005 at 01:55:23AM +0200, Anders Johansson wrote:
On Monday 19 September 2005 01:37, houghi wrote:
No idea if this is SUSE 10.0 RC1 related, perl related or something else.
It's gcc 4 related. In gcc 4 you are no longer allowed to cast an lvalue (basically the left hand side of an assignment). The program needs to be patched to work with gcc 4.x
Darn. So I am stuck till somebody fixes it. I am unable to do that. Will mail the authors. Thanks for the feedback.
cd RTjpeg/codec/modules and apply --- RTb2s.c.orig 2005-09-19 02:07:33.564504000 +0200 +++ RTb2s.c 2005-09-19 02:08:12.290924250 +0200 @@ -2,7 +2,7 @@ { int ci=1, co=1, tmp; - (u8)strm[0]=(u8)(data[RTjpeg_ZZ[0]]>254) ? 254: ((data[RTjpeg_ZZ[0]]<0)?0:data[RTjpeg_ZZ[0]]); + strm[0]=(u8)(data[RTjpeg_ZZ[0]]>254) ? 254: ((data[RTjpeg_ZZ[0]]<0)?0:data[RTjpeg_ZZ[0]]); for(ci=1; ci<=bt8; ci++) if(data[RTjpeg_ZZ[ci]]>0) --- RTb2s_raw.c.orig 2005-09-19 02:08:45.264985000 +0200 +++ RTb2s_raw.c 2005-09-19 02:09:56.617444250 +0200 @@ -2,7 +2,7 @@ { int ci=1, co=1, tmp; - (u8)strm[0]=(u8)(data[RTjpeg_ZZ[0]]>254) ? 254: ((data[RTjpeg_ZZ[0]]<0)?0:data[RTjpeg_ZZ[0]]); + strm[0]=(u8)(data[RTjpeg_ZZ[0]]>254) ? 254: ((data[RTjpeg_ZZ[0]]<0)?0:data[RTjpeg_ZZ[0]]); for(ci=1; ci<=63; ci++) if(data[RTjpeg_ZZ[ci]]>0) and then cd RTjpeg and edit the Makefile.PL to make it codec/RTjpeg.o: codec/RTjpeg.c codec/RTjpeg.h \$(CCCMD) -fPIC -o \$@ \$< EOF } After that it compiles
On Mon, Sep 19, 2005 at 02:32:40AM +0200, Anders Johansson wrote: OK. This will sound stupid, but how do I apply this?
--- RTb2s.c.orig 2005-09-19 02:07:33.564504000 +0200 +++ RTb2s.c 2005-09-19 02:08:12.290924250 +0200
<snip>
for(ci=1; ci<=63; ci++) if(data[RTjpeg_ZZ[ci]]>0)
<snip> The rest I can do. Thanks for the fast solution. houghi -- Quote correct (NL) http://www.briachons.org/art/quote/ Zitiere richtig (DE) http://www.afaik.de/usenet/faq/zitieren Quote correctly (EN) http://www.netmeister.org/news/learn2quote.html
On Monday 19 September 2005 02:47, houghi wrote:
On Mon, Sep 19, 2005 at 02:32:40AM +0200, Anders Johansson wrote:
OK. This will sound stupid, but how do I apply this?
Well, it's small, so the simplest way is to just edit those two files (RTjpeg/codec/modules/RTb2s.c and RTb2s_raw.c) and delete the initial (u8) from line 5 of each file Note that for this to have any effect, you should then so a "make clean" and start over with "perl Makefile.PL" again
On Mon, Sep 19, 2005 at 02:57:52AM +0200, Anders Johansson wrote:
On Monday 19 September 2005 02:47, houghi wrote:
On Mon, Sep 19, 2005 at 02:32:40AM +0200, Anders Johansson wrote:
OK. This will sound stupid, but how do I apply this?
Well, it's small, so the simplest way is to just edit those two files (RTjpeg/codec/modules/RTb2s.c and RTb2s_raw.c) and delete the initial (u8) from line 5 of each file
Note that for this to have any effect, you should then so a "make clean" and start over with "perl Makefile.PL" again
OK. That worked. Thanks. It let me see that the file that requested it wanted a newer verzion, wich I was able to locate, download and install. Seems that CPAN is not really up to date. :-( Now the program want another file that I WAS able to install without a problem. At least it did not give any errors: Video::ivtv That gives me: houghi@linux : ./ptune-ui.pl Can't locate loadable object for module Video::ivtv in @INC (@INC contains: /usr /lib/perl5/5.8.7/i586-linux-thread-multi /usr/lib/perl5/5.8.7/usr/lib/perl5/sit e_perl/5.8.7/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/usr/lib/per l5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/i586-linux-thread-multi/usr/lib/p erl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl .) at ./ptune-ui.pl line 10 Compilation failed in require at ./ptune-ui.pl line 10. BEGIN failed--compilation aborted at ./ptune-ui.pl line 10. Ain't this fun. And all this so I can watch TV on my Linux box houghi -- Quote correct (NL) http://www.briachons.org/art/quote/ Zitiere richtig (DE) http://www.afaik.de/usenet/faq/zitieren Quote correctly (EN) http://www.netmeister.org/news/learn2quote.html
Anders Johansson schrieb:
On Monday 19 September 2005 01:37, houghi wrote:
No idea if this is SUSE 10.0 RC1 related, perl related or something else.
It's gcc 4 related. In gcc 4 you are no longer allowed to cast an lvalue (basically the left hand side of an assignment). The program needs to be patched to work with gcc 4.x
I am having a very similar problem with libofx 0.8.0 from http://sourceforge.net/projects/libofx I am getting the following error: tree.hh:72: error: explicit qualification in declaration of `void kp::destructor(T1*)' make[2]: *** [ofx_container_generic.lo] Fehler 1 make[2]: Leaving directory `/usr/src/packages/BUILD/libofx-0.8.0/lib' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/usr/src/packages/BUILD/libofx-0.8.0' make: *** [all] Fehler 2 error: Bad exit status from /var/tmp/rpm-tmp.8440 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.8440 (%build) There already is a bug opened for this due to gcc4 in the sourceforge project. When this bug is solved, I will probably (if everything else works fine ;-)) be able to provide more actual gnucash-packages to the community. rauch
participants (3)
-
Anders Johansson
-
houghi
-
Rauch Christian