Hi

I have the same problem but all of the solutions to this problem don't work (or 
I am to much of a noob to understand them)

I have tried symbolic links:

macpro:~ laurentlutgen$ ln -s /Applications/Aquamacs Emacs.app 
/Applications/Aquamacs.app
macpro:~ laurentlutgen$ ln -s 
/Applications/Aquamacs.app/Contents/MacOS/"Aquamacs Emacs" 
/Applications/Aquamacs.app/Contents/MacOS/"Aquamacs"

But the Ozapp still asks for Aquamacs

Then I tried to edit the script file in the 
Mozart.app/Contents/Resources/script to:

#!/bin/bash

OZHOME=$1/Contents/Resources
CD="$1/Contents/Resources/CocoaDialog.app/Contents/MacOS/CocoaDialog"
#CD="Mozart.app/Contents/Resources/CocoaDialog.app/Contents/MacOS/CocoaDialog"


detectAquamacs()
{
    if [ ! -e "/Applications/Aquamacs.app" ]; then
        `$CD ok-msgbox --no-cancel --icon info --timeout 20 --title "Aquamacs 
not found" --text "This application is needed to run Mozart" --informative-text 
"Yo$
        exit 2
    fi
}

detectAquamacs


######################################################################
# you should not edit below this line

# where Oz resides:

No more popup but the app bounces 2 times and then nothing? I am a terminal 
noob so I am sure I missed something but no idea what.

There were also some scripts posted to change the path but I tried them and I 
got some syntax and command not found errors.

https://github.com/steshaw/shelly/blob/master/bin/sync-env-to-plist
http://olabini.com/blog/2009/12/path-problem-with-emacs-on-mac-os-x/

I know that the terminal exits and I am able to copy paste some commands 
together but I don't want to use it all the time to learn Oz.

Any ideas how to solve my problem?

Thanks

Laurent Lutgen



On Nov 6, 2010, at 9:09 PM, Robert Calco wrote:

> Hello again, Mozart-Oz!
> 
> I have installed Mozart 1.4.0 on Mac OS X (10.6.4) but am unable to run it 
> from the Applications directory because it is not finding Aquamacs, which is 
> indeed installed on my system.
> 
> From the command line, the command line version of Emacs loads up with 'oz' 
> quite nicely but I'd like to use it with Aquamacs (version based on GNU Emacs 
> 23.2.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)).
> 
> I have installed aquamacs command line tools as well, which work fine from 
> the command line. That is, if I type "aquamacs," and hit enter, it pops up 
> just fine.
> 
> -- 
> Bob Calco
> DBA Softcraft Solutions
> [email protected]
> 
> _________________________________________________________________________________
> mozart-users mailing list                               
> [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