Has anyone had luck installing Mozart from source on OS X?


On Oct 1, 2007, at 11:54 PM, Trevor Wennblom wrote:

Installed GMP -
        ./configure --host=none-apple-darwin --enable-cxx --enable-shared
Configured Mozart -
        ./configure --disable-contrib-gdbm

% uname - a 2 Darwin someones-computer.local 8.10.1 Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386 i386 i386
% gcc -v
Reading specs from /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/specs
Configured with: /private/var/tmp/gcc/gcc-4061.obj~8/src/configure --disable-checking --prefix=/usr --mandir=/share/man --enable- languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^+.-]* $/s/$/-4.0/ --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ -- build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 -- target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.0 20041026 (Apple Computer, Inc. build 4061)
% make
... [ cut ] ...
/tmp/mozart-1.3.2.20060615/share/lib/boot-ozc.sh -z 9 - DSITE_PROPERTY -l Base=/tmp/mozart-1.3.2.20060615/share/lib/ Base.ozf -b /tmp/mozart-1.3.2.20060615/share/lib/ -c compiler/ StaticAnalysis.oz -o StaticAnalysis.ozf /tmp/mozart-1.3.2.20060615/share/lib/boot-ozc.sh -z 9 - DSITE_PROPERTY -l Base=/tmp/mozart-1.3.2.20060615/share/lib/ Base.ozf -b /tmp/mozart-1.3.2.20060615/share/lib/ -c compiler/ CodeGen.oz -o CodeGen.ozf /tmp/mozart-1.3.2.20060615/share/lib/boot-ozc.sh -z 9 - DSITE_PROPERTY -l Base=/tmp/mozart-1.3.2.20060615/share/lib/ Base.ozf -b /tmp/mozart-1.3.2.20060615/share/lib/ -c compiler/ CodeStore.oz -o CodeStore.ozf /tmp/mozart-1.3.2.20060615/share/lib/boot-ozc.sh -z 9 - DSITE_PROPERTY -l Base=/tmp/mozart-1.3.2.20060615/share/lib/ Base.ozf -b /tmp/mozart-1.3.2.20060615/share/lib/ -c compiler/ CodeEmitter.oz -o CodeEmitter.ozf /tmp/mozart-1.3.2.20060615/share/lib/boot-ozc.sh -z 9 - DSITE_PROPERTY -l Base=/tmp/mozart-1.3.2.20060615/share/lib/ Base.ozf -b /tmp/mozart-1.3.2.20060615/share/lib/ -c compiler/ Assembler.oz -o Assembler.ozf /tmp/mozart-1.3.2.20060615/share/lib/boot-ozc.sh -z 9 - DSITE_PROPERTY -l Base=/tmp/mozart-1.3.2.20060615/share/lib/ Base.ozf -b /tmp/mozart-1.3.2.20060615/share/lib/ -c compiler/ Main.oz -o Main.ozf /tmp/mozart-1.3.2.20060615/share/lib/boot-ozc.sh -z 9 - DSITE_PROPERTY -l Base=/tmp/mozart-1.3.2.20060615/share/lib/ Base.ozf -b /tmp/mozart-1.3.2.20060615/share/lib/ -c compiler/ RunTime.oz -o RunTime.ozf /tmp/mozart-1.3.2.20060615/share/lib/boot-ozc.sh -z 9 - DSITE_PROPERTY -l Base=/tmp/mozart-1.3.2.20060615/share/lib/ Base.ozf -b /tmp/mozart-1.3.2.20060615/share/lib/ -c compiler/ ForLoop.oz -o ForLoop.ozf /tmp/mozart-1.3.2.20060615/share/lib/oze.sh ozl -z 9 Main.ozf -o Compiler.ozf /tmp/mozart-1.3.2.20060615/share/lib/boot-ozc.sh -z 9 - DSITE_PROPERTY -l Base=/tmp/mozart-1.3.2.20060615/share/lib/ Base.ozf -b /tmp/mozart-1.3.2.20060615/share/lib/ -x ozbatch/ Compile.oz -o ozc
make all \
OZEMULATOR=/tmp/mozart-1.3.2.20060615/platform/emulator/emulator.exe \
OZENGINE=/tmp/mozart-1.3.2.20060615/share/ozengine.sh \
OZC="/tmp/mozart-1.3.2.20060615/share/ozengine.sh /tmp/ mozart-1.3.2.20060615/share/lib/ozc" \
OZINIT=/tmp/mozart-1.3.2.20060615/share/lib/Init.ozf \
OZPATH=".:/tmp/mozart-1.3.2.20060615/share/lib:/tmp/ mozart-1.3.2.20060615/share/tools:/tmp/mozart-1.3.2.20060615/share/ lib:/tmp/mozart-1.3.2.20060615/share/tools" \ OZ_LOAD=root=".:prefix=/=/:prefix=./=./:prefix=x-oz://system/=/tmp/ mozart-1.3.2.20060615/share/lib/:prefix=x-oz://system/=/tmp/ mozart-1.3.2.20060615/share/tools/:prefix=x-oz://contrib/=/tmp/ mozart-1.3.2.20060615/contrib/:prefix=x-oz://contrib/=/tmp/ mozart-1.3.2.20060615/contrib/gdbm/:prefix=x-oz://contrib/os/=/tmp/ mozart-1.3.2.20060615/contrib/os/:prefix=x-oz://boot/=/tmp/ mozart-1.3.2.20060615/platform/emulator/:prefix=x-oz://system/=/tmp/ mozart-1.3.2.20060615/platform/tools/gump/:prefix=x-oz://system/=/ tmp/mozart-1.3.2.20060615/platform/tools/gump/ozbison/:=" \ OZL="/tmp/mozart-1.3.2.20060615/share/ozengine.sh /tmp/ mozart-1.3.2.20060615/share/lib/ozl" \
OZDOC_HOME="/tmp/mozart-1.3.2.20060615/doc/utilities" \
OZDOC_AUTHOR_PATH="/tmp/mozart-1.3.2.20060615/share/tools:/tmp/ mozart-1.3.2.20060615/doc" \
OZDOC_BIB_PATH="/tmp/mozart-1.3.2.20060615/share/tools" \
OZDOC_BST_PATH="/tmp/mozart-1.3.2.20060615/share/tools:/tmp/ mozart-1.3.2.20060615/doc/utilities" \ OZDOC_ELISP_PATH=".:/tmp/mozart-1.3.2.20060615/share/tools:/tmp/ mozart-1.3.2.20060615/doc:/tmp/mozart-1.3.2.20060615/doc/utilities:/ tmp/mozart-1.3.2.20060615/share/elisp:/tmp/mozart-1.3.2.20060615/ share/elisp:/tmp/mozart-1.3.2.20060615/contrib/doc/code" \
OZDOC_SBIN_PATH="/tmp/mozart-1.3.2.20060615/doc/utilities" \
OZDOC_CATALOG="/tmp/mozart-1.3.2.20060615/doc/bootcatalog" \
OZTOOL="/bin/sh /tmp/mozart-1.3.2.20060615/platform/emulator/ oztool.sh" \ OZTOOL_INCLUDES="-I/tmp/mozart-1.3.2.20060615/platform/emulator -I/ tmp/mozart-1.3.2.20060615/platform/emulator -I/tmp/ mozart-1.3.2.20060615/platform/tools/gump " \
WINOZTOOLCXXFLAGS= \
WINOZTOOLLDFLAGS="" \
OZFLEX=/tmp/mozart-1.3.2.20060615/platform/tools/gump/ozflex/flex.exe
/tmp/mozart-1.3.2.20060615/share/ozengine.sh /tmp/ mozart-1.3.2.20060615/share/lib/ozc -z 9 -c CompilerPanel.oz -o CompilerPanel.ozf /tmp/mozart-1.3.2.20060615/share/ozengine.sh /tmp/ mozart-1.3.2.20060615/share/lib/ozc -z 9 -c Panel.oz -o Panel.ozf /tmp/mozart-1.3.2.20060615/share/ozengine.sh /tmp/ mozart-1.3.2.20060615/share/lib/ozc -z 9 -c Browser.oz -o Browser.ozf /tmp/mozart-1.3.2.20060615/share/ozengine.sh /tmp/ mozart-1.3.2.20060615/share/lib/ozc -z 9 -c Explorer.oz -o Explorer.ozf /tmp/mozart-1.3.2.20060615/share/ozengine.sh /tmp/ mozart-1.3.2.20060615/share/lib/ozc -z 9 -c Emacs.oz -o Emacs.ozf /tmp/mozart-1.3.2.20060615/share/ozengine.sh /tmp/ mozart-1.3.2.20060615/share/lib/ozc -z 9 -c Ozcar.oz -o Ozcar.ozf

