Hi,
On 15 Jul 2017, at 13:46, Guillaume Giraud <guillaume.giraud@openmailbox.org> wrote:
Hello,
I placed this code in a baseline of my package:
spec project: 'VoyageMongo' with: [ spec className: #ConfigurationOfVoyageMongo; version: #stable; repository: 'github://pharo-nosql/voyage/mc'; loads: #('mongo tests') ].
Unfortunately, when I load my Package from Pharo6 on MacOS Sierra I get the following error:
Error: Unsupported OS platform
The first lines of the stack are:
BaselineOfPunQLite(Object) error: BaselineOfPunQLite platformLibraryName BaselineOfPunQLite preLoad MetacelloMCVersionpec(MetacelloSpec) doItBlock:
In detail:
platformLibraryName " Answer a name for the compiled version of the library "
Smalltalk os isUnix ifTrue: [ ^ 'unqlite.so' ]. Smalltalk os isWin32 ifTrue: [ ^ 'unqlite.dll' ]. Smalltalk os isMacOSX ifTrue: [ ^ 'unqlite.dylib' ].
self error: 'Unsupported OS platformâ
With Pharo6 on MacOsSierra, « Smalltalk os isMacOSX » return « false ». But « Smalltalk os isMacOS » return « true ».
What can I do? I just need to load Voyage with the configuration of my package ?
you can just change the Smalltalk os isMacOSX line for Smalltalk os isMacOS for the moment. now, thatâs very weird :) Whatâs the result of evaluating "Smalltalk osâ ? and after executing "OSPlatform startUp: true.â ? which VM are you using (Smalltalk vm version) ? and btw, is a lot better to make your config as this: spec baseline: 'Voyage' with: [ spec repository: 'github://pharo-nosql/voyage:1.5/mc'; loads: #('mongo tests') ]. (referring directly the baseline) cheers! Esteban
Thanks.