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

Re: [MacPerl-Porters] New MacPerl build system now available!



At 8:25 AM +0200 4/19/00, Matthias Ulrich Neeracher wrote:
>As an inaugural download in my new download area
>
>http://www.iis.ee.ethz.ch/~neeri/Downloads/
>
>I've made available a first public MacPerl distribution for perl 5.6.
>
>This will only build the MPW tool and is strictly built it yourself. It
>should be much easier to build than earlier distributions, and allows you
>to build with the (free) MPW compilers as well as with the CodeWarrior MPW
>compilers.
>
>Please report your successes and failures to the list


Keeping in mind that I'm a complete MPW neophyte, having only 
installed it for the first time this morning:

I'm trying to build MacPerl using only the stuff that comes with MPW. 
One problem is that UnPreload seems to depend entirely on Metrowerks.

# 10:50:42 AM ----- Build commands for all.
MWC68K -d MACOS_TRADITIONAL  -sym on -d PERL_CORE -nosyspath 
-convertpaths -nodefaults -i : -i :: -i {SFIO}include: -i 
{GUSI}include: -i "" -i "{CIncludes}" -model far -mc68020 -mbg on 
:UnPreload.c -o :Obj:UnPreload.c.68K.o
MWLink68K -sym on -xm mpwtool -d -model far -o UnPreload 
:Obj:UnPreload.c.68K.o "{MW68KLibraries}MSL MPWRuntime.68K.Lib" 
				"{MW68KLibraries}MSL Runtime68K.Lib" 
 
	"{MW68KLibraries}MacOS.Lib" 
				"{MW68KLibraries}MSL C.68K 
MPW(NL_4i_8d).Lib"				"{MW68KLibraries}MSL 
C++.68K (4i_8d).Lib" 
	"{MW68KLibraries}MathLib68K (4i_8d).Lib" 
			"{Libraries}ToolLibs.o" 
				"{Libraries}IntEnv.o"
MrC  -d MACOS_TRADITIONAL  -sym on -d PERL_CORE -i : -i :: -i 
{SFIO}include: -i {GUSI}include: -i "{CIncludes}" -includes unix -w 
2,3,6,7,35,29 -tb on ::av.c -o :Obj:av.c.MrC.o
MrC  -d MACOS_TRADITIONAL  -sym on -d PERL_CORE -i : -i :: -i 
{SFIO}include: -i {GUSI}include: -i "{CIncludes}" -includes unix -w 
2,3,6,7,35,29 -tb on ::scope.c -o :Obj:scope.c.MrC.o

(etc.)

So I made the following changes to Makefile.mk.  I commented out the 
dependency on UnPreload in miniperl, and commented out the UnPreload 
line in the build instuctions.  miniperl seemed to build properly, 
but the build crapped out  here:

     Duplicate -y miniperl.MrC miniperl
     Begin  End
      Echo 'Include "miniperl.SC" '''CODE''';'
      Echo 'Include "miniperl.SC" '''DATA''';'
      end
     Rez -a -c 'MPS ' -t MPST -o miniperl
#Standard input; Line 2; ### Rez - Warning: No resources read by 
include statement from file "miniperl.SC".
     :miniperl -w -I::lib -MExporter -e 0
     :miniperl configpm
Can't locate Exporter.pm in @INC (@INC contains: lib :) at 
:lib:Config.pm line 2.
BEGIN failed--compilation aborted at :lib:Config.pm line 2.
Compilation failed in require at configpm line 419.
### MPW Shell - Execution of all.makeout terminated.
### MPW Shell - Execution of BuildProgram terminated.

Should @INC include '::lib' at this point?  Putting the appropriate 
begin block in configpm and rerunning :miniperl configpm, the build 
proceeded to here:

        PPCLink -xm l -sym on -d -o MacPerl.Lib.MrC 
:Obj:MacPerl.c.MrC.o :Obj:XL.c.MrC.o :Obj:OSA.c.MrC.o
# 12:39:01 PM ----- Done.
# 12:39:01 PM ----- Build of install_static.
# 12:39:01 PM ----- Analyzing dependencies.
# 12:39:02 PM ----- Executing build commands.
        ::::macos:InstallBLIB "MacPerl" "::::macos:miniperl 
-I::::macos:lib -I::::lib: -e 'use File::Path; mkpath(\@ARGV, 1);'" 
AutoInit.pl MacPerl.pm MacPerl.xs OSA.xs XL.xs
         Perl -Sx "::::macos:InstallBLIB" "MacPerl" 
"::::macos:miniperl -I::::macos:lib -I::::lib: -e 'use File::Path; 
mkpath(\@ARGV, 1);'" "AutoInit.pl" "MacPerl.pm" "MacPerl.xs" "OSA.xs" 
"XL.xs" > InstallBLIB.cmd
### MPW Shell - Command "Perl" was not found.
         Exit "-1"
### MPW Shell - Execution of install_static.makeout terminated.
### MPW Shell - Execution of BuildProgram terminated.
### MPW Shell - Execution of all.makeout terminated.
### MPW Shell - Execution of BuildProgram terminated.

And now I'm out of ideas (do I need the old MacPerl MPW tool installed?).

>
>Matthias
>
>--
>Matthias Neeracher   <neeri@iis.ee.ethz.ch>   http://www.iis.ee.ethz.ch/~neeri
>    " `For tactical reasons,' the blonde said, `we do not currently advocate
>     the use of violence or sorcery against private individuals.' "
>                                         -- William Gibson, _Virtual Light_

-- 
--
Paul Schinder
schinder@pobox.com

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-porters-request@macperl.org