%***************** Error: illegal field selection ***************
%**
%** In statement: <O: CodeStore> . controlFlowInfoSwitch = _<optimized>
%**
%** Call Stack:
%** procedure 'Emitter,GenericEmitCall/fast' in file "./compiler/ CodeEmitter.oz", line 1445, column 6, PC = 6612544 %** procedure 'Emitter,EmitSendMsg/fast' in file "./compiler/ CodeEmitter.oz", line 1408, column 6, PC = 6610964 %** procedure 'Emitter,TryToUseAsSendMsg/fast' in file "./compiler/ CodeEmitter.oz", line 1362, column 6, PC = 6607372 %** procedure 'Emitter,EmitVInstr/fast' in file "./compiler/ CodeEmitter.oz", line 708, column 6, PC = 6588928 %** procedure 'Emitter,EmitAddr/fast' in file "./compiler/ CodeEmitter.oz", line 513, column 6, PC = 6577712 %** procedure 'Emitter,EmitAddrInLocalEnv/fast' in file "./compiler/ CodeEmitter.oz", line 2021, column 6, PC = 6632060 %** procedure 'Emitter,EmitVInstr/fast' in file "./compiler/ CodeEmitter.oz", line 708, column 6, PC = 6602572 %** procedure 'Emitter,EmitAddr/fast' in file "./compiler/ CodeEmitter.oz", line 513, column 6, PC = 6577608 %** procedure 'Emitter,doEmit/fast' in file "./compiler/ CodeEmitter.oz", line 442, column 6, PC = 6574800 %** procedure 'CodeStore,endDefinition/fast' in file "./compiler/ CodeStore.oz", line 103, column 6, PC = 3957048 %** procedure 'CodeGenDefinition,codeGen/fast' in file "./compiler/ CodeGen.oz", line 831, column 6, PC = 6889168 %** procedure 'CodeGenList' in file "./compiler/CodeGen.oz", line 87, column 3, PC = 6837788 %** procedure 'CodeGenList' in file "./compiler/CodeGen.oz", line 87, column 3, PC = 6837788 %** procedure 'CodeGenList' in file "./compiler/CodeGen.oz", line 87, column 3, PC = 6837788 %** procedure 'CodeGenMethod,MakeBody/fast' in file "./compiler/ CodeGen.oz", line 1512, column 6, PC = 6929248 %** procedure 'CodeGenMethod,MakeFastMeth/fast' in file "./compiler/ CodeGen.oz", line 1467, column 6, PC = 6926876 %** procedure 'CodeGenMethod,makeQuadruple/fast' in file "./ compiler/CodeGen.oz", line 1314, column 6, PC = 6916612 %** procedure 'MakeMethods' in file "./compiler/CodeGen.oz", line 1266, column 5, PC = 6913364 %** procedure 'CodeGenClassNode,codeGen/fast' in file "./compiler/ CodeGen.oz", line 1249, column 6, PC = 6913652 %** procedure 'CodeGenList' in file "./compiler/CodeGen.oz", line 87, column 3, PC = 6837788
%** ...
%**--------------------------------------------------------------
Mozart Compiler 1.3.2 (20071001) playing Oz 3

%%% feeding file Ozcar.oz
%** ------------------ crashed

%***************** Error: illegal field selection ***************
%**
%** In statement: <O: CodeStore> . controlFlowInfoSwitch = _<optimized>
%**
%** Call Stack:
%** procedure 'Emitter,GenericEmitCall/fast' in file "./compiler/ CodeEmitter.oz", line 1445, column 6, PC = 6612544 %** procedure 'Emitter,EmitSendMsg/fast' in file "./compiler/ CodeEmitter.oz", line 1408, column 6, PC = 6610964 %** procedure 'Emitter,TryToUseAsSendMsg/fast' in file "./compiler/ CodeEmitter.oz", line 1362, column 6, PC = 6607372 %** procedure 'Emitter,EmitVInstr/fast' in file "./compiler/ CodeEmitter.oz", line 708, column 6, PC = 6588928 %** procedure 'Emitter,EmitAddr/fast' in file "./compiler/ CodeEmitter.oz", line 513, column 6, PC = 6577712 %** procedure 'Emitter,EmitAddrInLocalEnv/fast' in file "./compiler/ CodeEmitter.oz", line 2021, column 6, PC = 6632060 %** procedure 'Emitter,EmitVInstr/fast' in file "./compiler/ CodeEmitter.oz", line 708, column 6, PC = 6602572 %** procedure 'Emitter,EmitAddr/fast' in file "./compiler/ CodeEmitter.oz", line 513, column 6, PC = 6577608 %** procedure 'Emitter,doEmit/fast' in file "./compiler/ CodeEmitter.oz", line 442, column 6, PC = 6574800 %** procedure 'CodeStore,endDefinition/fast' in file "./compiler/ CodeStore.oz", line 103, column 6, PC = 3957048 %** procedure 'CodeGenDefinition,codeGen/fast' in file "./compiler/ CodeGen.oz", line 831, column 6, PC = 6889168 %** procedure 'CodeGenList' in file "./compiler/CodeGen.oz", line 87, column 3, PC = 6837788 %** procedure 'CodeGenList' in file "./compiler/CodeGen.oz", line 87, column 3, PC = 6837788 %** procedure 'CodeGenList' in file "./compiler/CodeGen.oz", line 87, column 3, PC = 6837788 %** procedure 'CodeGenMethod,MakeBody/fast' in file "./compiler/ CodeGen.oz", line 1512, column 6, PC = 6929248 %** procedure 'CodeGenMethod,MakeFastMeth/fast' in file "./compiler/ CodeGen.oz", line 1467, column 6, PC = 6926876 %** procedure 'CodeGenMethod,makeQuadruple/fast' in file "./ compiler/CodeGen.oz", line 1314, column 6, PC = 6916612 %** procedure 'MakeMethods' in file "./compiler/CodeGen.oz", line 1266, column 5, PC = 6913364 %** procedure 'CodeGenClassNode,codeGen/fast' in file "./compiler/ CodeGen.oz", line 1249, column 6, PC = 6913652 %** procedure 'CodeGenList' in file "./compiler/CodeGen.oz", line 87, column 3, PC = 6837788
%** ...
%**--------------------------------------------------------------

%***************** Error: distributed programming ***************
%**
%** Resources found during pickling
%**
%** Resources: [_<optimized>]
%** Filename:  'Ozcar.ozf'
%** In statement: {<P/4 Pickle.saveWithHeader> _<optimized> [79 122 99 97 114 46 111 122 102] '' 9}
%**
%** Call Stack:
%** procedure in file "./ozbatch/Compile.oz", line 394, column 3, PC = 25283244 %** procedure 'ForAll' in file "/usr/staff/raph/devel/trunk/mozart/ share/lib/base/List.oz", line 106, column 0, PC = 4299300 %** procedure in file "./ozbatch/Compile.oz", line 22, column 0, PC = 25286456
%**--------------------------------------------------------------
make[3]: *** [Ozcar.ozf] Error 1
make[2]: *** [boot-all] Error 2
make[1]: *** [bootstrap] Error 1
make: *** [bootstrap] Error 1

______________________________________________________________________ ___________ mozart-users mailing list mozart- [EMAIL PROTECTED]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to