[Pharo-project] Magma in Pharo 1.1
Hi. I was trying the welcome workspace of Pharo 1.1 in order to install Magma but it fails. I am evaluating: Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfMagma'; load. ((Smalltalk at: #ConfigurationOfMagma) project latestVersion) load The error was a Sintax Error in lazyX ^ x ifNil: [x _ Period or right bracket expected ->42] I attach screenshot. It seems the problem with the underscore as they are not allowed anymore as asiggment in Pharo 1.1. In order to appear in Pharo welcome workpsace this should be working. If someone makes the changes and updates de configuration please let me know (sorry but I don't have time to do it myself). Otherwise, I will have to remove it from Pharo 1.1 workspace as it doesn't work and makes confusion. Thanks Mariano
Sorry, I forgot the screenshot On Sun, Jun 13, 2010 at 9:52 PM, Mariano Martinez Peck < marianopeck@gmail.com> wrote:
Hi. I was trying the welcome workspace of Pharo 1.1 in order to install Magma but it fails. I am evaluating:
Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfMagma'; load.
((Smalltalk at: #ConfigurationOfMagma) project latestVersion) load
The error was a Sintax Error in
lazyX ^ x ifNil: [x _ Period or right bracket expected ->42]
I attach screenshot. It seems the problem with the underscore as they are not allowed anymore as asiggment in Pharo 1.1. In order to appear in Pharo welcome workpsace this should be working.
If someone makes the changes and updates de configuration please let me know (sorry but I don't have time to do it myself). Otherwise, I will have to remove it from Pharo 1.1 workspace as it doesn't work and makes confusion.
Thanks
Mariano
The next release of Magma will have all of the underscore assignments removed. Until then, you may invoke the preference that allows underscore assignment. 2010/6/13 Mariano Martinez Peck <marianopeck@gmail.com>:
Sorry, I forgot the screenshot
On Sun, Jun 13, 2010 at 9:52 PM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
Hi. I was trying the welcome workspace of Pharo 1.1 in order to install Magma but it fails. I am evaluating:
   Gofer new       squeaksource: 'MetacelloRepository';       package: 'ConfigurationOfMagma';       load.
   ((Smalltalk at: #ConfigurationOfMagma) project latestVersion) load
The error was a Sintax Error in
lazyX Â Â Â ^ x ifNil: [x _ Period or right bracket expected ->42]
I attach screenshot. It seems the problem with the underscore as they are not allowed anymore as asiggment in Pharo 1.1. In order to appear in Pharo welcome workpsace this should be working.
If someone makes the changes and updates de configuration please let me know (sorry but I don't have time to do it myself). Otherwise, I will have to remove it from Pharo 1.1 workspace as it doesn't work and makes confusion.
Thanks
Mariano
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
After an afternoon of trying to install Magma, I find you also need to select the compiler option to allow assignments to block variables. I still get dependency warnings, which I ignored by clicking on 'Proceed': "This package depends on the following classes: FlapTab You must resolve these dependencies before you will be able to load these definitions: FlapTab classSide>>maMaterializeFromGraph:using: FlapTab>>maAsStorageObject FlapTab>>maUsesStandardStorage" and "This package depends on the following classes: FlapTab You must resolve these dependencies before you will be able to load these definitions: FlapTab>>isImmutableInMagma" The installation runs through now, but Magma doesn't work, the class 'MagmaRepositoryController' isn't there, and although I only want to run a 'single-user' image, the method "MagmaSession openLocal: " doesn't exist either. Can anybody help? David -- View this message in context: http://forum.world.st/Magma-in-Pharo-1-1-tp2253709p2531491.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
El mié, 08-09-2010 a las 08:24 -0700, DavidWilson escribió:
After an afternoon of trying to install Magma, I find you also need to select the compiler option to allow assignments to block variables.
You don't say how are you installing Magma, from the sar from the mcm, from the metacello configuration. In general for Pharo, the official way to install it is with the metacello configuration announced in http://lists.squeakfoundation.org/pipermail/magma/2010-August/001587.html Though that announce was made befor the renaming of the repositories from UnivesreForPharoXX to MetaRepoForPharoXX. I just forgot to reannounce the new workspace snippets :) Anyway, the correct do its are: Gofer new squeaksource: 'MetaRepoForPharo11'; package: 'ConfigurationOfMagma'; load. and then, any of: ConfigurationOfMagma project latestVersion load: 'Client'. ConfigurationOfMagma project latestVersion load: 'Server'. ConfigurationOfMagma project latestVersion load: 'Tester'. depending of what level of magma you want. This will install Magma 1.1r2. If you want a previous version of Magma, you should do: (ConfigurationOfMagma project version: '1.1r1') load: 'Client'. (ConfigurationOfMagma project version: '1.1r1') load: 'Server'. (ConfigurationOfMagma project version: '1.1r1') load: 'Tester'. Cheers -- Miguel Cobá http://miguel.leugim.com.mx
Hi Miguel I'd tried all three methods I found (Monticello, Installer, and Gofer ). Now I've done what you suggested and the install works perfectly. And Magma seems to work. Thanks for your help. David -- View this message in context: http://forum.world.st/Magma-in-Pharo-1-1-tp2253709p2531567.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
participants (4)
-
Chris Muller -
DavidWilson -
Mariano Martinez Peck -
Miguel Enrique Cobá MartÃnez