Hi--
I've written some Squeak installers that are invoked by SqueakJS. When you visit [1], SqueakJS installs native Squeak on localhost and makes a remote-messaging connection to it. Please check it out and let me know how it goes. So far I've tested on macOS/{Chrome,Safari,Firefox}, Windows/{Edge,Chrome,Firefox}, and Linux/{Firefox,Chrome}.
thanks!
-C
[1] http://blackpagedigital.com/squeak
-- Craig Latta Black Page Digital Amsterdam | San Francisco craig@blackpagedigital.com +31 6 2757 7177 (SMS ok) + 1 415 287 3547 (no SMS)
Hi Craig, I'm interested in this. I tried it in a Ubuntu 14.04.4 LTS Desktop running on a Oracle VirtualBox. In the SqueakJS image, it put up an alert box saying "Please run the file I just downloaded". I wasn't sure where it downloaded it so clicked on the "Linux" link to download "squeak.sh" to my home directory. I then ran in a terminal window.
At the bottom, it seemed to run into an issue, (possibly because of the uname of the VirtualBox?), here's the end of the terminal log:
- Chris
============ ./squeak.sh .... inflating: Context-7.0-All-in-One/squeak.bat inflating: Context-7.0-All-in-One/squeak.sh Starting Squeak... cmm@vbox-ubuntu-desktop:~$ Error. Could not determine platform's libc path for VM. Try forcing $PLATFORMLIBDIR in /home/cmm/Context-7.0-All-in-One/Context-7.0-xxxxx-32bit-All-in-One.app/Contents/Linux-i686/bin/squeak, based on LIBC_SO. Please report what works to squeak [vm-dev] mail list. LIBC_SO= DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS" NAME="Ubuntu" VERSION="14.04.4 LTS, Trusty Tahr" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 14.04.4 LTS" VERSION_ID="14.04" UNAME=Linux vbox-ubuntu-desktop 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux /home/cmm/Context-7.0-All-in-One/Context-7.0-xxxxx-32bit-All-in-One.app/Contents/Linux-i686/bin/squeak: 36: /home/cmm/Context-7.0-All-in-One/Context-7.0-xxxxx-32bit-All-in-One.app/Contents/Linux-i686/bin/squeak: [[: not found
On Thu, Oct 27, 2016 at 1:55 AM, Craig Latta craig@blackpagedigital.com wrote:
Hi--
I've written some Squeak installers that are invoked by SqueakJS.
When you visit [1], SqueakJS installs native Squeak on localhost and makes a remote-messaging connection to it. Please check it out and let me know how it goes. So far I've tested on macOS/{Chrome,Safari,Firefox}, Windows/{Edge,Chrome,Firefox}, and Linux/{Firefox,Chrome}.
thanks!
-C
[1] http://blackpagedigital.com/squeak
-- Craig Latta Black Page Digital Amsterdam | San Francisco craig@blackpagedigital.com +31 6 2757 7177 (SMS ok)
- 1 415 287 3547 (no SMS)
On Sunday, 30 October 2016, Chris Muller asqueaker@gmail.com wrote:
At the bottom, it seemed to run into an issue, (possibly because of the uname of the VirtualBox?), here's the end of the terminal log:
- Chris
36: /home/cmm/Context-7.0-All-in-One/Context-7.0-xxxxx-32bit- All-in-One.app/Contents/Linux-i686/bin/squeak: [[: not found
Maybe a sh vs bash problem?
- Bert -
Hi Chris--
Well, not finding libc is a problem. Have you run Squeak successfully on that setup before? I don't think the uname matters, and I don't know what it means by "[[: not found". As for sh vs. bash, it should be running sh since the "#!/bin/sh" magic cookie is that beginning of the script.
Thanks for trying it out!
-C
-- Craig Latta Black Page Digital Amsterdam | San Francisco craig@blackpagedigital.com +31 6 2757 7177 (SMS ok) + 1 415 287 3547 (no SMS)
Most newer Linux distributions will have /bin/sh linked to something other than bash (motivated mainly by a recent security hole found in bash). A script that depends on bash features needs to explicitly invoke bash in the shebang line.
Dave
Hi Chris--
Well, not finding libc is a problem. Have you run Squeak
successfully on that setup before? I don't think the uname matters, and I don't know what it means by "[[: not found". As for sh vs. bash, it should be running sh since the "#!/bin/sh" magic cookie is that beginning of the script.
Thanks for trying it out!
-C
-- Craig Latta Black Page Digital Amsterdam | San Francisco craig@blackpagedigital.com +31 6 2757 7177 (SMS ok)
- 1 415 287 3547 (no SMS)
It's the general Cog VM's starting script. Fabio and I just fixed it:
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/33bef2b286a2a2e8423...
- Bert -
On Tue, Nov 1, 2016 at 11:07 AM, Craig Latta craig@blackpagedigital.com wrote:
Hi Dave--
A script that depends on bash features needs to explicitly invoke bash in the shebang line.
Mm, mine doesn't.
-C
-- Craig Latta Black Page Digital Amsterdam | San Francisco craig@blackpagedigital.com +31 6 2757 7177 (SMS ok)
- 1 415 287 3547 (no SMS)
Hi, I'm currently trying to port a really old application that I wrote in 2008 and that's in regular use since then to current Squeak 5.1 (I want to add some features, and maintaining it in 3.9 indefinitely is not what I want). It looks promising, but I'm using the DBus plugin which does not seem to be available in 5.1. Does anyone know where it might have fallen off the wagon?
Cheers, Hans-Martin
On Tue, Nov 01, 2016 at 09:31:15PM +0100, Hans-Martin Mosner wrote:
Hi, I'm currently trying to port a really old application that I wrote in 2008 and that's in regular use since then to current Squeak 5.1 (I want to add some features, and maintaining it in 3.9 indefinitely is not what I want). It looks promising, but I'm using the DBus plugin which does not seem to be available in 5.1. Does anyone know where it might have fallen off the wagon?
The DBus plugin has traditionally been included in the interpreter VMs, but I do not see it in the Cog/Spur VMs. I cannot confirm, but I expect that it will work with 32-bit Spur, although it will require some code maintenance to get it to work on 64-bit VMs.
I am CCing the vm-dev list in case someone can verify the DBusPlugin build for 32-bit Spur. The plugin requires installing libdbus-1-dev on Linux.
Dave
squeak-dev@lists.squeakfoundation.org