[~] chuck
%sudo perl -MCPAN -e 'install "Mac::iTunes"'
Password:
CPAN: Storable loaded ok
Going to read /Users/chuck/.cpan/Metadata
Database was generated on Mon, 15 Mar 2004 10:50:53 GMT
Running install for module Mac::iTunes
Running make for B/BD/BDFOY/Mac-iTunes-0.82.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /Users/chuck/.cpan/sources/authors/id/B/BD/BDFOY/
Mac-iTunes-0.82.tar.gz ok
Scanning cache /Users/chuck/.cpan/build for sizes
Mac-iTunes-0.82
Mac-iTunes-0.82/applescript
Mac-iTunes-0.82/applescript/add_a_track.osa
Mac-iTunes-0.82/applescript/add_playlist.osa
Mac-iTunes-0.82/applescript/add_track.osa
Mac-iTunes-0.82/applescript/add_track_to_playlist.osa
Mac-iTunes-0.82/applescript/count_playlist.osa
Mac-iTunes-0.82/applescript/current_info.osa
Mac-iTunes-0.82/applescript/current_name.osa
Mac-iTunes-0.82/applescript/current_name_artist.osa
Mac-iTunes-0.82/applescript/delete_files.osa
Mac-iTunes-0.82/applescript/delete_playlist.osa
Mac-iTunes-0.82/applescript/file_properties.osa
Mac-iTunes-0.82/applescript/get_first_track.osa
Mac-iTunes-0.82/applescript/get_front_playlist.osa
Mac-iTunes-0.82/applescript/get_playlist_names.osa
Mac-iTunes-0.82/applescript/get_real_filename.osa
Mac-iTunes-0.82/applescript/get_startup.osa
Mac-iTunes-0.82/applescript/get_startup2.osa
Mac-iTunes-0.82/applescript/is_startup.osa
Mac-iTunes-0.82/applescript/itunes-shorten-names.osa
Mac-iTunes-0.82/applescript/list_playlists.osa
Mac-iTunes-0.82/applescript/play_track.osa
Mac-iTunes-0.82/applescript/player_state.osa
Mac-iTunes-0.82/applescript/same_file_name.osa
Mac-iTunes-0.82/applescript/set_front_playlist.osa
Mac-iTunes-0.82/applescript/tracks_in_playlist.osa
Mac-iTunes-0.82/cgi
Mac-iTunes-0.82/cgi/iTunes.cgi
Mac-iTunes-0.82/Changes
Mac-iTunes-0.82/doc
Mac-iTunes-0.82/doc/file_format.pod
Mac-iTunes-0.82/examples
Mac-iTunes-0.82/examples/html_table.tmpl
Mac-iTunes-0.82/examples/publisher.pl
Mac-iTunes-0.82/examples/summary.pl
Mac-iTunes-0.82/examples/tabs.tmpl
Mac-iTunes-0.82/html
Mac-iTunes-0.82/html/iTunes.html
Mac-iTunes-0.82/lib
Mac-iTunes-0.82/lib/AppleScript.pm
Mac-iTunes-0.82/lib/Item.pm
Mac-iTunes-0.82/lib/iTunes.pm
Mac-iTunes-0.82/lib/Parse.pm
Mac-iTunes-0.82/lib/Playlist.pm
Mac-iTunes-0.82/lib/Plist.pm
Mac-iTunes-0.82/lib/Preferences.pm
Mac-iTunes-0.82/lib/Write.pm
Mac-iTunes-0.82/Makefile.PL
Mac-iTunes-0.82/MANIFEST
Mac-iTunes-0.82/MANIFEST.SKIP
Mac-iTunes-0.82/mp3
Mac-iTunes-0.82/mp3/empty.d
Mac-iTunes-0.82/mp3/empty.d/empty4.mp3
Mac-iTunes-0.82/mp3/empty.d/empty5.mp3
Mac-iTunes-0.82/mp3/empty.d/empty6.mp3
Mac-iTunes-0.82/mp3/empty1.mp3
Mac-iTunes-0.82/mp3/empty2.mp3
Mac-iTunes-0.82/mp3/empty3.mp3
Mac-iTunes-0.82/mp3/iTunes_3_Music_Library
Mac-iTunes-0.82/mp3/iTunes_Music_Library
Mac-iTunes-0.82/mp3/The_Wee_Kirkcudbright_Centipede.mp3
Mac-iTunes-0.82/plists
Mac-iTunes-0.82/plists/com.apple.iTunes.plist
Mac-iTunes-0.82/t
Mac-iTunes-0.82/t/check_mp3.t
Mac-iTunes-0.82/t/controller.t
Mac-iTunes-0.82/t/get_playlists.t
Mac-iTunes-0.82/t/get_tracks.t
Mac-iTunes-0.82/t/item.t
Mac-iTunes-0.82/t/itunes.t
Mac-iTunes-0.82/t/lib
Mac-iTunes-0.82/t/lib/test_data.pl
Mac-iTunes-0.82/t/load.t
Mac-iTunes-0.82/t/parse.t
Mac-iTunes-0.82/t/parse3.t
Mac-iTunes-0.82/t/playlist.t
Mac-iTunes-0.82/t/pod.t
Mac-iTunes-0.82/t/position.t
Mac-iTunes-0.82/t/preferences.t
Mac-iTunes-0.82/t/prereq.t
Mac-iTunes-0.82/t/setup_itunes.t
Mac-iTunes-0.82/t/test_manifest
Mac-iTunes-0.82/t/track_info.t
Mac-iTunes-0.82/t/write.t
Mac-iTunes-0.82/tk
Mac-iTunes-0.82/tk/tk-itunes.pl
Mac-iTunes-0.82/tk/tkitunes.rc
Removing previously used /Users/chuck/.cpan/build/Mac-iTunes
-0.82
CPAN.pm: Going to build B/BD/BDFOY/Mac-iTunes-0.82.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Mac::iTunes
cp lib/Playlist.pm blib/lib/Mac/iTunes/Playlist.pm
cp doc/file_format.pod blib/lib/Mac/iTunes/FileFormat.pm
cp lib/Write.pm blib/lib/Mac/iTunes/Library/Write.pm
cp lib/iTunes.pm blib/lib/Mac/iTunes.pm
cp lib/AppleScript.pm blib/lib/Mac/iTunes/AppleScript.pm
cp lib/Preferences.pm blib/lib/Mac/iTunes/Preferences.pm
cp lib/Parse.pm blib/lib/Mac/iTunes/Library/Parse.pm
cp lib/Item.pm blib/lib/Mac/iTunes/Item.pm
Manifying blib/man3/Mac::iTunes::Write.3
Manifying blib/man3/Mac::iTunes.3
Manifying blib/man3/Mac::iTunes::FileFormat.3
Manifying blib/man3/Mac::iTunes::Parse.3
Manifying blib/man3/Mac::iTunes::Playlist.3
Manifying blib/man3/Mac::iTunes::Preferences.3
Manifying blib/man3/Mac::iTunes::Item.3
Manifying blib/man3/Mac::iTunes::AppleScript.3
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MTest::Manifest" "-e"
"run_t_manifest(0, 'blib/lib', 'blib/arch')"
Test::Manifest::test_harness found [t/load.t t/pod.t t/prereq.t t/
check_mp3.t t/itunes.t t/item.t t/playlist.t t/parse.t t/parse3.t t/
preferences.t t/setup_itunes.t t/track_info.t t/get_playlists.t t/
get_tracks.t t/position.t t/controller.t]
t/load.............Illegal character in prototype for Mac::iTunes::
Playlist::title : [TITLE] at /Users/chuck/.cpan/build/Mac-iTunes
-0.82/blib/lib/Mac/iTunes/Playlist.pm line 111.
t/load.............ok 5/8Parentheses missing around "my" list at /
Users/chuck/.cpan/build/Mac-iTunes-0.82/blib/lib/Mac/iTunes/
Preferences.pm line 41.
t/load.............ok 6/8"my" variable $some_date masks earlier
declaration in same scope at /Users/chuck/.cpan/build/Mac-iTunes
-0.82/blib/lib/Mac/iTunes/Library/Parse.pm line 379.
t/load.............ok
t/pod..............ok 1/10# NOTE: pod_ok() is deprecated
t/pod..............ok 2/10# NOTE: pod_ok() is deprecated
t/pod..............ok 3/10# NOTE: pod_ok() is deprecated
t/pod..............ok 4/10# NOTE: pod_ok() is deprecated
t/pod..............ok 5/10# NOTE: pod_ok() is deprecated
t/pod..............ok 6/10# NOTE: pod_ok() is deprecated
t/pod..............ok 7/10# NOTE: pod_ok() is deprecated
t/pod..............NOK 8# Failed test (/Library/Perl/5.8.1/Test/
Pod.pm at line 251)
# blib/lib/Mac/iTunes/Library/Write.pm (118): =cut found outside a
pod block. Skipping to next block.
# NOTE: pod_ok() is deprecated
t/pod..............ok 9/10# NOTE: pod_ok() is deprecated
t/pod..............ok 10/10# NOTE: pod_ok() is deprecated
# Looks like you failed 1 tests of 10.
t/pod..............dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 8
Failed 1/10 tests, 90.00% okay
t/prereq...........You tried to plan twice! Second plan at t/prereq.t
line 6
# Looks like your test died before it could output anything.
t/prereq...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
t/check_mp3........Name "iTunesTest::Title" used only once:
possible typo at t/check_mp3.t line 16.
t/check_mp3........ok
t/itunes...........Illegal character in prototype for Mac::iTunes::
Playlist::title : [TITLE] at /Users/chuck/.cpan/build/Mac-iTunes
-0.82/blib/lib/Mac/iTunes/Playlist.pm line 111.
Use of uninitialized value in numeric eq (==) at t/itunes.t line 24.
Use of uninitialized value in numeric eq (==) at t/itunes.t line 31.
t/itunes...........ok 13/16Use of uninitialized value in numeric eq
(==) at t/itunes.t line 32.
Use of uninitialized value in numeric eq (==) at t/itunes.t line 33.
Use of uninitialized value in numeric eq (==) at t/itunes.t line 34.
t/itunes...........ok
t/item.............Name "iTunesTest::Title" used only once: possible
typo at t/item.t line 16.
Name "iTunesTest::Artist" used only once: possible typo at t/item.t
line 18.
Name "iTunesTest::Genre" used only once: possible typo at t/item.t
line 17.
Name "iTunesTest::Time" used only once: possible typo at t/item.t
line 19.
Use of uninitialized value in numeric eq (==) at t/item.t line 23.
t/item.............ok
t/playlist.........Illegal character in prototype for Mac::iTunes::
Playlist::title : [TITLE] at /Users/chuck/.cpan/build/Mac-iTunes
-0.82/blib/lib/Mac/iTunes/Playlist.pm line 111.
t/playlist.........ok 6/331Use of uninitialized value in numeric eq
(==) at t/playlist.t line 24.
t/playlist.........ok 8/331Use of uninitialized value in numeric eq
(==) at t/playlist.t line 26.
t/playlist.........ok 10/331Use of uninitialized value in numeric eq
(==) at t/playlist.t line 28.
t/playlist.........ok 12/331Use of uninitialized value in numeric eq
(==) at t/playlist.t line 30.
t/playlist.........ok
t/parse............Illegal character in prototype for Mac::iTunes::
Playlist::title : [TITLE] at /Users/chuck/.cpan/build/Mac-iTunes
-0.82/blib/lib/Mac/iTunes/Playlist.pm line 111.
"my" variable $some_date masks earlier declaration in same scope
at /Users/chuck/.cpan/build/Mac-iTunes-0.82/blib/lib/Mac/iTunes/
Library/Parse.pm line 379.
t/parse............ok 1/3Use of uninitialized value in unpack at /
Users/chuck/.cpan/build/Mac-iTunes-0.82/blib/lib/Mac/iTunes/
Library/Parse.pm line 379, <$fh> line 1.
Use of uninitialized value in numeric lt (<) at /Users/chuck/.cpan/
build/Mac-iTunes-0.82/blib/lib/Mac/iTunes/Library/Parse.pm line 35,
<$fh> line 1.
Use of uninitialized value in addition (+) at /Users/chuck/.cpan/
build/Mac-iTunes-0.82/blib/lib/Mac/iTunes/Library/Parse.pm line
578, <$fh> line 1.
Use of uninitialized value in substr at /Users/chuck/.cpan/build/
Mac-iTunes-0.82/blib/lib/Mac/iTunes/Library/Parse.pm line 580,
<$fh> line 1.
Use of uninitialized value in substr at /Users/chuck/.cpan/build/
Mac-iTunes-0.82/blib/lib/Mac/iTunes/Library/Parse.pm line 582,
<$fh> line 1.
t/parse............ok 2/3Use of uninitialized value in unpack at /
Users/chuck/.cpan/build/Mac-iTunes-0.82/blib/lib/Mac/iTunes/
Library/Parse.pm line 379, <$fh> line 1.
Use of uninitialized value in numeric lt (<) at /Users/chuck/.cpan/
build/Mac-iTunes-0.82/blib/lib/Mac/iTunes/Library/Parse.pm line 35,
<$fh> line 1.
Use of uninitialized value in addition (+) at /Users/chuck/.cpan/
build/Mac-iTunes-0.82/blib/lib/Mac/iTunes/Library/Parse.pm line
578, <$fh> line 1.
Use of uninitialized value in substr at /Users/chuck/.cpan/build/
Mac-iTunes-0.82/blib/lib/Mac/iTunes/Library/Parse.pm line 580,
<$fh> line 1.
Use of uninitialized value in substr at /Users/chuck/.cpan/build/
Mac-iTunes-0.82/blib/lib/Mac/iTunes/Library/Parse.pm line 582,
<$fh> line 1.
t/parse............ok
t/parse3...........Illegal character in prototype for Mac::iTunes::
Playlist::title : [TITLE] at /Users/chuck/.cpan/build/Mac-iTunes
-0.82/blib/lib/Mac/iTunes/Playlist.pm line 111.
"my" variable $some_date masks earlier declaration in same scope
at /Users/chuck/.cpan/build/Mac-iTunes-0.82/blib/lib/Mac/iTunes/
Library/Parse.pm line 379.
t/parse3...........ok 1/3Use of uninitialized value in unpack at /
Users/chuck/.cpan/build/Mac-iTunes-0.82/blib/lib/Mac/iTunes/
Library/Parse.pm line 379, <$fh> line 1.
Use of uninitialized value in numeric lt (<) at /Users/chuck/.cpan/
build/Mac-iTunes-0.82/blib/lib/Mac/iTunes/Library/Parse.pm line 35,
<$fh> line 1.
t/parse3...........ok 2/3Use of uninitialized value in unpack at /
Users/chuck/.cpan/build/Mac-iTunes-0.82/blib/lib/Mac/iTunes/
Library/Parse.pm line 379, <$fh> line 1.
Use of uninitialized value in numeric lt (<) at /Users/chuck/.cpan/
build/Mac-iTunes-0.82/blib/lib/Mac/iTunes/Library/Parse.pm line 35,
<$fh> line 1.
t/parse3...........ok
t/preferences......Illegal character in prototype for Mac::iTunes::
Playlist::title : [TITLE] at /Users/chuck/.cpan/build/Mac-iTunes
-0.82/blib/lib/Mac/iTunes/Playlist.pm line 111.
Parentheses missing around "my" list at /Users/chuck/.cpan/build/
Mac-iTunes-0.82/blib/lib/Mac/iTunes/Preferences.pm line 41.
t/preferences......ok
t/setup_itunes.....Illegal character in prototype for Mac::iTunes::
Playlist::title : [TITLE] at /Users/chuck/.cpan/build/Mac-iTunes
-0.82/blib/lib/Mac/iTunes/Playlist.pm line 111.
"my" variable $result masks earlier declaration in same scope at t/
setup_itunes.t line 24.
Name "iTunesTest::Test_mp3" used only once: possible typo at t/
setup_itunes.t line 30.
t/setup_itunes.....ok 3/3Can't locate object method
"use_applescript" via package "Mac::Path::Util" at /Users/chuck/
.cpan/build/Mac-iTunes-0.82/blib/lib/Mac/iTunes/AppleScript.pm
line 290.
# Looks like your test died just after 3.
t/setup_itunes.....dubious
Test returned status 255 (wstat 65280, 0xff00)
after all the subtests completed successfully
t/track_info.......Illegal character in prototype for Mac::iTunes::
Playlist::title : [TITLE] at /Users/chuck/.cpan/build/Mac-iTunes
-0.82/blib/lib/Mac/iTunes/Playlist.pm line 111.
t/track_info.......ok 1/4-1753 at t/track_info.t line 15
t/track_info.......NOK 2# Failed test (t/track_info.t at line 17)
# got: undef
# expected: 'The Wee Kirkcudbright Centipede'
-1753 at t/track_info.t line 19
-1753 at t/track_info.t line 20
Use of uninitialized value in string eq at /Users/chuck/.cpan/build/
Mac-iTunes-0.82/blib/lib/Mac/iTunes/AppleScript.pm line 255.
t/track_info.......NOK 3# Failed test (t/track_info.t at line 20)
# got: undef
# expected: 'The Wee Kirkcudbright Centipede'
-1753 at t/track_info.t line 23
-1753 at t/track_info.t line 24
Use of uninitialized value in string eq at /Users/chuck/.cpan/build/
Mac-iTunes-0.82/blib/lib/Mac/iTunes/AppleScript.pm line 255.
t/track_info.......NOK 4# Failed test (t/track_info.t at line 24)
# got: undef
# expected: 'The Wee Kirkcudbright Centipede'
# Looks like you failed 3 tests of 4.
t/track_info.......dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 2-4
Failed 3/4 tests, 25.00% okay
t/get_playlists....Illegal character in prototype for Mac::iTunes::
Playlist::title : [TITLE] at /Users/chuck/.cpan/build/Mac-iTunes
-0.82/blib/lib/Mac/iTunes/Playlist.pm line 111.
t/get_playlists....ok
t/get_tracks.......Illegal character in prototype for Mac::iTunes::
Playlist::title : [TITLE] at /Users/chuck/.cpan/build/Mac-iTunes
-0.82/blib/lib/Mac/iTunes/Playlist.pm line 111.
Name "iTunesTest::Test_playlist" used only once: possible typo at
t/get_tracks.t line 16.
t/get_tracks.......ok
t/position.........Illegal character in prototype for Mac::iTunes::
Playlist::title : [TITLE] at /Users/chuck/.cpan/build/Mac-iTunes
-0.82/blib/lib/Mac/iTunes/Playlist.pm line 111.
t/position.........NOK 3# Failed test (t/position.t at line 15)
# got: 'missing value'
# expected: '0'
t/position.........NOK 4# Failed test (t/position.t at line 18)
# got: 'stopped'
# expected: 'playing'
t/position.........ok 5/6Argument "missing value" isn't numeric in
numeric gt (>) at /Library/Perl/5.8.1/Test/Data/Scalar.pm line 132.
# Failed test (t/position.t at line 21)
# Number is less than the bound.
# Expected a number greater than [2]
# Got [missing value]
# Looks like you failed 3 tests of 6.
t/position.........dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 3-4, 6
Failed 3/6 tests, 50.00% okay
t/controller.......Illegal character in prototype for Mac::iTunes::
Playlist::title : [TITLE] at /Users/chuck/.cpan/build/Mac-iTunes
-0.82/blib/lib/Mac/iTunes/Playlist.pm line 111.
Name "main::hash" used only once: possible typo at t/controller.t
line 21.
t/controller.......ok 1/44Use of uninitialized value in numeric gt (>)
at t/controller.t line 22.
Use of uninitialized value in numeric gt (>) at t/controller.t line 22.
Use of uninitialized value in numeric gt (>) at t/controller.t line 22.
Use of uninitialized value in numeric gt (>) at t/controller.t line 22.
Use of uninitialized value in numeric gt (>) at t/controller.t line 22.
Use of uninitialized value in numeric gt (>) at t/controller.t line 22.
Use of uninitialized value in numeric gt (>) at t/controller.t line 22.
Use of uninitialized value in numeric gt (>) at t/controller.t line 22.
Use of uninitialized value in numeric gt (>) at t/controller.t line 22.
Use of uninitialized value in numeric gt (>) at t/controller.t line 22.
Use of uninitialized value in numeric gt (>) at t/controller.t line 22.
Use of uninitialized value in numeric gt (>) at t/controller.t line 22.
Use of uninitialized value in numeric gt (>) at t/controller.t line 22.
t/controller.......ok
12/44 skipped: various reasons
Failed Test Stat Wstat Total Fail Failed List of Failed
---------------------------------------------------------------------------
----
t/pod.t 1 256 10 1 10.00% 8
t/position.t 3 768 6 3 50.00% 3-4 6
t/prereq.t 255 65280 1 2 200.00% 1
t/setup_itunes.t 255 65280 3 0 0.00% ??
t/track_info.t 3 768 4 3 75.00% 2-4
12 subtests skipped.
Failed 5/16 test scripts, 68.75% okay. 8/445 subtests failed,
98.20% okay.
make: *** [test_dynamic] Error 2
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
[~] chuck
%
Logged In: YES
user_id=167489
I get the same thing on Panther/iTunes 4. The file dates on this module predate iTunes 4 by several months and panther by the better part of a year, so I suspect that's the main issue here. Maybe when our fine young hero gets home. :)