Hi Everyone,
Ok, I looked briefly at the Pharo VM source but it didn't seem nearly
as easy to build as the Squeak one. So I gave up on it for the moment.
I decided to try a Squeak VM with a Squeak developer image that
already had Pier on it (albeit an older version... but that should be
upgradeable...). I'm able to double click and get it to launch and
then confirm in my web browser that Pier is alive and well.
Unfortunately when I try to do it from the command line it appears to
hang. No errors, warnings, etc. But I can't access Pier through my
web browser. It certainly appears that it "halfway" started up.
When I try to do it from launchctl it keeps aborting and after 10
tries gives up. The console looks like this:
Aug 1 21:57:51 Super-Lan-Boy sudo: recurve : TTY=ttyp2 ; PWD=/
Library/LaunchDaemons ; USER=root ; COMMAND=/bin/launchctl load /
Library/LaunchDaemons/com.squeak.seaside.plist
Aug 1 21:57:51 Super-Lan-Boy launchd: com.squeak.seaside: exited
abnormally: Abort trap
Aug 1 21:57:51 Super-Lan-Boy launchd: com.squeak.seaside: respawning
too quickly! throttling
Aug 1 21:57:51 Super-Lan-Boy launchd: com.squeak.seaside: 9 more
failures without living at least 60 seconds will cause job removal
... keeps going until finally...
Aug 1 21:59:11 Super-Lan-Boy launchd: com.squeak.seaside: will
restart in 10 seconds
Aug 1 21:59:21 Super-Lan-Boy launchd: com.squeak.seaside: exited
abnormally: Abort trap
Aug 1 21:59:21 Super-Lan-Boy launchd: com.squeak.seaside: respawning
too quickly! throttling
Aug 1 21:59:21 Super-Lan-Boy launchd: com.squeak.seaside: too many
failures in succession
For the curious, here is what my launchctl plist looks like at the
moment:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://
www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>GroupName</key>
<string>appserverusr</string>
<key>Label</key>
<string>com.squeak.seaside</string>
<key>OnDemand</key>
<false/>
<key>Program</key>
<string>/usr/local/bin/squeak</string>
<key>ProgramArguments</key>
<array>
<string>-vm-display-null</string>
<string>-vm-sound-null</string>
<string>-headless</string>
<string>/Applications/Smalltalk/Seaside-2/Seaside-2.8-573.image</
string>
</array>
<key>ServiceIPC</key>
<false/>
<key>UserName</key>
<string>appserver</string>
</dict>
</plist>
Then you attempt to invoke it with:
sudo launchctl load /Library/LaunchDaemons/com.squeak.seaside.plist
Cheers,
-- Aaron