VMMaker in Pharo.

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

VMMaker in Pharo.

Mariano Martinez Peck
Hi! I need to load VMMaker and I was reading this link:   http://code.google.com/p/pharo/wiki/BuildingAVMOnPharo

I tried with the gofer script but it doesn't work in new Gofer version, as I need to change add: for addPackage:
There were also a problem with the ladrillos repo which was with lowcase instead of uppercase. The correct Gofer script to load VMMaker is:

|gofer|

"Create Gofer Object"
gofer := Gofer new.

"Load the FFI package"
ScriptLoader loadFFI.

"add the Speech packages"
gofer squeaksource: 'Ladrillos';
        addPackage: 'Speech-Klatt'.

"add VMMaker Packages"
gofer squeaksource: 'VMMaker';
        addPackage:'VMMaker'.

"add Alien Support Packages"
gofer squeaksource: 'Alien';
        addPackage:'Alien-VMMaker-Support'.

" Load "
gofer load.



Now...the question is, can I create ScriptLoader>>loadVMMaker?    If true, I create and issue and submit the code.

Cheers,

Mariano


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: VMMaker in Pharo.

David T. Lewis
On Mon, Dec 07, 2009 at 11:53:00AM +0100, Mariano Martinez Peck wrote:

> Hi! I need to load VMMaker and I was reading this link:
> http://code.google.com/p/pharo/wiki/BuildingAVMOnPharo
>
> I tried with the gofer script but it doesn't work in new Gofer version, as I
> need to change add: for addPackage:
> There were also a problem with the ladrillos repo which was with lowcase
> instead of uppercase. The correct Gofer script to load VMMaker is:
>
> |gofer|
>
> "Create Gofer Object"
> gofer := Gofer new.
>
> "Load the FFI package"
> ScriptLoader loadFFI.
>
> "add the Speech packages"
> gofer squeaksource: 'Ladrillos';
>         addPackage: 'Speech-Klatt'.
>
> "add VMMaker Packages"
> gofer squeaksource: 'VMMaker';
>         addPackage:'VMMaker'.
>
> "add Alien Support Packages"
> gofer squeaksource: 'Alien';
>         addPackage:'Alien-VMMaker-Support'.
>
> " Load "
> gofer load.

You may want to refer to this configuration map for some other packages
to load with VMMaker:

  http://squeaksource.com/VMMaker/update-dtl.2.mcm

Dave


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: VMMaker in Pharo.

Henrik Sperre Johansen
In reply to this post by Mariano Martinez Peck
An order that works:

- Load PharoSound from squeaksource
- Figure out a way to load Alien, if you need it :) (I believe you'd need Alien-Core, Alien-Platform-Core, Alien-VMMaker-*, not 100% certain)
- Open VMMaker repository
- Browse the update-package, and update it from repositories. 
- Load it. (A few of them will raise warnings, but no essential ones)

That should be a good starting point for builing a Metacello definition ;)

Cheers,
Henry

On Dec 7, 2009, at 11:53 00AM, Mariano Martinez Peck wrote:

Hi! I need to load VMMaker and I was reading this link:   http://code.google.com/p/pharo/wiki/BuildingAVMOnPharo

I tried with the gofer script but it doesn't work in new Gofer version, as I need to change add: for addPackage:
There were also a problem with the ladrillos repo which was with lowcase instead of uppercase. The correct Gofer script to load VMMaker is:

|gofer|

"Create Gofer Object"
gofer := Gofer new.

"Load the FFI package"
ScriptLoader loadFFI.

"add the Speech packages"
gofer squeaksource: 'Ladrillos';
        addPackage: 'Speech-Klatt'.

"add VMMaker Packages"
gofer squeaksource: 'VMMaker';
        addPackage:'VMMaker'.

"add Alien Support Packages"
gofer squeaksource: 'Alien';
        addPackage:'Alien-VMMaker-Support'.

" Load "
gofer load.



Now...the question is, can I create ScriptLoader>>loadVMMaker?    If true, I create and issue and submit the code.

Cheers,

Mariano

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: VMMaker in Pharo.

Stéphane Ducasse
In reply to this post by Mariano Martinez Peck

