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

Re: [MacPerl] MacPerl::LoadExternals("FindFolder.pl"): File notfound..



William Neuhauser <willn@quando.com> writes:
}I feel like a fool.  I know it must be something easy, but upgrading to
}5.14r4 causes:
}
}require 'FindFolder.pl';
}
}to generate the error:
}
}# MacPerl::LoadExternals("FindFolder.pl"): File not found..
}File '...:MacPerl 5.14r4:lib:FindFolder.pl'; Line 3
}
}I thought I did the install uneventfully, but any ideas of what I should do?

FindFolder.pl is missing its XFCN resource, so it no longer works.
(Matthias, this is a problem that still exists in 5.15fc2.)

If you still have 5.13r2 around, simply copy FindFolder.pl from that.  (You
can check with ResEdit to see if it has the resource.)  But the same
information is available through Mac::Files.  See Shuck and the file
:MacPerl Ä:ext:Files:t:Files.t (but change the ::Makefile.mk to the path to
something that actually exists in the distribution; I used :::::MacPerl).
Personally I wound up simply hardcoding paths I used to find with
FindFolder.pl, but that's not an option if you're moving your scripts
around or changing startup volumes.

I suppose one can take the fact that the FindFolder.pl resource has
disappeared in the latest versions of MacPerl as a subtle hint to use
Mac::Files :-).  Or maybe it's just a "feature" of the new installer.

}
}
}_______
}Will Neuhauser              willn@quando.com
}Chief Technical Officer, VP Development
}Quando, Inc.                Tel: 1 (503) 225-1988
}520 NW Davis Street         Fax: 1 (503) 225-1987
}Portland, OR  97209 USA
}
}
}
}***** Want to unsubscribe from this list?
}***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch


---
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693, Greenbelt, MD 20771
schinder@pjstoaster.pg.md.us



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch