Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Nov 2007
    Posts
    2

    Problems installing Perl modules required for iTunes Update Plugin (OS X 10.5)

    Today I tried to install the iTunes Update Plugin after updating to OS X 10.5 (Leopard). Unfortunately I am not able to install the required Perl module (Mac::AppleScript::Glue) via CPAN.

    Since the same error ("Writing Makefile for xxx::xxx -- NOT OK") appears multiple times, I am not sure whether this is a problem with the specific modules or the Perl installation as a whole.
    Any ideas or pointers are welcome!
    Thanks // pascal


    [cpan output]
    cpan$ install Mac::AppleScript::Glue
    Running install for module Mac::AppleScript::Glue
    Running make for J/JL/JLABOVITZ/Mac-AppleScript-Glue-0.03.tar.gz
    Is already unwrapped into directory /Users/admin/.cpan/build/Mac-AppleScript-Glue-0.03
    Has already been processed within this session
    Running make test
    ---- Unsatisfied dependencies detected during [J/JL/JLABOVITZ/Mac-AppleScript-Glue-0.03.tar.gz] -----
    Mac::AppleScript
    Test::Pod
    Shall I follow them and prepend them to the queue
    of modules we are processing right now? [yes] yes
    Running make install
    make had returned bad status, install seems impossible
    Delayed until after prerequisites
    Running install for module Mac::AppleScript
    Running make for D/DS/DSUGAL/Mac-AppleScript-0.04.tar.gz
    Checksum for /Users/admin/.cpan/sources/authors/id/D/DS/DSUGAL/Mac-AppleScript-0.04.tar.gz ok
    Mac-AppleScript-0.04/
    Mac-AppleScript-0.04/AppleScript.pm
    Mac-AppleScript-0.04/AppleScript.xs
    Mac-AppleScript-0.04/Changes
    Mac-AppleScript-0.04/Makefile.PL
    Mac-AppleScript-0.04/MANIFEST
    Mac-AppleScript-0.04/test.pl
    Removing previously used /Users/admin/.cpan/build/Mac-AppleScript-0.04

    CPAN.pm: Going to build D/DS/DSUGAL/Mac-AppleScript-0.04.tar.gz

    Checking if your kit is complete...
    Looks good
    Writing Makefile for Mac::AppleScript
    -- NOT OK
    Running make test
    Can't test without successful make
    Running make install
    make had returned bad status, install seems impossible
    Running install for module Test::Pod
    Running make for P/PE/PETDANCE/Test-Pod-1.26.tar.gz
    Checksum for /Users/admin/.cpan/sources/authors/id/P/PE/PETDANCE/Test-Pod-1.26.tar.gz ok
    Test-Pod-1.26/
    Test-Pod-1.26/t/
    Test-Pod-1.26/t/spaced-directives.pod
    Test-Pod-1.26/t/unknown-directive.t
    Test-Pod-1.26/t/spaced-directives.t
    Test-Pod-1.26/t/pod/
    Test-Pod-1.26/t/pod/good-pod-script
    Test-Pod-1.26/t/pod/no_pod.pod
    Test-Pod-1.26/t/pod/good.pod
    Test-Pod-1.26/t/empty-file.pod
    Test-Pod-1.26/t/cut-outside-block.pod
    Test-Pod-1.26/t/good.t
    Test-Pod-1.26/t/item-ordering.pod
    Test-Pod-1.26/t/all_pod_files.t
    Test-Pod-1.26/t/selftest.t
    Test-Pod-1.26/t/unknown-directive.pod
    Test-Pod-1.26/t/item-ordering.t
    Test-Pod-1.26/t/00-load.t
    Test-Pod-1.26/t/load.t
    Test-Pod-1.26/t/missing-file.t
    Test-Pod-1.26/t/pod.t
    Test-Pod-1.26/t/cut-outside-block.t
    Test-Pod-1.26/Changes
    Test-Pod-1.26/MANIFEST
    Test-Pod-1.26/Pod.pm
    Test-Pod-1.26/Makefile.PL
    Test-Pod-1.26/META.yml
    Removing previously used /Users/admin/.cpan/build/Test-Pod-1.26

    CPAN.pm: Going to build P/PE/PETDANCE/Test-Pod-1.26.tar.gz

    Checking if your kit is complete...
    Looks good
    Writing Makefile for Test::Pod
    -- NOT OK
    Running make test
    Can't test without successful make
    Running make install
    make had returned bad status, install seems impossible
    Running make for J/JL/JLABOVITZ/Mac-AppleScript-Glue-0.03.tar.gz
    Is already unwrapped into directory /Users/admin/.cpan/build/Mac-AppleScript-Glue-0.03
    Has already been processed within this session
    Running make test
    Can't test without successful make
    Running make install
    make had returned bad status, install seems impossible
    [/cpan ouput]

  2. #2
    Member
    Join Date
    Sep 2006
    Posts
    63

    bump - also could not install this

    Anyone have any insight?

  3. #3
    Senior Member
    Join Date
    Apr 2006
    Posts
    115
    I had exactly the same problems when I first installed iTunesUpdate about a year ago on OS X 10.4.

    I finally was able to solve them by enabling and logging in as the root user and running the CPAN install from there. When logged in a a 'normal' or 'admin' user I had the error messages about 'unable to make file' etc but as the root user it all installed fine.

    I have no idea whether this will also work with OS X 10.5 but it is worth a try.

    (Interestingly the AppleScript::Glue module I previously installed survived the upgrade to 10.5 and all was fine until I tried SqueezeCenter 7.0 since then I have been having problems with all my plugins...but that is another story.)

    Good luck

    WhaleOil

  4. #4
    Junior Member
    Join Date
    Nov 2007
    Posts
    2

    Problem fixed

    Thanks for the input. I had a second go at it this weekend. It turns out that CPAN wasn't configured correctly. The error message is a bit cryptic, but after a good amount of searching I came across this post:
    http://petherton.pwp.blueyonder.co.u...ate_V2.1.4.zip

    Turns out CPAN could not find the 'make' command. So here is what I think you need to do to fix this error:

    (1) Checked whether make is installed (if not, you need to install the Developer Tools from the Installation DVD).
    > which make
    Should give you something like: /usr/bin/make

    (2) Configure CPAN.
    > sudo cpan
    cpan> o conf make /usr/bin/make
    cpan> install Mac::AppleScript::Glue

    I had to run 'force install Mac::AppleScript::Glue', but that might be because I messed up something else previously.

    Thanks // pascal

  5. #5
    Junior Member
    Join Date
    Mar 2008
    Posts
    5

    Os X 10.4

    I'm trying to get it to work on my old Mac Mini with OS X 10.4 installed.

    cpan Mac::AppleScript::Glue fails because of several failed tests. These in turn appear to be caused by "Can't locate Mac/AppleScript.pm in @INC..." and these in turn are due to a failed Mac::AppleScript install.

    Here's the relevant output:

    LD_RUN_PATH="" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib AppleScript.o -framework AppleScriptKit -framework Carbon -o blib/arch/auto/Mac/AppleScript/AppleScript.bundle
    /usr/bin/ld: /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit load command 20 unknown cmd field
    collect2: ld returned 1 exit status
    make: *** [blib/arch/auto/Mac/AppleScript/AppleScript.bundle] Error 1
    DSUGAL/Mac-AppleScript-0.04.tar.gz
    /usr/bin/make -- NOT OK

    It doesn't look like OP's problem... Any ideas?

  6. #6
    Junior Member
    Join Date
    Mar 2008
    Posts
    5

    Upgrade Dev Tools

    Google leads me to blog posts like the following:

    /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit load command 20 unknown cmd field

    You get this if you’ve upgraded the version of OSX without upgrading the Developer Tools (the Xcode tools). – Rachel’s Knowledge Base
    Since I have never upgraded this box from 10.4 to 10.5, I'll have to look for something else...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •