Hi All,

For now I've resolved the problem.

Somehow ozplatform in /Applications/Mozart.app/Contents/Resources/bin reports 
"unknown-unknown" for the Mozart-Oz version 
(http://www.mozart-oz.org/download/mozart-ftp/store/1.4.0-2008-07-02-macosx/Mozart-1.4.0.20080702.dmg)
 I've download just a few days ago. But ozplatform should report "darwin-i386".

A quick hack appears to patch things up:

0. in /Applications/Mozart.app/Contents/Resources/bin
1. rename the original ozplatform to ozplatfrom.original
2. create a script named "ozplatform.hack":

#!/usr/bin/env bash
echo "darwin-i386"

3. chmod 744 ozplatform.hack
4. ln -s ozplatform ozplatform.hack


As a solution the hack is very satisfactory because it works. But I'm afraid 
that something is broken in the build, and that is a bit worry some.


regards,


/Twan



On 24 jun 2011, at 12:02, Nanitous wrote:

> Hi All,
> 
> Today I installed Mozart 1.4.0 on a new and fresh MacOSX Snow Leopard box. 
> 
> Because the OPE with Aquamacs doesn't work (Aquamacs complains "Process Oz 
> Emulator exited abnormally with code 126"), I tried to run ozc from the 
> command line and got this strange result (note the /unknown-unknown/  where 
> you would expect /darwin-i386/ in the execution paths):
> 
> 
> /Applications/Mozart.app/Contents/Resources/bin/ozengine: line 105: 
> /Applications/Mozart.app/Contents/Resources/platform/unknown-unknown/emulator.exe:
>  No such file or directory
> /Applications/Mozart.app/Contents/Resources/bin/ozengine: line 105: exec: 
> /Applications/Mozart.app/Contents/Resources/platform/unknown-unknown/emulator.exe:
>  cannot execute: No such file or directory
> 
> 
> Thing is, I'm happily using Mozart 1.4.0 on Snow Leopard on an older box 
> which has been incrementally upgraded from Leopard to Snow Leopard in the 
> course of time.
> 
> I checked whether there are differences in the environment (like 
> MACHTYPE=x86_64-apple-darwin10.0 and OSTYPE=darwin10.0), and Aquamacs 
> versions but to all practical purposes and intents these are the same on both 
> machines.
> 
> Usually I find the solution to this kind of problems myself and a bit of 
> googling, but this time I'm stumped.
> 
> Can somebody help me out here?
> 
> 
> Thanks,
> 
> 
> gr
> 
> 
> /Twan
>       
> 
> 
> 
> 

_________________________________________________________________________________
mozart-users mailing list                               
mozart-users@mozart-oz.org
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to