|
Martin109
|
 |
« on: July 01, 2009, 06:51:39 am » |
|
I've found get_iplayer, but don't know how to get it to work. If I download and unpack the generic Linux tarball, I get a Perl script, but can't get this to work. Any ideas where I am going wrong?
|
|
|
|
« Last Edit: January 08, 2011, 08:52:17 am by Martin109 »
|
Logged
|
Compaq Armada E500, i686 Pentium III, 512Mb RAM, 3.2 Gb HDD, running Vector Linux 5.9 Standard
Fujitsu Lifebook, i686 Pentium M, 1.7 GHz, 1028Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
Compaq Evo, i686 Pentium M, 1.4 GHz, 512Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
|
|
|
|
Martin109
|
 |
« Reply #1 on: July 01, 2009, 09:11:51 am » |
|
OK, now when I try to run this script, I'm getting: Can't locate HTML/Entities.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i486-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i496-linux-thread-multi /usr/lib/perl5/site-perl/5.8.8 /usr/lib/perl5/site_perl .) at /usr/local/bin/get_iplayer line 60. BEGIN failed--compilation aborted at /usr/local/bin/get_iplayer line 60.
|
|
|
|
|
Logged
|
Compaq Armada E500, i686 Pentium III, 512Mb RAM, 3.2 Gb HDD, running Vector Linux 5.9 Standard
Fujitsu Lifebook, i686 Pentium M, 1.7 GHz, 1028Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
Compaq Evo, i686 Pentium M, 1.4 GHz, 512Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
|
|
|
|
Daniel
|
 |
« Reply #2 on: July 01, 2009, 12:27:00 pm » |
|
Do you have perl 5.8 and perl-LWP installed? The readme file says that those two are dependancies.
|
|
|
|
|
Logged
|
The following sentence is true. The previous sentence is false.
VL 6.0 SOHO KDE-Classic on 2.3 Ghz Dual-core AMD with 3 Gigs of RAM
|
|
|
kidd
Packager
Vectorian
   
Posts: 682
|
 |
« Reply #3 on: July 01, 2009, 12:45:04 pm » |
|
Martin, As Daniel said, make sure you have LWP installed. You can try it with the following command perl -MLWP -e 0
if it outputs no error, it means you have it. if you have lwp installed, then you should only need HTML::Entities. as root cpan HTML::Entities
|
|
|
|
|
Logged
|
|
|
|
|
Martin109
|
 |
« Reply #4 on: July 01, 2009, 01:31:52 pm » |
|
I obviously haven't got LWP installed, as I get a similar error ("Can't locate LWP.pm"). So, how do I install it?
|
|
|
|
|
Logged
|
Compaq Armada E500, i686 Pentium III, 512Mb RAM, 3.2 Gb HDD, running Vector Linux 5.9 Standard
Fujitsu Lifebook, i686 Pentium M, 1.7 GHz, 1028Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
Compaq Evo, i686 Pentium M, 1.4 GHz, 512Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
|
|
|
kidd
Packager
Vectorian
   
Posts: 682
|
 |
« Reply #5 on: July 01, 2009, 02:11:52 pm » |
|
as root you have to run cpan LWP If it's the first time using cpan, you'll be asked some questions. default values mostly work.
|
|
|
|
|
Logged
|
|
|
|
|
Martin109
|
 |
« Reply #6 on: July 01, 2009, 02:43:14 pm » |
|
It did multiple make passes and searches for components, but in the end came up with: Running make install make had returned bad status, install seems impossible  Thanks for the help so far, by the way!
|
|
|
|
|
Logged
|
Compaq Armada E500, i686 Pentium III, 512Mb RAM, 3.2 Gb HDD, running Vector Linux 5.9 Standard
Fujitsu Lifebook, i686 Pentium M, 1.7 GHz, 1028Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
Compaq Evo, i686 Pentium M, 1.4 GHz, 512Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
|
|
|
|
Martin109
|
 |
« Reply #7 on: July 25, 2009, 09:51:51 am » |
|
As a relative newbie, I'm struggling to remember what it is I need to do to install any tar file I've downloaded!
What I've downloaded is:
libwww-perl-5.829.tar.gz
Is that correct? What do I do with it now?
|
|
|
|
|
Logged
|
Compaq Armada E500, i686 Pentium III, 512Mb RAM, 3.2 Gb HDD, running Vector Linux 5.9 Standard
Fujitsu Lifebook, i686 Pentium M, 1.7 GHz, 1028Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
Compaq Evo, i686 Pentium M, 1.4 GHz, 512Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
|
|
|
Anuhas
Member

