Closed GoogleCodeExporter closed 9 years ago
This needs installing. For Debian I plan to upload a copy.
Original comment by njtaylor...@gmail.com
on 21 Mar 2013 at 12:45
It is installed! See the last bit of info I provided. While a bit of a crude
way to prove it is installed, it is installed...
Original comment by jstee...@gmail.com
on 21 Mar 2013 at 9:33
Your original issue, was deleted. I had to restore the issue.
The download works on OpenBSD amd64 (Perl 5.12), also tried on Debian Squeeze
(Perl 5.10) works also. So looking for a reason why on two versions of perl
these lines at the very start of the plugin work, but fail on your version.
unless(eval { require Data::AMF::Packet }) {
die "Must have Data::AMF::Packet installed to download ustream videos";
}
Possible that a later or earlier version of perl has changed
Check installed/version...
$ perl -MData::AMF -e 'print $Data::AMF::VERSION."\n";'
0.09
Check for compile issues...
$ perl -c `perldoc -l Data::AMF::Packet`
/usr/local/libdata/perl5/site_perl/Data/AMF/Packet.pm syntax OK
$ perl -c `perldoc -l Data::AMF`
/usr/local/libdata/perl5/site_perl/Data/AMF.pm syntax OK
Check lines work...
$ perl -e 'unless(eval { require Data::AMF::Packet }) {die "fail find $@"};
print "ok\n";'
ok
If that fails it should give an error like so...
$ perl -e 'unless(eval { require Data::AMF::Packet1 }) {die "fail find $@"};
print "ok\n";'
fail find Can't locate Data/AMF/Packet1.pm in @INC (@INC contains:
/usr/local/libdata/perl5/site_perl/amd64-openbsd
/usr/libdata/perl5/site_perl/amd64-openbsd /usr/local/libdata/perl5/site_perl
/usr/libdata/perl5/site_perl /usr/libdata/perl5/amd64-openbsd/5.12.2
/usr/local/libdata/perl5/amd64-openbsd/5.12.2 /usr/libdata/perl5
/usr/local/libdata/perl5 .) at -e line 1.
Original comment by njtaylor...@gmail.com
on 21 Mar 2013 at 11:28
Thanks for the info. By running any of those commands it complained: "Can't
locate Any/Moose.pm", so I installed perl-any-moose and everything worked fine,
even downloading from ustream! Thanks again.
Original comment by jstee...@gmail.com
on 21 Mar 2013 at 6:41
I shall close this, from this
http://cpansearch.perl.org/src/TYPESTER/Data-AMF-0.09/Makefile.PL
It shows Any/Moose is a required perl module, should get automatically
installed then the Data::AMF was installed. That's no longer a g-f-v issue
rather an issue possibly with packaging of Data:AMF. Good that it's working.
Closing as fixed. No code changes made.
Original comment by njtaylor...@gmail.com
on 21 Mar 2013 at 7:16
Original issue reported on code.google.com by
jstee...@gmail.com
on 19 Mar 2013 at 9:06