On Dec 7, 2009, at 11:53 AM, Mariano Martinez Peck wrote:

> Hi! I need to load VMMaker and I was reading this link:   http://code.google.com/p/pharo/wiki/BuildingAVMOnPharo
>
> I tried with the gofer script but it doesn't work in new Gofer version, as I need to change add: for addPackage:
> There were also a problem with the ladrillos repo which was with lowcase instead of uppercase. The correct Gofer script to load VMMaker is:
>
> |gofer|
>
> "Create Gofer Object"
> gofer := Gofer new.
>
> "Load the FFI package"
> ScriptLoader loadFFI.
>
> "add the Speech packages"
> gofer squeaksource: 'Ladrillos';
>         addPackage: 'Speech-Klatt'.

this is strange to really on ladrillos to build it.
JB is in lecture I hope that this evening it will reply becuse he is compiling the vm daily

>
> "add VMMaker Packages"
> gofer squeaksource: 'VMMaker';
>         addPackage:'VMMaker'.
>
> "add Alien Support Packages"
> gofer squeaksource: 'Alien';
>         addPackage:'Alien-VMMaker-Support'.
>
> " Load "
> gofer load.
>
>
>
> Now...the question is, can I create ScriptLoader>>loadVMMaker?    If true, I create and issue and submit the code.
>
> Cheers,
>
> Mariano
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: VMMaker in Pharo.

Mariano Martinez Peck
In reply to this post by David T. Lewis


On Mon, Dec 7, 2009 at 12:09 PM, David T. Lewis <[hidden email]> wrote:
On Mon, Dec 07, 2009 at 11:53:00AM +0100, Mariano Martinez Peck wrote:
> Hi! I need to load VMMaker and I was reading this link:
> http://code.google.com/p/pharo/wiki/BuildingAVMOnPharo
>
> I tried with the gofer script but it doesn't work in new Gofer version, as I
> need to change add: for addPackage:
> There were also a problem with the ladrillos repo which was with lowcase
> instead of uppercase. The correct Gofer script to load VMMaker is:
>
> |gofer|
>
> "Create Gofer Object"
> gofer := Gofer new.
>
> "Load the FFI package"
> ScriptLoader loadFFI.
>
> "add the Speech packages"
> gofer squeaksource: 'Ladrillos';
>         addPackage: 'Speech-Klatt'.
>
> "add VMMaker Packages"
> gofer squeaksource: 'VMMaker';
>         addPackage:'VMMaker'.
>
> "add Alien Support Packages"
> gofer squeaksource: 'Alien';
>         addPackage:'Alien-VMMaker-Support'.
>
> " Load "
> gofer load.

You may want to refer to this configuration map for some other packages
to load with VMMaker:

 http://squeaksource.com/VMMaker/update-dtl.2.mcm

Thanks Dave. It sounds like and interesting project to create a ConfigurationOf  for Metacello. Or at least, we need a ScriptLoader loadVMMaker.

So, we should load all the packages of that link ?  Sorry for my ignorance, but what do those packages add? I mean, with the script I used, it is broken? I can still use VMMaker? what additional features do I have with the rest of the packages?

Thank you very much.
 

Dave


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: VMMaker in Pharo.

David T. Lewis
On Mon, Dec 07, 2009 at 11:46:45PM +0100, Mariano Martinez Peck wrote:

