[self-interest] new to self OSX
Jecel Assumpcao Jr
jecel at merlintec.com
Tue Aug 13 16:48:14 UTC 2002
On Monday 12 August 2002 22:30, christian.hresko wrote:
> trying to get the self (MacOSX) VM to launch properly. encountered
> the following problem(s);
>
>
> using the droplet to launch a Demo:
>
> Welcome to Darwin!
> "${SELF_WORKING_DIR}"/vm/mac_osx/vm_project/build/Self.app/Contents/M
>acOS/ Self -s "/Self/objects/Demo.snap"
> [localhost:~] chresko%
> "${SELF_WORKING_DIR}"/vm/mac_osx/vm_project/build/Self.app/Contents/M
>acOS/ Self -s "/Self/objects/Demo.snap"
> SELF_WORKING_DIR: Undefined variable.
> [localhost:~] chresko%
Here is what C. Ramakrishnan wrote back on May 12:
-----
You have a few options here.
One is to hack. :) You can change the Applescript to point directly to
Self. Open the SelfDroplet project in Project Builder (you might be
able to do this in the Applescript Script Editor too) and change:
"\"${SELF_WORKING_DIR}\"/vm/mac_osx/vm_project/build/Self.app/Contents/MacOS/Sel
f -s \"" & unixFileName & "\""
to e.g., :
"Projects/self/vm/mac_osx/vm_project/build/Self.app/Contents/MacOS/Self
-s \"" &
unixFileName & "\""
Another is to set the SELF_WORKING_DIR in your .cshrc.
A third, probably the most "MacOS X" way is to set this in your
~/.MacOSX/environment.plist . See
<http://developer.apple.com/qa/qa2001/qa1067.html> for details.
-----
> if i launch from the command line:
>
> VM#
>
> VM# 'smallUI2.self' _RunScript
>
> A lookup error happened while sending the message
> primitiveFailedError:Name:
> to
> 'smallUI2.self'.
> Subsequently, the lookup error message
> undefinedSelector:Receiver:Type:Delegatee:MethodHolder:Arguments:
> was sent to
> <2>,
> and was also not understood, causing the process to be aborted by the
> Self VM.
>
> #0 (<error>:1): primitiveFailedError:Name: = ( | self* =
> 'smallUI2.self '. :arg1
> = 'ENOENT'. :arg2 = '_RunScript'. delegatee = nil. |
> "undefined selector error;
> this method was automatically generated by the VM."
> )
>
> #1 (<stdin>:1): <top level expr> = ( | self* = lobby. |
> 'smallUI2.self' _RunScript)
>
> VM#
This error is very confusing, but the clue is the Unix ENOENT error
which implies that you don't have a 'smallUI2.self' file in your
current directory.
You might have such a file (and the many others it calls) if you
downloaded the sources, but they are not present in the "basic"
distribution. Even if you do have the needed files, starting from the
empty world and then reading all the .self files will only give you
something roughly like the Empty.snap and not like Demo.snap (and you
will have to start the GUI manually).
> also, do i need XWindows?
No, this port uses the CarbonLib for its graphics.
-- Jecel
More information about the Self-interest
mailing list