|Just another Perl shrine|
Raspberry Pi: some sort of dependency hell involving YAMLby davies (Vicar)
|on May 06, 2012 at 17:00 UTC||Need Help??|
davies has asked for the
wisdom of the Perl Monks concerning the following question:
Having failed to get Space Invaders running on Windows, it was one of the first things I tried to do on my RPi. It complains about not having Term::ReadKey. But issuing the command cpan Term::ReadKey gives errors that seem to be YAML related. Trying to install YAML gives a lot of output, but the end of it is almost identical to the end of ReakKey's installation process. The following transcription may contain typos:
The debian OS comes with Perl 5.10.1, and trying to update it states that this is the latest version. I find this surprising, but since I don't generally use leading edge features, I'm not terribly worried unless it's masking something more important.
Generally I don't use Linux as my work usually involves Excel, so I expect that there are lots of standard tricks that I should know but don't. Any pointers would be gratefully received.
Update: Thank you all. Moritz's solution worked perfectly (as always), but I still don't have Space Invaders working, as it uses $* which is no longer supported. I certainly don't know enough Perl to try to repair an obfu with bitrot. Thanks, too, to those who pointed out the Debian related issues. As I don't know Linux, I'm a bit overwhelmed, but since the Pi is a learning tool and I have the OS download on my network, it isn't the end of the world if I break it. I can easily rewrite the SD card.