> On Mon, Dec 7, 2009 at 12:09 PM, David T. Lewis <[hidden email]> wrote:
>
> > On Mon, Dec 07, 2009 at 11:53:00AM +0100, Mariano Martinez Peck wrote:
> > > Hi! I need to load VMMaker and I was reading this link:
> > > http://code.google.com/p/pharo/wiki/BuildingAVMOnPharo
> > >
> > > I tried with the gofer script but it doesn't work in new Gofer version,
> > as I
> > > need to change add: for addPackage:
> > > There were also a problem with the ladrillos repo which was with lowcase
> > > instead of uppercase. The correct Gofer script to load VMMaker is:
> > >
> > > |gofer|
> > >
> > > "Create Gofer Object"
> > > gofer := Gofer new.
> > >
> > > "Load the FFI package"
> > > ScriptLoader loadFFI.
> > >
> > > "add the Speech packages"
> > > gofer squeaksource: 'Ladrillos';
> > >         addPackage: 'Speech-Klatt'.
> > >
> > > "add VMMaker Packages"
> > > gofer squeaksource: 'VMMaker';
> > >         addPackage:'VMMaker'.
> > >
> > > "add Alien Support Packages"
> > > gofer squeaksource: 'Alien';
> > >         addPackage:'Alien-VMMaker-Support'.
> > >
> > > " Load "
> > > gofer load.
> >
> > You may want to refer to this configuration map for some other packages
> > to load with VMMaker:
> >
> >  http://squeaksource.com/VMMaker/update-dtl.2.mcm
> >
>
> Thanks Dave. It sounds like and interesting project to create a
> ConfigurationOf  for Metacello. Or at least, we need a ScriptLoader
> loadVMMaker.
>
> So, we should load all the packages of that link ?  Sorry for my ignorance,
> but what do those packages add? I mean, with the script I used, it is
> broken? I can still use VMMaker? what additional features do I have with the
> rest of the packages?

It is just a configuration map for MonticelloConfigurations. It is used
when you evaluate "VMMaker updateFromServer", but it only works if you
have MonticelloConfigurations in your image. But the format is very simple
so you can just read it from http://squeaksource.com/VMMaker/update-dtl.2.mcm
to figure out what the packages are.

It would be good if we could have something similar for Pharo, so
if you can make this work with Metacello or one of the loaders for
Pharo, that would be great.

The list of packages came from the "recipe" that Andreas uses for building
Windows VMs, plus packages that I added (OSProcessPlugin etc). I know
there are some missing from the configuration, but at least it's a start :)

Dave


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: VMMaker in Pharo.

Jean Baptiste Arnaud
Sorry Mariano i don't have update the wiki of pharo, will do make that soon.
If you want to run easily VMMaker i building a loader of VMMaker for pharo.

on squeaksource: JBARepo

VMMakerloader
and run loadAndFix ()
It work, if you have any problem about it or any question, don't hesitate to ask.




On Dec 8, 2009, at 12:38 AM, David T. Lewis wrote:

> On Mon, Dec 07, 2009 at 11:46:45PM +0100, Mariano Martinez Peck wrote:
>> On Mon, Dec 7, 2009 at 12:09 PM, David T. Lewis <[hidden email]> wrote:
>>
>>> On Mon, Dec 07, 2009 at 11:53:00AM +0100, Mariano Martinez Peck wrote:
>>>> Hi! I need to load VMMaker and I was reading this link:
>>>> http://code.google.com/p/pharo/wiki/BuildingAVMOnPharo
>>>>
>>>> I tried with the gofer script but it doesn't work in new Gofer version,
>>> as I
>>>> need to change add: for addPackage:
>>>> There were also a problem with the ladrillos repo which was with lowcase
>>>> instead of uppercase. The correct Gofer script to load VMMaker is:
>>>>
>>>> |gofer|
>>>>
>>>> "Create Gofer Object"
>>>> gofer := Gofer new.
>>>>
>>>> "Load the FFI package"
>>>> ScriptLoader loadFFI.
>>>>
>>>> "add the Speech packages"
>>>> gofer squeaksource: 'Ladrillos';
>>>>        addPackage: 'Speech-Klatt'.
>>>>
>>>> "add VMMaker Packages"
>>>> gofer squeaksource: 'VMMaker';
>>>>        addPackage:'VMMaker'.
>>>>
>>>> "add Alien Support Packages"
>>>> gofer squeaksource: 'Alien';
>>>>        addPackage:'Alien-VMMaker-Support'.
>>>>
>>>> " Load "
>>>> gofer load.
>>>
>>> You may want to refer to this configuration map for some other packages
>>> to load with VMMaker:
>>>
>>> http://squeaksource.com/VMMaker/update-dtl.2.mcm
>>>
>>
>> Thanks Dave. It sounds like and interesting project to create a
>> ConfigurationOf  for Metacello. Or at least, we need a ScriptLoader
>> loadVMMaker.
>>
>> So, we should load all the packages of that link ?  Sorry for my ignorance,
>> but what do those packages add? I mean, with the script I used, it is
>> broken? I can still use VMMaker? what additional features do I have with the
>> rest of the packages?
>
> It is just a configuration map for MonticelloConfigurations. It is used
> when you evaluate "VMMaker updateFromServer", but it only works if you
> have MonticelloConfigurations in your image. But the format is very simple
> so you can just read it from http://squeaksource.com/VMMaker/update-dtl.2.mcm
> to figure out what the packages are.
>
> It would be good if we could have something similar for Pharo, so
> if you can make this work with Metacello or one of the loaders for
> Pharo, that would be great.
>
> The list of packages came from the "recipe" that Andreas uses for building
> Windows VMs, plus packages that I added (OSProcessPlugin etc). I know
> there are some missing from the configuration, but at least it's a start :)
>
> Dave
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: VMMaker in Pharo.

