<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000">
                                        
                                        
                                            
                                        
                                        
                                        Hi Eliot, hi all.<div><br></div><div>We had the discussion about the role of Installer recently on the list. After fixing Metacello (and the script for FFI), the wizard will likely to use "<span style="font-size: 10pt">Metacello new configuration: 'FFI'; load." again to manage support for different Squeak versions.</span></div><div><span style="font-size: 10pt"><br></span></div><div><span style="font-size: 10pt">Here is the discussion about the future of "Installer":</span></div><div><a href="http://forum.world.st/Installer-metacello-tp5115805.html"><span style="font-size: 10pt">http://forum.world.st/Installer-metacello-tp5115805.html</span></a><br></div><div><span style="font-size: 13.3333px"><br></span></div><div><span style="font-size: 13.3333px">Best,</span></div><div><span style="font-size: 13.3333px">Marcel</span></div><div><span style="font-size: 10pt"><br></span></div><div class="mb_sig"></div>
                                        
                                        <blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 15.09.2020 20:29:46 schrieb Eliot Miranda <eliot.miranda@gmail.com>:</p><div style="font-family:Arial,Helvetica,sans-serif">
<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size: 14pt">Hi Marcel, Hi All,<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 15, 2020 at 11:20 AM Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex;border-left-width: 1px;border-left-style: solid;border-left-color: rgb(204,204,204);padding-left: 1ex;min-width: 500px"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size: 14pt">Hi Marcel,<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 15, 2020 at 6:27 AM Marcel Taeumel <<a href="mailto:marcel.taeumel@hpi.de" target="_blank">marcel.taeumel@hpi.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex;border-left-width: 1px;border-left-style: solid;border-left-color: rgb(204,204,204);padding-left: 1ex;min-width: 500px"><div id="gmail-m_8817519702162401221gmail-m_2052120197233716515__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: rgb(0,0,0)">
                                        
                                        
                                            
                                        
                                        
                                        Hi all.<div><br></div><div>> <span style="font-family: Calibri,Helvetica,sans-serif;font-size: 16px"> </span><span style="font-family: Calibri,Helvetica,sans-serif;font-size: 16px">In my main image, I tried to load FFI via the Preference Wizard, and after some loading conflicts which I explicitly needed to #allow through the debugger, I got the same syntax error ...</span></div><div><span style="font-family: Calibri,Helvetica,sans-serif;font-size: 16px"><br></span></div><div><span style="font-family: Calibri,Helvetica,sans-serif;font-size: 16px">Loading FFI via the Preference Wizard -- which uses the Installer directly -- works fine in current (fresh) trunk. No debuggers to confirm. No syntax error.</span></div></div></blockquote><div><br></div><div style="font-size: 14pt">That's good to know.  I'll alter my VMMaker image build scripts to use this.  But there's one code smell about this.  <span style="font-family: arial, sans-serif">PreferenceWizardMorph is a morph.  i wonder if it's worth-while separating <span style="color: rgb(0,0,0);font-size: 12pt">PreferenceWizardMorph into </span><span style="color: rgb(0,0,0);font-size: 12pt">PreferenceWizardMorph and </span><span style="color: rgb(0,0,0);font-size: 12pt">PreferenceWizard.  It feels better changing the script to read </span><span style="color: rgb(0,0,0);font-size: 12pt">PreferenceWizard new installFFI than having it rad </span><span style="color: rgb(0,0,0);font-size: 12pt">PreferenceWizardMorph new installFFI.  If you agree that this is OK, I can make the changes.</span></span></div></div></div></div></div></div></div></div></blockquote><div><br></div><div class="gmail_default" style="font-size: 14pt">Hmmm, maybe better is to move these install scripts to the Installer hierarchy.  Not sure where they should live.  But it would be nice to be able to say </div><div class="gmail_default" style="font-size: 14pt">    Installer installFFI</div><div class="gmail_default" style="font-size: 14pt">and have it choose a default path, as well as be able to say</div><div class="gmail_default" style="font-size: 14pt">    Installer squeak installFFI</div><div class="gmail_default" style="font-size: 14pt">and have it install via InstallerMonticello</div><div class="gmail_default" style="font-size: 14pt"><br></div><div class="gmail_default" style="font-size: 14pt"><br></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex;border-left-width: 1px;border-left-style: solid;border-left-color: rgb(204,204,204);padding-left: 1ex;min-width: 500px"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex;border-left-width: 1px;border-left-style: solid;border-left-color: rgb(204,204,204);padding-left: 1ex;min-width: 500px"><div id="gmail-m_8817519702162401221gmail-m_2052120197233716515__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: rgb(0,0,0)"><div><span style="font-family: Calibri,Helvetica,sans-serif;font-size: 16px">I am updating that Metacello script right now. Be patient. :-)</span><br></div><div><span style="font-family: Calibri,Helvetica,sans-serif;font-size: 16px"><br></span></div><div><span style="font-family: Calibri,Helvetica,sans-serif;font-size: 16px">Best,</span></div><div><span style="font-family: Calibri,Helvetica,sans-serif;font-size: 16px">Marcel</span></div><div></div>
                                        
                                        <blockquote type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color:rgb(170,170,170);margin-top:10px">Am 14.09.2020 18:35:46 schrieb Thiede, Christoph <<a href="mailto:christoph.thiede@student.hpi.uni-potsdam.de" target="_blank">christoph.thiede@student.hpi.uni-potsdam.de</a>>:</p><div style="font-family:Arial,Helvetica,sans-serif">


