Re: [MacPerl-Modules] include <compat.h>

[email protected] (Rick Measham) Sat, 8 Mar 2003 12:24:39 +1100
Newsgroups perl.macperl.modules
Message-ID <a05200f00ba8ef505e663@[192.168.1.128]>
At 8:33 -0500 07/03/2003, Chris Nandor wrote:
>compat.h is part of GUSI.  See http://dev.macperl.org/?build for more
>information on it.

Thanks Chris

I've downloaed GUSI and all the other libraries that are listed there 
(there's no mention of all this in the XS tutorial in the MacPerl 
tutorials), and I've tried to buildprogram again. Here's where I left 
off (LISTING 1). Now we're missing PerlStub -- its nowhere on my 
machine in all the downloads. Do I have to build perl from source to 
get this file? I tried that just to see it it worked, however I get 
errors there too. (LISTING 2).

Anyone who can help, I'd love to hear :)


=3D=3D=3D=3D=3D=3D=3D LISTING 1 =3D=3D=3D=3D=3D=3D=3D
   PPCLink -xm sharedlibrary -sym off -d -@export DateTime.exp 
-fragname DateTime -o DateTime.shlb.MrC :Obj:DateTime.c.MrC.o 
":::macos:PerlStub" 
"PurpleHaze:MPW-GM:MPW::Interfaces&Libraries:Libraries:SharedLibraries:Inter=
faceLib" 
"PurpleHaze:MPW-GM:MPW::Interfaces&Libraries:Libraries:SharedLibraries:StdCL=
ib" 
"PurpleHaze:MPW-GM:MPW::Interfaces&Libraries:Libraries:SharedLibraries:MathL=
ib" 
"PurpleHaze:MPW-GM:MPW::Interfaces&Libraries:Libraries:PPCLibraries:MrCPlusL=
ib.o" 
"PurpleHaze:MPW-GM:MPW::Interfaces&Libraries:Libraries:PPCLibraries:PPCCRunt=
ime.o"
# Error:  Could not open file ":::macos:PerlStub"
# Fatal error:
PPCLink - Execution terminated!
=3D=3D=3D=3D=3D END LISTING 1 =3D=3D=3D=3D=3D


=3D=3D=3D=3D=3D=3D=3D LISTING 2 =3D=3D=3D=3D=3D=3D=3D
    FatBuild miniperl MrC SC
     Set Name "miniperl"
     Set SuffPPC MrC
     Set Suff68K SC
     Duplicate -y "miniperl".MrC "miniperl"
     If SC =3D=3D 68K =8A End
      Else
      Begin =8A End
       Echo 'Include "'"miniperl"'.SC" '=8F''CODE'=8F'';'
       end
      Rez -a -o "miniperl"
#Standard input; Line 1; ### Rez - File not found (OS error -43), 
resource file "miniperl.SC" not found.
=46ile "Standard input"; ### Rez - Since errors occured, miniperl's 
resource fork was not completely updated.
=3D=3D=3D=3D=3D END LISTING 2 =3D=3D=3D=3D=3D

-- 
--------------------------------------------------------
             There are 10 kinds of people:
   those that understand binary, and those that don't.
--------------------------------------------------------
   The day Microsoft makes something that doesn't suck
     is the day they start selling vacuum cleaners
--------------------------------------------------------
"Write a wise proverb and your name will live forever."
    -- Anonymous
--------------------------------------------------------