Ok.. I think I got it. I needed to be in the CPAN shell first then do "o conf init":

cpan> o conf init

I let it do the auto config then got out of the shell. and sudo cpan to get back in. Then in the cpan shell, did:

cpan> install Mac::Glue

That seemed to do the trick. It took much longer, as it was installing all the prerequs then finally I go this output at the end of it all:

------------------------------------

Running make for C/CN/CNANDOR/Mac-Glue-1.23.tar.gz
Is already unwrapped into directory /Users/markwhee/.cpan/build/Mac-Glue-1.23


  CPAN.pm: Going to build C/CN/CNANDOR/Mac-Glue-1.23.tar.gz

cp lib/Mac/AETE/Parser.pm blib/lib/Mac/AETE/Parser.pm
cp lib/Mac/AETE/Format/Converter.pm blib/lib/Mac/AETE/Format/Converter.pm
cp lib/Mac/AETE/Format/Glue.pm blib/lib/Mac/AETE/Format/Glue.pm
cp lib/Mac/Glue/Common.pm blib/lib/Mac/Glue/Common.pm
cp Glue.pm blib/lib/Mac/Glue.pm
cp lib/Mac/AETE/Format/Dictionary.pm blib/lib/Mac/AETE/Format/Dictionary.pm
cp lib/Mac/AETE/Dialect.pm blib/lib/Mac/AETE/Dialect.pm
cp lib/Mac/AETE/App.pm blib/lib/Mac/AETE/App.pm
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" scripts/gluemac.PL scripts/gluemac
Extracting gluemac (with variable substitutions)
cp scripts/gluemac blib/script/gluemac
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/gluemac
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" scripts/gluedialect.PL scripts/gluedialect
Extracting gluedialect (with variable substitutions)
cp scripts/gluedialect blib/script/gluedialect
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/gluedialect
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" scripts/glueedit.PL scripts/glueedit
Extracting glueedit (with variable substitutions)
cp scripts/glueedit blib/script/glueedit
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/glueedit
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" scripts/gluedoc.PL scripts/gluedoc
Extracting gluedoc (with variable substitutions)
cp scripts/gluedoc blib/script/gluedoc
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/gluedoc
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" scripts/gluescriptadds.PL scripts/gluescriptadds
Extracting gluescriptadds (with variable substitutions)
cp scripts/gluescriptadds blib/script/gluescriptadds
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/gluescriptadds
Manifying blib/man3/Mac::AETE::App.3pm
Manifying blib/man3/Mac::Glue.3pm
Manifying blib/man3/Mac::AETE::Dialect.3pm
Manifying blib/man3/Mac::AETE::Format::Glue.3pm
Manifying blib/man3/Mac::AETE::Parser.3pm
Created and installed Dialect glue for AppleScript.rsrc (AppleScript)
Created and installed Addition glue for StandardAdditions.osax (StandardAdditions)
Created and installed Addition glue for Digital Hub Scripting.osax (Digital_Hub_Scripting)
Created and installed App glue for Finder.app, v10.3.2 (Finder)
Created and installed App glue for System Events.app, v1.2.1 (System_Events)
Created and installed App glue for Keychain Scripting.app (Keychain_Scripting)
Created and installed App glue for FontSyncScripting.app, v2.0d1 (FontSyncScripting)
Created and installed App glue for Image Events.app, v1.0 (Image_Events)
Created and installed App glue for ColorSyncScripting.app (ColorSyncScripting)
Created and installed App glue for URL Access Scripting.app (URL_Access_Scripting)
Created and installed App glue for Image Capture Scripting.app (Image_Capture_Scripting)
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/glue....ok
t/pod.....skipped
all skipped: Test::Pod v0.95 required for testing POD
All tests successful, 1 test skipped.
Files=2, Tests=3, 3 wallclock secs ( 2.22 cusr + 0.42 csys = 2.64 CPU)
/usr/bin/make test -- OK
Running make install
Installing /Library/Perl/5.8.1/Mac/Glue.pm
Installing /Library/Perl/5.8.1/Mac/AETE/App.pm
Installing /Library/Perl/5.8.1/Mac/AETE/Dialect.pm
Installing /Library/Perl/5.8.1/Mac/AETE/Parser.pm
Installing /Library/Perl/5.8.1/Mac/AETE/Format/Converter.pm
Installing /Library/Perl/5.8.1/Mac/AETE/Format/Dictionary.pm
Installing /Library/Perl/5.8.1/Mac/AETE/Format/Glue.pm
Installing /Library/Perl/5.8.1/Mac/Glue/Common.pm
Installing /Library/Perl/5.8.1/Mac/Glue/glues/ColorSyncScripting
Installing /Library/Perl/5.8.1/Mac/Glue/glues/ColorSyncScripting.pod
Installing /Library/Perl/5.8.1/Mac/Glue/glues/Finder
Installing /Library/Perl/5.8.1/Mac/Glue/glues/Finder.pod
Installing /Library/Perl/5.8.1/Mac/Glue/glues/FontSyncScripting
Installing /Library/Perl/5.8.1/Mac/Glue/glues/FontSyncScripting.pod
Installing /Library/Perl/5.8.1/Mac/Glue/glues/Image_Capture_Scripting
Installing /Library/Perl/5.8.1/Mac/Glue/glues/Image_Capture_Scripting.pod
Installing /Library/Perl/5.8.1/Mac/Glue/glues/Image_Events
Installing /Library/Perl/5.8.1/Mac/Glue/glues/Image_Events.pod
Installing /Library/Perl/5.8.1/Mac/Glue/glues/Keychain_Scripting
Installing /Library/Perl/5.8.1/Mac/Glue/glues/Keychain_Scripting.pod
Installing /Library/Perl/5.8.1/Mac/Glue/glues/System_Events
Installing /Library/Perl/5.8.1/Mac/Glue/glues/System_Events.pod
Installing /Library/Perl/5.8.1/Mac/Glue/glues/URL_Access_Scripting
Installing /Library/Perl/5.8.1/Mac/Glue/glues/URL_Access_Scripting.pod
Installing /Library/Perl/5.8.1/Mac/Glue/glues/additions/Digital_Hub_Scripting
Installing /Library/Perl/5.8.1/Mac/Glue/glues/additions/Digital_Hub_Scripting.pod
Installing /Library/Perl/5.8.1/Mac/Glue/glues/additions/StandardAdditions
Installing /Library/Perl/5.8.1/Mac/Glue/glues/additions/StandardAdditions.pod
Installing /Library/Perl/5.8.1/Mac/Glue/glues/dialects/AppleScript
Installing /Library/Perl/5.8.1/Mac/Glue/glues/dialects/AppleScript.pod
Installing /man/man3/Mac::AETE::App.3pm
Installing /man/man3/Mac::AETE::Dialect.3pm
Installing /man/man3/Mac::AETE::Format::Glue.3pm
Installing /man/man3/Mac::AETE::Parser.3pm
Installing /man/man3/Mac::Glue.3pm
Installing /usr/bin/gluedialect
Installing /usr/bin/gluedoc
Installing /usr/bin/glueedit
Installing /usr/bin/gluemac
Installing /usr/bin/gluescriptadds
Writing ///Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Mac/Glue/ .packlist
Appending installation info to ///System/Library/Perl/5.8.1/darwin-thread-multi-2level/perllocal.pod
/usr/bin/make install -- OK


-----------------------------

So I think things are good.

Two questions:

1. How would I test Mac::Glue (simply) to make sure everything is as it should be?

2. Now that Xcode is installed and the cpan module seems to be working correctly, what is the best way to install modules?
cpan> install <module name - i.e. Mac::Glue>


Thanks again for all your help. I really appreciate it. I've been programming with the basics of perl for a few years, now and never installed a module through cpan before.

Thanks,

Mark



Reply via email to