Hi, there is no real rationale :( the reason why they are there now and not in their corresponding #defaultInternalPlugins or #defaultExternalPlugins is historic, configurations growth organically (we would need a refactor there). at least: FT2Plugin and SqueakSSLPlugin should be in defaults (and in the future SDL2 too).
for starting your build I suggest you to exclude all the additions (plugins and external libraries). then add them one by one. cheers, Esteban > On 06 Apr 2015, at 08:49, Andreas Wacknitz <[email protected]> wrote: > > > Am 03.04.15 17:31, schrieb Esteban Lorenzano: >> >>>>> >>>>> I have more questions but I am reluctant to disturb you further as you >>>>> must be quite busy atm. >>>> >>>> ask, I will answer when I can :) > Hi Esteban, > > I am trying to understand the rationale behind PharoVMBuilder>>buildUnix32 > (and similar methods like >>buildMacOSX32, >>buildFreeBSD32). > How to determine which plugins and libraries to use? > Linux makes use of > PharoUnixConfig new > "generateForDebug;" > addExternalPlugins: #( FT2Plugin SqueakSSLPlugin SDL2DisplayPlugin ); > addThirdpartyLibraries: #( > 'libssh2' > 'libgit2' > 'libsdl2'); > > For FreeBSD it looks like this: > PharoFreeBSDConfig new > "generateForDebug;" > addExternalPlugins: #( SqueakSSLPlugin ); > addInternalPlugins: #( UnixOSProcessPlugin ); > addThirdpartyLibraries: #( > 'libssh2' > 'libgit2' ); > > Mac OSX: > PharoOSXConfig new > "generateForDebug;" > addExternalPlugins: #( FT2Plugin SDL2DisplayPlugin ); > addInternalPlugins: #( UnixOSProcessPlugin ); > addThirdpartyLibraries: #( > 'cairo' > 'libgit2' > 'libssh2' > 'libsdl2'); > > Windows: > PharoWindowsConfig new > addExternalPlugins: #( FT2Plugin SqueakSSLPlugin ); > addInternalPlugins: #( SDL2DisplayPlugin ); > addThirdpartyLibraries: #( > 'cairo' > 'libssh2' > 'libgit2' > 'libsdl2'); > > I assume that FreeBSD's configuration is not up-to-date (sdl2 and cairo not > yet available?). > Should I try to configure cairo, libssh2, libgit2 and libsdl2 libraries for > openindiana, like it is done for Windows and MacOSX? > Furthermore, should I try to configure SqueakSSLPlugin, FT2Plugin and > SDL2DisplayPlugin as external plugins and UnixOSProcessPlugin as internal > plugin? > > Regards > Andreas >
