[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] DynaLoad again :-)



On the DynaLoad problem, I've downloaded the updates from
Paul's site and have now run into some other problems which
I've sent to Paul.  But originally, here is the information
I gathered via MacPerl's debugger and Macsbug v6.5.3's
screen:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Macsbug Screen:

Userbreak a+ 01CF935A ShowATrap+00006
Undefined A-TRAP at 008C432C XS-DynaLoader_do_load_file+00118

MacPerl Debugger:

144: if (-s $bs) { # only read file if it's not empty

DB<1>

DynaLoader::bootstrap(Jedi:Applications:MacPerl f:lib:DynaLoader.pm 157)

157: my $libref = dl_Load($file) or
158: Carp::croak("Can't load '$file' for module $module:".dl_error()."\n");

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

I thought at first that maybe the option-f (after the
MacPerl) was causing MacPerl to not be able to open some
file.  So I changed the folder's name to see if this was
what was the matter.  No go.  I looked at the source code
in getInfo.pl (my program) and found the following:

	require "generic.pl";
	requier "dbfUSER.pl";

So I went "Oh!  Maybe because REQUIRE is misspelled it's
doing this."  Nope.  Corrected the spelling - same error at
the same place.  Anyway, what it looks like (to me) is that
the DynaLoader is croaking before Carp can be called.

Since I downloaded the updates from Paul's site (as I
said), I'm now getting a complaint from MacPerl about
FileHandle.  But that's another matter.  I just wanted to
put this out there in case it's not come up before.  :-)