Hi all, Has anybody ever tried to get Smalltalk on a NAS box ? NAS are more and more present around me and I can't help thinking it would be a great smalltalk deployment option. Out of the box, PHP application can run. I think one problem is the multitude of architecture and that each VM needs to be compiled specifically. As a side note, I think we should focus on Synology and Qnap at starts. Let's take a particular example. I have a synology NAS (DSM 411+II) wich is based on an ATOM 510 (64bits if I'm correct) [2]. There's a guide on how to install third party application (from the raw setup to the app packaging) [3]. From what I understand of the compilation process [3], the first step is to download DSM Tool Chain [4] and to use it to compile sources on a classic linux station. Then, once compiled, you move the executable to the NAS and it should work... Problem is I'm a bit lost there because, first I never compiled a VM and second, this needs some manipulations on the configure file (which I'm not at ease with). So, is there a brave experienced soul that could have a try compiling a Cog VM with this toolchain (my NAS is a pineview processor - D525)? Also, I think this would be even more pertinent with gemstone. I tried the install.sh but got quickly blocked and I'm not sure this gives a single executable anyway. But if the gestone guys wants to have a try... :) I can give ssh access for people interested if necessary. TIA, Cédrick [3] <a href="http://download.synology.com/download/ds/userguide/Synology NAS Server 3rd-Party Apps Integration Guide.pdf">http://download.synology.com/download/ds/userguide/Synology%20NAS%20Server%203rd-Party%20Apps%20Integration%20Guide.pdf _______________________________________________ VM-beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners |
On 2012-07-09, at 17:40, Cédrick Béler wrote:
> I have a synology NAS (DSM 411+II) wich is based on an ATOM 510 (64bits if I'm correct) [2]. Since this is an Intel chip, the normal Linux x86 VM should just work. For other processors, you should try the Squeak interpreter or Stack VM. Cog has not been ported to other architectures than Intel yet. - Bert - _______________________________________________ VM-beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners |
You mean that I need to compile my own VM ?
Because if I use the Linux Cog VM (from ci.inria.fr), I get a floating point exception: DiskStationSDC> ./CogVM --display-null ../Pharo-2.0.image Floating point exception Le 9 juil. 2012 à 17:50, Bert Freudenberg a écrit : > On 2012-07-09, at 17:40, Cédrick Béler wrote: > >> I have a synology NAS (DSM 411+II) wich is based on an ATOM 510 (64bits if I'm correct) [2]. > > Since this is an Intel chip, the normal Linux x86 VM should just work. > > For other processors, you should try the Squeak interpreter or Stack VM. Cog has not been ported to other architectures than Intel yet. > > - Bert - > _______________________________________________ VM-beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners |
On 2012-07-09, at 18:04, Cédrick Béler wrote:
> You mean that I need to compile my own VM ? No. > Because if I use the Linux Cog VM (from ci.inria.fr), I get a floating point exception: > > DiskStationSDC> ./CogVM --display-null ../Pharo-2.0.image > Floating point exception What about the regular VM from squeakvm.org? Or Eliot's VM? I thought Atom was pretty the same as any modern Intel CPU, with support for up to SSE3 (but not SSE4). So this should be fine for Cog. - Bert - > Le 9 juil. 2012 à 17:50, Bert Freudenberg a écrit : > >> On 2012-07-09, at 17:40, Cédrick Béler wrote: >> >>> I have a synology NAS (DSM 411+II) wich is based on an ATOM 510 (64bits if I'm correct) [2]. >> >> Since this is an Intel chip, the normal Linux x86 VM should just work. >> >> For other processors, you should try the Squeak interpreter or Stack VM. Cog has not been ported to other architectures than Intel yet. >> >> - Bert - _______________________________________________ VM-beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners |
> What about the regular VM from squeakvm.org? Or Eliot's VM?
> I just tried but couldn't get it work... DiskStationSDC> squeak.sh -nodisplay Pharo-2.0.image libasound.so.2: cannot open shared object file: No such file or directory libpulse-simple.so.0: cannot open shared object file: No such file or directory libasound.so.2: cannot open shared object file: No such file or directory > I thought Atom was pretty the same as any modern Intel CPU, with support for up to SSE3 (but not SSE4). So this should be fine for Cog. > > - Bert - > >> Le 9 juil. 2012 à 17:50, Bert Freudenberg a écrit : >> >>> On 2012-07-09, at 17:40, Cédrick Béler wrote: >>> >>>> I have a synology NAS (DSM 411+II) wich is based on an ATOM 510 (64bits if I'm correct) [2]. >>> >>> Since this is an Intel chip, the normal Linux x86 VM should just work. >>> >>> For other processors, you should try the Squeak interpreter or Stack VM. Cog has not been ported to other architectures than Intel yet. >>> >>> - Bert - > > > > _______________________________________________ > VM-beginners mailing list > [hidden email] > http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners _______________________________________________ VM-beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners |
On Mon, Jul 9, 2012 at 6:54 PM, Cédrick Béler <[hidden email]> wrote: I just tried but couldn't get it work... You have to install the 32 bits libraries. And again, be sure to try a StackVM, not CogVM.
Mariano http://marianopeck.wordpress.com _______________________________________________ VM-beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners |
In reply to this post by cedreek
On 2012-07-09, at 18:54, Cédrick Béler wrote: >> What about the regular VM from squeakvm.org? Or Eliot's VM? >> > > I just tried but couldn't get it work... > > DiskStationSDC> squeak.sh -nodisplay Pharo-2.0.image > libasound.so.2: cannot open shared object file: No such file or directory > libpulse-simple.so.0: cannot open shared object file: No such file or directory > libasound.so.2: cannot open shared object file: No such file or directory These are all sound related. Try "-nosound". - Bert - _______________________________________________ VM-beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners |
Thanks Bert, it seems to work but with a squeak image. DiskStationSDC> squeak.sh -nodisplay -nosound ./squeak4/Squeak4.3.image & DiskStationSDC> ps | grep squeak 17992 root 1027m S /usr/local/lib/squeak/4.4.7-2357/squeakvm -nodisplay -nosound ./squeak4/Squeak4.3.image 18007 root 2476 S grep squeak DiskStationSDC> Now, I need to make it work with a Pharo/seaside image with VNC support... and with the stack VM and a Pharo2.0 image, I still get the floating point error: DiskStationSDC> ./StackVM-linux/StackVM -nodisplay -nosound Pharo-2.0.image Floating point exception (core dumped). Anyway thanks for your help, Cédrick Le 9 juil. 2012 à 19:07, Bert Freudenberg a écrit :
_______________________________________________ VM-beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners |
On 2012-07-09, at 19:46, Cédrick Béler wrote: > Thanks Bert, it seems to work but with a squeak image. > > DiskStationSDC> squeak.sh -nodisplay -nosound ./squeak4/Squeak4.3.image & > DiskStationSDC> ps | grep squeak > 17992 root 1027m S /usr/local/lib/squeak/4.4.7-2357/squeakvm -nodisplay -nosound ./squeak4/Squeak4.3.image > 18007 root 2476 S grep squeak > DiskStationSDC> > > Now, I need to make it work with a Pharo/seaside image with VNC support... Does the Squeak VM not work with the Pharo image? - Bert - > and with the stack VM and a Pharo2.0 image, I still get the floating point error: > > DiskStationSDC> ./StackVM-linux/StackVM -nodisplay -nosound Pharo-2.0.image > Floating point exception (core dumped). > > > Anyway thanks for your help, > > Cédrick _______________________________________________ VM-beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners |
no, at least not on the NAS.
It starts but quits like 1 seconds after without any messages... Le 9 juil. 2012 à 19:48, Bert Freudenberg a écrit : > > On 2012-07-09, at 19:46, Cédrick Béler wrote: > >> Thanks Bert, it seems to work but with a squeak image. >> >> DiskStationSDC> squeak.sh -nodisplay -nosound ./squeak4/Squeak4.3.image & >> DiskStationSDC> ps | grep squeak >> 17992 root 1027m S /usr/local/lib/squeak/4.4.7-2357/squeakvm -nodisplay -nosound ./squeak4/Squeak4.3.image >> 18007 root 2476 S grep squeak >> DiskStationSDC> >> >> Now, I need to make it work with a Pharo/seaside image with VNC support... > > Does the Squeak VM not work with the Pharo image? > > - Bert - > >> and with the stack VM and a Pharo2.0 image, I still get the floating point error: >> >> DiskStationSDC> ./StackVM-linux/StackVM -nodisplay -nosound Pharo-2.0.image >> Floating point exception (core dumped). >> >> >> Anyway thanks for your help, >> >> Cédrick > > > _______________________________________________ > VM-beginners mailing list > [hidden email] > http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners _______________________________________________ VM-beginners mailing list [hidden email] http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners |
Free forum by Nabble | Edit this page |