[ macperl-Bugs-486553 ] use Mac::Navigation fails

[email protected] Wed, 28 Nov 2001 09:49:54 -0800
Newsgroups perl.macperl.porters
Message-ID <[email protected]>
Bugs item #486553, was opened at 2001-11-28 09:49
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=107940&aid=486553&group_id=7940

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: David Seay (seay)
Assigned to: Nobody/Anonymous (nobody)
Summary: use Mac::Navigation fails

Initial Comment:
After using the slick web installer to install MacPerl 
5.6.1b2 on my iBook the file "Navigation.pm" was in the 
"Mac" folder that's within the "lib" folder, right 
where it should be, along with "Navigation.xs", 
"StandardFile.pm", etc..

#!perl5

  use Mac::StandardFile;
  print "ok\n";

__END__

prints "ok";

--------

#!perl5

  use Mac::Navigation;
  print "ok\n";

__END__

yields the following...

# Can't locate loadable object for module 
Mac::Navigation in @INC (@INC
contains: HD:Programming:PERL:MacPerl ƒ:lib:Mac:
HD:Programming:PERL:MacPerl ƒ:lib:MacPPC: 
HD:Programming:PERL:MacPerl
ƒ:lib: HD:Programming:PERL:MacPerl ƒ:site_perl: : 
Dev:Pseudo:)
File 'Dev:Pseudo'; Line 8
# Compilation failed in require.
File 'Dev:Pseudo'; Line 8
# BEGIN failed--compilation aborted.
File 'Dev:Pseudo'; Line 8

--------

In a test I...
 - duplicated "Navigation.pm"
 - changed the name to "abc.pm"
 - changed line 19 from "package Mac::Navigation;" to 
"package Mac::xyz;"
 - changed line 127 from "bootstrap Mac::Navigation;" 
to "bootstrap Mac::xyz;"
 - and ran the following...

#!perl5

  use Mac::abc;
  print "ok\n";

__END__

which yielded the following error message...

# Can't locate loadable object for module Mac::xyz in 
@INC (@INC contains: HD:Programming:PERL:MacPerl 
ƒ:lib:Mac: HD:Programming:PERL:MacPerl ƒ:lib:MacPPC: 
HD:Programming:PERL:MacPerl ƒ:lib: 
HD:Programming:PERL:MacPerl ƒ:site_perl: : Dev:Pseudo:)
File 'HD:Programming:PERL:a.pl'; Line 1
# Compilation failed in require.
File 'HD:Programming:PERL:a.pl'; Line 1
# BEGIN failed--compilation aborted.
File 'HD:Programming:PERL:a.

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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=107940&aid=486553&group_id=7940