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 :)
======= LISTING 1 ======= PPCLink -xm sharedlibrary -sym off -d [EMAIL PROTECTED] DateTime.exp -fragname DateTime -o DateTime.shlb.MrC :Obj:DateTime.c.MrC.o ":::macos:PerlStub" "PurpleHaze:MPW-GM:MPW::Interfaces&Libraries:Libraries:SharedLibraries:InterfaceLib" "PurpleHaze:MPW-GM:MPW::Interfaces&Libraries:Libraries:SharedLibraries:StdCLib" "PurpleHaze:MPW-GM:MPW::Interfaces&Libraries:Libraries:SharedLibraries:MathLib" "PurpleHaze:MPW-GM:MPW::Interfaces&Libraries:Libraries:PPCLibraries:MrCPlusLib.o" "PurpleHaze:MPW-GM:MPW::Interfaces&Libraries:Libraries:PPCLibraries:PPCCRuntime.o" # Error: Could not open file ":::macos:PerlStub" # Fatal error: PPCLink - Execution terminated! ===== END LISTING 1 =====
======= LISTING 2 ======= FatBuild miniperl MrC SC Set Name "miniperl" Set SuffPPC MrC Set Suff68K SC Duplicate -y "miniperl".MrC "miniperl" If SC == 68K End Else Begin End Echo 'Include "'"miniperl"'.SC" '''CODE''';' end Rez -a -o "miniperl" #Standard input; Line 1; ### Rez - File not found (OS error -43), resource file "miniperl.SC" not found. File "Standard input"; ### Rez - Since errors occured, miniperl's resource fork was not completely updated. ===== END LISTING 2 =====
-- -------------------------------------------------------- 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 --------------------------------------------------------