These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Obsolete macOS XML::LibXML is too old for 3.00

user-1766

Same issue here.

Tried updating XML::LibXML Perl module with the following, but no change.

curl -L "http://cpanmin.us" | perl - -l ~/perl5 XML::LibXML local::lib

'tv.cache' file contains the correct text - programme titles, etc - but in Terminal appear as follows:

3885: XML::LibXML::Text=SCALAR(0x7fdb954a1508) - XML::LibXML::Text=SCALAR(0x7fdb954a3998), S4C, p04yzw23

Any help greatly appreciated, user-2 :)

FWIW, following two errors in build.log for  =XML::LibXML

Cannot write to /System/Library/Perl/Extras/5.12/XML/SAX/ParserDetails.ini: Permission denied at /System/Library/Perl/Extras/5.12/XML/SAX.pm line 191.
make: [install_sax_driver] Error 13 (ignored)
Cannot write to /System/Library/Perl/Extras/5.12/XML/SAX/ParserDetails.ini: Permission denied at /System/Library/Perl/Extras/5.12/XML/SAX.pm line 191.
make: [install_sax_driver] Error 13 (ignored)

user-2

I guess I wouldn't be confident it installed properly. What do you get from:

Code:
perl -MXML::LibXML -e 'print $XML::LibXML::VERSION'

Also post that line for index 3885 in your tv.cache file. Take it out with a text editor, not from the console.

user-1766

I think you're right. Version came back as 1.88, though the build log says:

Successfully installed XML-LibXML-2.0129 (upgraded from 1.88)

Perhaps I need an extra step?

Here's line 3885 from the tv.cache file.

3885|tv|XML::LibXML::Text=SCALAR(0x7fdb954a1508)|p04yzw23|2017-05-02T22:30:00+01:00|1496352600|XML::LibXML::Text=SCALAR(0x7fdb954a3998)|||default|3900|Rhaglen arbennig yn dilyn taith Steff Tywydd a Daf Wyn i Base Camp Everest. A special p...|S4C|||1493836361||http://www.bbc.co.uk/programmes/p04yzw23|

user-2

I think you need to get local::lib set up with cpanminus first, then set environment vars for local::lib, and then install XML::LibXML with cpanm. Follow the instructions in get_iplayer install docs.

user-1766

Sorted!

Wrong bash config file.

echo 'eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib`' >> ~/.bashrc

should be:

echo 'eval `perl -I ~/perl5/lib/perl5 -Mlocal::lib`' >> ~/.bash_profile

Maybe worth updating the guide.

user-2

Bit of edit fail there. Docs repaired to match Linux/BSD instructions.

user-1766

Thanks, user-2. You're a superstar!!

For ex-Get iPlayer Automator Mac users like me, it may be worth adding to the macOS guide that the Xcode Command Line Tools (Xcode > Prefs > Downloads > Command Line Tools) need to be installed before attempting a manual installation. Took me a while to work that out when cpanminus failed to compile due to no 'make' command.

All working OK now for me on 2012 Mac Pro with Mountain Lion 10.8.5.

Happy days!

These forums are archived

See this post for further info