On 18 janv. 2010, at 16:58, Levente Uzonyi wrote: > On Mon, 18 Jan 2010, Simon Denier wrote: > >> Hi there >> >> I'm trying to run a VM in headless mode on a linux server (version 3.10-3 >> #32 Wed Apr 8 19:55:11 BST 2009 gcc 4.1.2). >> > > You won't be able to run Pharo on that VM, because it's pre-closure. You > need 3.10-6 or later.
ah ok, I though it was. Thanks for the tip, now I will try to compile my own vm (which didnt work out last week). Or, does anybody have a Linux VM already compiled which is closure-enabled? > > > Levente > >> After struggling a bit to found a recent VM (that is, closure-enabled), now >> I can launch it with the following command: >> exec "$EXE/squeak" \ >> -plugins "$RES" \ >> -encoding latin1 \ >> -vm-display-null \ >> "$APP/testServer.image" >> >> Problem is the process starts but obviously got stuck after that. I got no >> feedback on what's going wrong (I guess some error happens and the system is >> waiting for user input). >> >> I tried with a fresh 10500 image and the simplest script I could think of to >> test: >> (FileStream forceNewFileNamed: 'foo.txt') nextPutAll: 'bar'; close >> >> ....same thing. >> >> Of course it works on my local machine with UI. >> >> Is there a way to debug this, like having the debugger to dump the stack in >> the terminal. I tried Cmd-. but it just stops the process (like Ctrl-c) >> with no feedback. >> >> >> -- >> Simon >> >> >> >> >> _______________________________________________ >> Pharo-project mailing list >> [email protected] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- Simon _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
