Build Pharo VM

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Build Pharo VM

Guido Chari
Hi,

I am trying to compile the Pharo-VM but I was not able. Neither in OSX nor in Unix. I followed the instructions on https://github.com/pharo-project/pharo-vm. In OSX the builder at the image level runs ok but I see no output at the build directory. In Unix, the files in the build directory were generated but then the building process fails because of some cmake files not found from one of the plugins. I am using the last version from the master repo. 

So my question is, any hints on what I am doing wrong? Are there any up to date documentation for building the vm?

Best regards,
Guido. 
Reply | Threaded
Open this post in threaded view
|

Re: Build Pharo VM

EstebanLM

On 23 Feb 2017, at 15:33, Guido Chari <[hidden email]> wrote:

Hi,

I am trying to compile the Pharo-VM but I was not able. Neither in OSX nor in Unix. I followed the instructions on https://github.com/pharo-project/pharo-vm. In OSX the builder at the image level runs ok but I see no output at the build directory. In Unix, the files in the build directory were generated but then the building process fails because of some cmake files not found from one of the plugins. I am using the last version from the master repo. 

So my question is, any hints on what I am doing wrong? Are there any up to date documentation for building the vm?

yes: everything :)
that instructions are very old and I still do not have time to fix them… 

basically, if all your dependencies are ok, doing this should be enough: 

$ git clone [hidden email]:pharo-project/pharo-vm.git
$ cd pharo-vm/opensmalltalk-vm/build.macos32x86/pharo.cog.spur
$ ./mvm -f

for linux you can: 

$ cd pharo-vm/opensmalltalk-vm//build.linux32x86/pharo.cog.spur/build
$ ./mvm

Esteban


Best regards,
Guido. 

Reply | Threaded
Open this post in threaded view
|

Re: Build Pharo VM

stepharong
Esteban

can you add a todo to remove this readme?

Stef


On Thu, 23 Feb 2017 15:51:07 +0100, Esteban Lorenzano <[hidden email]> wrote:


On 23 Feb 2017, at 15:33, Guido Chari <[hidden email]> wrote:

Hi,

I am trying to compile the Pharo-VM but I was not able. Neither in OSX nor in Unix. I followed the instructions on https://github.com/pharo-project/pharo-vm. In OSX the builder at the image level runs ok but I see no output at the build directory. In Unix, the files in the build directory were generated but then the building process fails because of some cmake files not found from one of the plugins. I am using the last version from the master repo. 

So my question is, any hints on what I am doing wrong? Are there any up to date documentation for building the vm?

yes: everything :)
that instructions are very old and I still do not have time to fix them… 

basically, if all your dependencies are ok, doing this should be enough: 

$ git clone [hidden email]:pharo-project/pharo-vm.git
$ cd pharo-vm/opensmalltalk-vm/build.macos32x86/pharo.cog.spur
$ ./mvm -f

for linux you can: 

$ cd pharo-vm/opensmalltalk-vm//build.linux32x86/pharo.cog.spur/build
$ ./mvm

Esteban


Best regards,
Guido. 




--
Using Opera's mail client: http://www.opera.com/mail/
Reply | Threaded
Open this post in threaded view
|

Re: Build Pharo VM

Pierce Ng-3
In reply to this post by EstebanLM
On Thu, Feb 23, 2017 at 03:51:07PM +0100, Esteban Lorenzano wrote:
> for linux you can:
> $ cd pharo-vm/opensmalltalk-vm//build.linux32x86/pharo.cog.spur/build
> $ ./mvm

On a fairly fresh 32-bit Linux Mint 17 (based on Ubuntu 14.04), first apt-get
install curl, libssl-dev, cmake, uuid-dev, and libtool which are the
dependencies.

On libtool, the (generated?) source contains a version  which doesn't
understand a command line argument that it was fed. I changed that libtool file
to a symlink to the system-installed one.

The HT version that I built segfaults now and then on my 64-bit Linux Mint 17.
I'm using the ITHB one.

Pierce