Posts: 1
|
 |
« Reply #8 on: August 17, 2009, 02:38:54 pm » |
|
You don't need to download libwww-perl-5.829.tar.gz separately. You need to install 'gcc' first, if you are getting an error with make. Then type those previous commands. I know for sure as I just tried.
|
|
|
|
|
Logged
|
|
|
|
|
Martin109
|
 |
« Reply #9 on: August 18, 2009, 12:01:38 pm » |
|
Thanks! I'm away from my Linux box on holiday at the moment, but I will do this when I get back in September.
|
|
|
|
|
Logged
|
Compaq Armada E500, i686 Pentium III, 512Mb RAM, 3.2 Gb HDD, running Vector Linux 5.9 Standard
Fujitsu Lifebook, i686 Pentium M, 1.7 GHz, 1028Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
Compaq Evo, i686 Pentium M, 1.4 GHz, 512Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
|
|
|
|
Martin109
|
 |
« Reply #10 on: January 08, 2011, 08:51:19 am » |
|
It's only 18 months since I started this so here goes: I've now got Perl working. A command perl -V produces: Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=linux, osvers=2.6.26.6, archname=i586-linux-thread-multi uname='linux vector.linux.net 2.6.26.6 #1 smp preempt sun oct 12 18:43:56 mdt 2008 i686 intel(r) pentium(r) d cpu 3.40ghz genuineintel gnulinux ' config_args='-de -Dprefix=/usr -Dvendorprefix=/usr -Dcccdlflags=-fPIC -Dinstallprefix=/usr -Doptimize=-O2 -march=i586 -mtune=i686 -Dusethreads -Duseithreads -Dpager=/usr/bin/less -isr -Dinc_version_list=5.8.8 5.8.7 5.8.6 5.8.5 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0 -Darchname=i586-linux' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -march=i586 -mtune=i686', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.2.3', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.7.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.7' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -march=i586 -mtune=i686 -L/usr/local/lib'
Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Oct 31 2008 17:21:38 @INC: /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .
Now for get_iplayer. I've used the instructions on this site and adapted them for VL, with all the steps outlined completing OK. However, when I issue the command perl get_iplayer, I get this output: get_iplayer v2.78, Copyright (C) 2008-2010 Phil Lewis This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty. This is free software, and you are welcome to redistribute it under certain conditions; use --conditions for details.
WARNING: Running the updater again to obtain plugins. INFO: Current version is 2.78 INFO: Checking for latest version from www.infradead.org ERROR: Failed to connect to update site - Update aborted
If I manually enter http://www.infradead.org into Firefox, I get: No Comment
If you're looking for the Linux-MTD pages, try here.
There's a page with some useful information for anyone who may be interested in offering me employment
|
|
|
|
|
Logged
|
Compaq Armada E500, i686 Pentium III, 512Mb RAM, 3.2 Gb HDD, running Vector Linux 5.9 Standard
Fujitsu Lifebook, i686 Pentium M, 1.7 GHz, 1028Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
Compaq Evo, i686 Pentium M, 1.4 GHz, 512Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
|
|
|
|
bigpaws
|
 |
« Reply #11 on: January 08, 2011, 09:09:11 am » |
|
|
|
|
|
|
Logged
|
|
|
|
|
Martin109
|
 |
« Reply #12 on: January 08, 2011, 09:46:42 am » |
|
Yes, I've seen that page and pages it links to. For example: Released versions of get_iplayer can be downloaded from http://ftp://ftp.infradead.org/pub/get_iplayer/. The latest version is v2.78.but this doesn't explain why get_iplayer is looking at www.infradead.org, instead of http://ftp://ftp.infradead.org/pub/get_iplayer/
|
|
|
|
|
Logged
|
Compaq Armada E500, i686 Pentium III, 512Mb RAM, 3.2 Gb HDD, running Vector Linux 5.9 Standard
Fujitsu Lifebook, i686 Pentium M, 1.7 GHz, 1028Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
Compaq Evo, i686 Pentium M, 1.4 GHz, 512Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard
|
|
|
|