Dear Laurent, Late reply... See the copied message below. Note that you need to create symbolic links in the shell, not MacOS aliases. E.g.,
ln -s Aquamacs.app "Aquamacs Emacs.app" Best, Torsten From: David Reye <[email protected]> Subject: RE: Mozart 1.4.0 for Mac OS X not finding Aquamacs Date: 6 November 2010 22:42:36 GMT To: Mozart users <[email protected]> Reply-To: Mozart users <[email protected]> > Robert, > > This came up a few weeks ago. Here is my post: > > MacOS port of oz requires Aquamacs Emacs. > It seems that Aquamacs has changed some path names: > /Applications/Aquamacs Emacs.app/Contents/… to > /Applications/Aquamacs.app/Contents/… > Similarly, the name of the binary has changed from "Aquamacs Emacs" to > "Aquamacs" > > So to get Oz to work on the Mac, I have created 2 corresponding symbolic > links: > /Applications/Aquamacs Emacs.app -> /Applications/Aquamacs.app > and > /Applications/Aquamacs.app/Contents/MacOS/"Aquamacs Emacs" -> > (samedir)/Aquamacs > > Cheers, > David > On 21 Feb 2011, at 18:09, Laurent Lutgen wrote: > 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 Best wishes, Torsten -- Dr Torsten Anders Course Leader, Music Technology University of Bedfordshire Park Square, Room A315 http://strasheela.sourceforge.net http://www.torsten-anders.de _________________________________________________________________________________ mozart-users mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-users