Mariano Martinez Peck


On Tue, Dec 8, 2009 at 8:00 AM, arnaud Jean Baptiste <[hidden email]> wrote:
Sorry Mariano i don't have update the wiki of pharo, will do make that soon.
If you want to run easily VMMaker i building a loader of VMMaker for pharo.

on squeaksource: JBARepo

VMMakerloader
and run loadAndFix ()
It work, if you have any problem about it or any question, don't hesitate to ask.



Thanks JB. I have just tried and worked perfect.

Cheers,

Mariano
 


On Dec 8, 2009, at 12:38 AM, David T. Lewis wrote:

> On Mon, Dec 07, 2009 at 11:46:45PM +0100, Mariano Martinez Peck wrote:
>> On Mon, Dec 7, 2009 at 12:09 PM, David T. Lewis <[hidden email]> wrote:
>>
>>> On Mon, Dec 07, 2009 at 11:53:00AM +0100, Mariano Martinez Peck wrote:
>>>> Hi! I need to load VMMaker and I was reading this link:
>>>> http://code.google.com/p/pharo/wiki/BuildingAVMOnPharo
>>>>
>>>> I tried with the gofer script but it doesn't work in new Gofer version,
>>> as I
>>>> need to change add: for addPackage:
>>>> There were also a problem with the ladrillos repo which was with lowcase
>>>> instead of uppercase. The correct Gofer script to load VMMaker is:
>>>>
>>>> |gofer|
>>>>
>>>> "Create Gofer Object"
>>>> gofer := Gofer new.
>>>>
>>>> "Load the FFI package"
>>>> ScriptLoader loadFFI.
>>>>
>>>> "add the Speech packages"
>>>> gofer squeaksource: 'Ladrillos';
>>>>        addPackage: 'Speech-Klatt'.
>>>>
>>>> "add VMMaker Packages"
>>>> gofer squeaksource: 'VMMaker';
>>>>        addPackage:'VMMaker'.
>>>>
>>>> "add Alien Support Packages"
>>>> gofer squeaksource: 'Alien';
>>>>        addPackage:'Alien-VMMaker-Support'.
>>>>
>>>> " Load "
>>>> gofer load.
>>>
>>> You may want to refer to this configuration map for some other packages
>>> to load with VMMaker:
>>>
>>> http://squeaksource.com/VMMaker/update-dtl.2.mcm
>>>
>>
>> Thanks Dave. It sounds like and interesting project to create a
>> ConfigurationOf  for Metacello. Or at least, we need a ScriptLoader
>> loadVMMaker.
>>
>> So, we should load all the packages of that link ?  Sorry for my ignorance,
>> but what do those packages add? I mean, with the script I used, it is
>> broken? I can still use VMMaker? what additional features do I have with the
>> rest of the packages?
>
> It is just a configuration map for MonticelloConfigurations. It is used
> when you evaluate "VMMaker updateFromServer", but it only works if you
> have MonticelloConfigurations in your image. But the format is very simple
> so you can just read it from http://squeaksource.com/VMMaker/update-dtl.2.mcm
> to figure out what the packages are.
>
> It would be good if we could have something similar for Pharo, so
> if you can make this work with Metacello or one of the loaders for
> Pharo, that would be great.
>
> The list of packages came from the "recipe" that Andreas uses for building
> Windows VMs, plus packages that I added (OSProcessPlugin etc). I know
> there are some missing from the configuration, but at least it's a start :)
>
> Dave
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: VMMaker in Pharo.

