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

Re: [MacPerl] Help: where do I find recent versions of QDOffscreen and QuickDraw



Bart Lateur writes 01 Jan 1999:

>On Wed, 30 Dec 1998 01:07:19 +0000, Fergus McMenemie wrote:
>
>>        I have just updated to the latest version of
>>        MacPerl 5.2.0.r4 and it still fails:-
>>
>># Usage: Mac::QDOffscreen::SetGWorld(port, gdh).
>
>Alan's code uses only one parameter.

No, it actually uses the return from NewGWorld().

>If this is any comfort: I did download the latest versions of the
>modules as Alan advised (from Matthias' Beta site), and I get the same
>error.
>
>What gives?

A number of people have run into difficulty making this upgrade. There are
six files involved:

        MacPerl Ä:lib:QuickDraw.pm
        MacPerl Ä:lib:QDOffscreen.pm

        MacPerl Ä:lib:QuickDraw.xs
        MacPerl Ä:lib:QDOffscreen.xs

        MacPerl Ä:lib:MacPPC:auto:Mac:QuickDraw:QuickDraw
        MacPerl Ä:lib:MacPPC:auto:Mac:QDOffscreen:QDOffscreen

In general all six files should be replaced new_for_old. (For MacPPC read
MacCFM68K on 68K machines.)

However in this particular case BBEdit will show there are no changes to
the '.pm' files which need not therefore be exchanged. The new versions of
the '.xs' files, which are different, need only be included in 'lib' for
reference purposes: they have no active role to play. So it is only the two
binary library files which really _must_ be exchanged to make the upgrade
effective.

ASFAIK the same principles apply to any other additions or modifications to
perl modules involving extensions, so I hope it might be helpful to
elaborate this point a little.

Alan Fry




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