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

Re: [MacPerl] whichMacPerl v2



-----BEGIN PGP SIGNED MESSAGE-----

At 02:30 +1100 on 19/12/97, Chris Nandor wrote:
>Hi all.  Please test this and report back, if you please.
Basically, I
>want to know if it reports back what it should.  But if you have
>suggestions for better code or something, send those too.

I'm running MacPerl on a PowerBook 180 - that's a 33MHz 68030 - with
14Mb RAM. Here is the verbatim text returned by "whichMacPerl" ... I
think you'll find it interesting:

  ---- START SNIPPET ----
  You're running on a PowerPC-based Mac OS system.

  Checking the versions of some system files:
    File                         Version Needed  Version Present
    ---------------------------  --------------  ---------------
    ObjectSupportLib                        1.2            1.0.4
    AppleScriptLib                        1.2.2

  WARNING: You need to have the above extensions up to date.
  They should be available on your System disks.

  I recommend installing the regular MacPerl distribution.

  Hit the <RETURN> or <ENTER> key to quit.
  ---- END SNIPPET ----


Correct me if I'm wrong, but this condition checks if I'm running on
a PowerPC, and if I'm *not* it'll tell me I *am*:

  if ($Gestalt{gestaltSysArchitecture()} ne gestaltPowerPC()) {
    print "You're running on a PowerPC-based Mac OS system.\n\n";

I changed that to read "... eq gestaltPowerPC()) {" and came up with
this:

  ---- START SNIPPET ----
  You're running on a Motorola 680x0-based Mac OS system.

  Checking the versions of some system files:
    File                         Version Needed  Version Present
    ---------------------------  --------------  ---------------
    CFM-68K Runtime Enabler                 4.0
    ObjectSupportLib                        1.2            1.0.4
    AppleScriptLib                        1.2.2

  I recommend installing the regular MacPerl distribution
  and then the BigMacPerl distribution.

  Alternatively, follow the above upgrade tips and install
  the CFM-68K distribution instead of the BigMacPerl distribution.

  Hit the <RETURN> or <ENTER> key to quit.
  ---- END SNIPPET ----

Now... I'll have to wander off to the Apple FTP site, presumably, to
pick up my complimentary copy of CFM-68k Runtime Enabler?  Do I need
these two Lib files as well?

BTW - Thanks for making the code readable and modular :)  It's nice
to read!

Regards,
Alex Satrapa
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2, by FileCrypt 1.0

iQCVAwUBNJmxiGFCmlEesL8FAQGeNwP7BSPPxyKrRSwq08bsDRbt3RR74i+PvKfr
q1Oj5zdsY/+RzTZuPymEaL43LL4fLQUYlhgcugXD+0WsZ6A3cGehErTwo2/6LrDT
/1KMph4dEWTtO/Mzj2S6mjX19sQQ4A+t/nyJ3QmEFNlYd/4ojdI2Mk8qgBEIeSEl
255SLn7Uj4s=
=ijnf
-----END PGP SIGNATURE-----

Windows 95: n. 32 bit extensions and a graphical shell for a 16 bit patch
to an 8 bit operating system originally coded for a 4 bit microprocessor,
written by a 2 bit company that can't stand 1 bit of competition.



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