Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Annotate iTunes tracks with data from' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Annotate iTunes tracks with data from
Authored by: ahbe on May 19, '04 11:54:33AM
Let me start by pointing out that I have no idea what I'm doing. I tried to install WWW:Mechanize and Mac-AppleScript-Glue with limited results. Neither seem to have an installation guide. I get the following at the command line.

[ahbe@Ahbes-PowerBook WWW-Mechanize-1.02]$ perl Makefile.PL 
Do you want to install the mech-dump utility? [y] y

It looks like you don't have SSL capability (like IO::Socket::SSL) installed. 
You will not be able to process https:// URLs correctly.

WWW::Mechanize likes to have a lot of test modules for some of its tests.
The following are modules that would be nice to have, but not required.


Warning: prerequisite HTML::Form 1.038 not found.
Warning: prerequisite HTML::HeadParser 0 not found.
Warning: prerequisite HTML::TokeParser 2.28 not found.
Warning: prerequisite HTTP::Daemon 0 not found.
Warning: prerequisite HTTP::Request 1.3 not found.
Warning: prerequisite HTTP::Status 0 not found.
Warning: prerequisite LWP 5.76 not found.
Warning: prerequisite LWP::UserAgent 2.024 not found.
Warning: prerequisite URI::URL 0 not found.
Warning: prerequisite URI::file 0 not found.
Writing Makefile for WWW::Mechanize
[ahbe@Ahbes-PowerBook WWW-Mechanize-1.02]$ 

[ahbe@Ahbes-PowerBook Mac-AppleScript-Glue-0.03]$ perl Makefile.PL 
Warning: prerequisite Mac::AppleScript 0.03 not found.
Warning: prerequisite Test::Pod 0 not found.
Writing Makefile for Mac::AppleScript::Glue
[ahbe@Ahbes-PowerBook Mac-AppleScript-Glue-0.03]$ 
So, I'm sure those warning's aren't good, but I press on. Here's what I get with the iTunes script.

[ahbe@Ahbes-PowerBook Desktop]$ perl 
Can't locate WWW/ in @INC (@INC contains: /sw/lib/perl5 /System/Library/Perl/5.8.1/darwin-thread-multi-2level /System/Library/Perl/5.8.1 /Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 /Library/Perl /Network/Library/Perl/5.8.1/darwin-thread-multi-2level /Network/Library/Perl/5.8.1 /Network/Library/Perl .) at line 4.
BEGIN failed--compilation aborted at line 4.
[ahbe@Ahbes-PowerBook Desktop]$ 
That obviously didn't work. Now I read that Rob had to update his Perl installation, and I haven't done that. a perl --version gives back 5.8.1-RC3 (Panther default). I took a look on, and the stable release is 5.8.4. However, I didn't find any packaged installation for OS X, and I didn't feel like trying it from source. I took a look at Fink, but the latest version it lists is 5.6.0, even older. So, what am I doing wrong, and how can I get this to work? Thanx for all your help. --Ahbe

[ Reply to This | # ]
Annotate iTunes tracks with data from
Authored by: smyklar on May 19, '04 10:57:57PM

After creating the makefile with the perl Makefile.PL script, you need to type 'make' at the shell prompt while in the same directory. Works here with Perl v5.8.1-RC3 in Panther. HTH.

[ Reply to This | # ]
Latest Perl still fails to compile this . . .
Authored by: smyklar on May 20, '04 06:35:43AM


Scratch my earlier comment; I'm getting the same errors re: @ INC, even after installing the latest version of Perl (5.8.4-1), using the Fink utility. I'm afraid I"m just as much an amateur as you! Anyone else help?


[ Reply to This | # ]