Le 11/12/2018 à 20h45, Ben Coman a écrit :
On Tue, 11 Dec 2018 at 20:24, Alexandre Garreau <galex-713@galex-713.eu> wrote:
Sorry I donât see the difference with what I did (and what is asked for GNUâLinux),
You had indicated you were following these instructions... https://pharoweekly.wordpress.com/2017/02/23/building-pharo-vm-as-simple-as/ But you can see there has not been much activity in that repo for 12 months... https://github.com/pharo-project/pharo-vm/commits/master You need to build from this repo... https://github.com/OpenSmalltalk/opensmalltalk-vm
Oh sorry, I must have not been clear enough: I used these instructions to build the repository you specified (opensmalltalk-vm).
except your instructions are for 64bits while my system is 32bits.
I missed that. I presume you then adapted to do this instead... $ cd opensmalltalk-vm/build.linux32x86/pharo.cog.spur/build
So thatâs precisely what I did.
Using the pharo.zip (32bits version I guess), and running âsqueak pharo/Pharo7.0-SNAPSHOT-32bit-4121d0d.imageâ gives:
You seem to be trying to use the Squeak VM to run Pharo Images. That is undefined behaviour. The Squeak VM and the Pharo VM are build from the same sources, but Pharo links in several C libraries to reuse their functionality rather than reinvent the wheel.
IIUC you shouldn't even get a "squeak" executable if you are building from inside "pharo.cog.spur" but a "pharo" and/or "pharo-ui" executable, so I'm confused I'm on Windows so I'm not able to check exactly but from memory you should be doing something like...
$ cd opensmalltalk-vm/build.linux32x86/pharo.cog.spur/build $ ./mvm $ cd dist $ ./pharo # or ./pharo-ui if that exists
There is no such directory (dist/), but there is a âsqueakâ executable in . (opensmalltalk-vm/build.linux32x86/pharo.cog.spur/build). âfind -name pharoâ returns nothing. With that âsqueakâ executable which âmake installâ installed (without any pharo executable) I can run a Pharo.image whose I forgot where I found it (I thing itâs the curl-downloaded thing).