<div dir="ltr">
<div id="gmail-m_8817519702162401221gmail-m_2052120197233716515x_divtagdefaultwrapper" dir="ltr" style="font-size: 12pt;color: rgb(0,0,0);font-family: Calibri,Helvetica,sans-serif">
<p>Hi Jakob,</p>
<p><br>
</p>
<p>do you have a description of the correct loading order? In my main image, I tried to load FFI via the Preference Wizard, and after some loading conflicts which I explicitly needed to #allow through the debugger, I got the same syntax error ...</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
<div id="gmail-m_8817519702162401221gmail-m_2052120197233716515x_Signature">
<div id="gmail-m_8817519702162401221gmail-m_2052120197233716515x_divtagdefaultwrapper" dir="ltr" style="font-size: 12pt;color: rgb(0,0,0);font-family: Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div name="x_divtagdefaultwrapper">
<div><span style="font-size: 10pt;color: rgb(128,128,128)"></span></div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_8817519702162401221gmail-m_2052120197233716515x_divRplyFwdMsg" dir="ltr"><span style="font-family:Calibri,sans-serif;color:rgb(0,0,0)"><b>Von:</b> Squeak-dev <<a href="mailto:squeak-dev-bounces@lists.squeakfoundation.org" target="_blank">squeak-dev-bounces@lists.squeakfoundation.org</a>> im Auftrag von Jakob Reschke <<a href="mailto:forums.jakob@resfarm.de" target="_blank">forums.jakob@resfarm.de</a>><br>
<b>Gesendet:</b> Donnerstag, 10. September 2020 08:04:51<br>
<b>An:</b> The general-purpose Squeak developers list<br>
<b>Betreff:</b> Re: [squeak-dev] SyntaxError while loading FFI</span>
<div> </div>
</div>
</div>
<span style="font-size: 10pt"><span style="font-size: 10pt">
<div>Hi Christoph,<br>
<br>
I had a similar issue and if I remember correctly got it resolved by<br>
loading the Tools subpackage of FFI. I think Marcel has recently split<br>
it.<br>
<br>
So if that is true, the load order in the baseline of FFI should be updated.<br>
<br>
Kind regards,<br>
Jakob<br>
<br>
Am Mi., 9. Sept. 2020 um 23:50 Uhr schrieb Thiede, Christoph<br>
<<a href="mailto:Christoph.Thiede@student.hpi.uni-potsdam.de" target="_blank">Christoph.Thiede@student.hpi.uni-potsdam.de</a>>:<br>
><br>
> Hi all,<br>
><br>
><br>
> I fear this could be a frequently discussed topic, but I did not know where to start else.<br>
><br>
><br>
> In the web, you can find the following instruction in order to load FFI at several places, amongst them the Swiki:<br>
><br>
><br>
> Metacello new configuration: 'FFI'; load.<br>
><br>
><br>
> If I do this in a fresh trunk image (#19838) without any extra installs, I get a syntax error:<br>
><br>
><br>
> ffiPrintString: aString<br>
><br>
> "FFITestLibrary ffiPrintString: 'Hello'"<br>
><br>
> <cdecl: "Literal constant expected ->"char* 'ffiPrintString' (char *) module:'SqueakFFIPrims'><br>
><br>
> ^self externalCallFailed<br>
><br>
><br>
> This is at the very least confusing, I think :-) Are there any undocumented dependencies or something like this?<br>
><br>
> If I use the preference wizard instead, the installation succeeds. (It's not very convenient that it asks you for your initials during the installation, but this is only a small critique. :-))<br>
><br>
> I just wanted to inform you about that.<br>
><br>
><br>
> Best,<br>
><br>
> Christoph<br>
><br>
><br>
<br>
</div>
</span></span>
</div></blockquote></div><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><span style="font-size: 10pt;border-collapse: separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span style="font-size: 10pt;border-collapse: separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div></div></div>
</div></blockquote></div>