[squeak-dev] How to choose plugins-to-built while compiling a vm?

Norbert Hartl norbert at hartl.name
Fri May 16 13:40:17 UTC 2008


On Fri, 2008-05-16 at 14:28 +0200, Bert Freudenberg wrote:
> On 16.05.2008, at 14:21, Norbert Hartl wrote:
> > I can't see a plugin DbusPlugin or GStreamerPlugin in VMMaker. I think
> > choosing the right platforms folder is sufficient to get the right
> > listing for the plugin, right? Later I could get into confusion with
> > configure but I'll trace that later on. So, what needs to be done for
> > VMMaker to display all plugins?
> 
> 
> If you restarted the VMMaker tool and these plugins are not there,  
> then you probably did not install them. They are not part of the   
> VMMaker package.
> 
> Possibly the Makefile gets confused if there are plugin sources in  
> Cross/ and unix/ but not src/ ...
> 
It's not the Makefile it's configure which confuses me :) I tried to
keep an layout like

vm
   squeak-svn
   src32
   build

I like this in order not to mix squeak-svn with src32. That's easier
to read on svn update. The configure.ac is nailed to the squeak-svn
directory. Everything is detected from there. Even the --with-src
switch adds the parameter to the squeak-svn directory. Furthermore
the configure script checks exactly for squeak-svn/src and if it's
not there platforms/.../src is used. So I had less chance to get it
right :) And then every plugin in the directory gets enabled.

Now that I know it I can get what I want. I just do

cd vm/build
../squeak-svn/platforms/unix/config/configure --with-src=../src32 

That works!

thanks for the hint,

Norbert




More information about the Squeak-dev mailing list