Looks to me that 'cpan install SDL' should work ok. Where does that come undone for you ?
On my Strawberry perl-5.16.0, I actually installed Alien::SDL manually ('perl build.pl', 'perl build', 'perl build test', 'perl build install') then installed the Tie::Simple and Test::Most dependency chains ('cpan install Tie-Simple', 'cpan install Test-Most') and then manually built SDL.
But the way it all worked suggested to me that I could have simply run 'cpan install SDL'. (I didn't do that because I was having trouble with my 'cpan install' and didn't work out how to fix it until I was half way thru with the manual installs.)
The SDL test suite concluded with:
Test Summary Report
t\core.t (Wstat: 0 Tests: 28 Failed: 0)
TODO passed: 21-22
t\core_video.t (Wstat: 0 Tests: 110 Failed: 0)
TODO passed: 57, 59
t\sdlx_fps.t (Wstat: 512 Tests: 13 Failed: 2)
Failed tests: 6, 11
Non-zero exit status: 2
Files=59, Tests=3827, 287 wallclock secs ( 1.75 usr + 0.58 sys = 2.3
Failed 1/59 test programs. 2/3827 subtests failed.
Of course, those failing tests will mean that you have to use force with the cpan install if you actually want it to be installed.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||