Re: [MacPerl-Porters] Shuck Requirements (was: [ macperl-Bugs-503265 ])
[email protected] Thu, 24 Jan 2002 15:12:40 -0500
| Newsgroups | perl.macperl.porters |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jan 24, 2002 at 10:57:31AM +0100, Thomas Wegner wrote: > At 12:50 Uhr -0500 23.01.2002, Chris Nandor wrote: > >At 18:31 +0100 2002.01.23, Thomas Wegner wrote: > >>At 02:58 -0800 2002.01.14, [email protected] wrote: > >>>Furthermore, Shuck complains about a missing > >>>"InterfaceLib--FetchFontInfo". I have not been able > >>>to find out the cause of this problem. > >> > >>So it's the WASTE lib that needs FetchFontInfo() (and a DumpPEF on the shared > >>WASTELib proved it), although it shouldn't happen with Mac OS < 8.5, according > >>to the above statement. I'm still clueless how to get rid of the problem. > > You are right, it *should* be solved, and has been a problem only for the CarbonLib version, if I got that right? However, the changes doc mentions it (and a DumpPEF showed it), FetchFontInfo() is exported by both the InterfaceLib and the FontManager (stub) libraries. Although the FontManager lib is only available for OS 9.0 and higher, maybe it's necessary to link against it? I think you need to weak-link against the library. If you do this, then the system will not complain if the library is missing, but if you do call the function something bad happens. But if you make sure not to call the function unless the library is present, you're fine. It's common for an application to weak-link against NavigationLib, for example, and if it's missing to use the Standard File package instead. Also, can everybody please hard-wrap the lines of your messages? Josh