Mariano Martinez Peck


On Tue, Dec 8, 2009 at 10:50 AM, Mariano Martinez Peck <[hidden email]> wrote:


On Tue, Dec 8, 2009 at 8:00 AM, arnaud Jean Baptiste <[hidden email]> wrote:
Sorry Mariano i don't have update the wiki of pharo, will do make that soon.
If you want to run easily VMMaker i building a loader of VMMaker for pharo.

on squeaksource: JBARepo

VMMakerloader
and run loadAndFix ()
It work, if you have any problem about it or any question, don't hesitate to ask.



Thanks JB. I have just tried and worked perfect.


Sorry, not so perfect ;)

Actually I have this bug that I have reported here: http://code.google.com/p/pharo/issues/detail?id=1559 

I already opened another thread for this.

However, I am not sure if this is something related to VMMaker in itself.

Cheers,

Mariano

 
Cheers,

Mariano
 


On Dec 8, 2009, at 12:38 AM, David T. Lewis wrote:

> On Mon, Dec 07, 2009 at 11:46:45PM +0100, Mariano Martinez Peck wrote:
>> On Mon, Dec 7, 2009 at 12:09 PM, David T. Lewis <[hidden email]> wrote:
>>
>>> On Mon, Dec 07, 2009 at 11:53:00AM +0100, Mariano Martinez Peck wrote:
>>>> Hi! I need to load VMMaker and I was reading this link:
>>>> http://code.google.com/p/pharo/wiki/BuildingAVMOnPharo
>>>>
>>>> I tried with the gofer script but it doesn't work in new Gofer version,
>>> as I
>>>> need to change add: for addPackage:
>>>> There were also a problem with the ladrillos repo which was with lowcase
>>>> instead of uppercase. The correct Gofer script to load VMMaker is:
>>>>
>>>> |gofer|
>>>>
>>>> "Create Gofer Object"
>>>> gofer := Gofer new.
>>>>
>>>> "Load the FFI package"
>>>> ScriptLoader loadFFI.
>>>>
>>>> "add the Speech packages"
>>>> gofer squeaksource: 'Ladrillos';
>>>>        addPackage: 'Speech-Klatt'.
>>>>
>>>> "add VMMaker Packages"
>>>> gofer squeaksource: 'VMMaker';
>>>>        addPackage:'VMMaker'.
>>>>
>>>> "add Alien Support Packages"
>>>> gofer squeaksource: 'Alien';
>>>>        addPackage:'Alien-VMMaker-Support'.
>>>>
>>>> " Load "
>>>> gofer load.
>>>
>>> You may want to refer to this configuration map for some other packages
>>> to load with VMMaker:
>>>
>>> http://squeaksource.com/VMMaker/update-dtl.2.mcm
>>>
>>
>> Thanks Dave. It sounds like and interesting project to create a
>> ConfigurationOf  for Metacello. Or at least, we need a ScriptLoader
>> loadVMMaker.
>>
>> So, we should load all the packages of that link ?  Sorry for my ignorance,
>> but what do those packages add? I mean, with the script I used, it is
>> broken? I can still use VMMaker? what additional features do I have with the
>> rest of the packages?
>
> It is just a configuration map for MonticelloConfigurations. It is used
> when you evaluate "VMMaker updateFromServer", but it only works if you
> have MonticelloConfigurations in your image. But the format is very simple
> so you can just read it from http://squeaksource.com/VMMaker/update-dtl.2.mcm
> to figure out what the packages are.
>
> It would be good if we could have something similar for Pharo, so
> if you can make this work with Metacello or one of the loaders for
> Pharo, that would be great.
>
> The list of packages came from the "recipe" that Andreas uses for building
> Windows VMs, plus packages that I added (OSProcessPlugin etc). I know
> there are some missing from the configuration, but at least it's a start :)
>
> Dave
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project