<html><head></head><body>
<p>Hey Eliot, I just realized I had made 2 changes for plugin
making. I added the 4 Crypto plugins to the plugins.ext but I ALSO
removed DSAPrims from the plugins.int. I am thinking this is why
DSAPlugin came as an external plugin.</p>
<p>K, r<br/>
</p>
<div class="moz-cite-prefix">On 5/25/20 2:41 PM, Eliot Miranda
wrote:<br/>
</div>
<blockquote type="cite" cite="mid:CAC20JE2GeLkazZu5yu6JB4zbaQXCkdQekV5mfd1anBVBq74_vw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Hi Rob,</div>
<br/>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, May 25, 2020 at
11:31 AM Robert Withers <<a href="mailto:robert.withers@pm.me" moz-do-not-send="true">robert.withers@pm.me</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">
<div>
<p><br/>
</p>
<div>On 5/25/20 2:23 PM, Eliot Miranda wrote:<br/>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">i Rob, Hi Levente,<br/>
oscogvm$ ls src/plugins/ | egrep
"DESPlugin|DSAPlugin|MD5Plugin|SHA2Plugin"<br/>
DESPlugin<br/>
MD5Plugin<br/>
<br/>
So where are DSAPlugin and SHA2Plugin?
They're not in the standard source tree.</div>
</div>
</div>
</div>
</blockquote>
<p>I made this change and it generated them.</p>
<p>I modified the in-image VMMaker method
#generateVMPlugins to reflect the new Cryptography
plugins: </p>
<blockquote>
<ul>
<li>"Cryptography Plugins:" DESPlugin DSAPlugin
MD5Plugin SHA2Plugin</li>
</ul>
</blockquote>
<p>That results in
rabbit@ganymede:~/tribe/opensmalltalk-vm$ ls
src/plugins/ | egrep
"DESPlugin|DSAPlugin|MD5Plugin|SHA2Plugin"<br/>
DESPlugin<br/>
MD5Plugin<br/>
SHA2Plugin<br/>
</p>
<p>While the DSAPlugin is internal. Does the
generateVMPlugins discard DSAPlugin as it was
internal?</p>
</div>
</blockquote>
<div><br/>
</div>
<div>No. There are two things to do here.</div>
<div><br/>
</div>
<div>First, modify the manifest
in BuildSqueakSpurTrunkVMMakerImage.st to load the
plugins from the official repository.</div>
<div>Second, modify VMMaker class>>generateVMPlugins
top include the new plugins.</div>
<div><br/>
</div>
<div>Email me these two files and I'll integrate.</div>
<div> </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">
<div>
<p>When I do the following, I get:</p>
<p>rabbit@ganymede:~/tribe/opensmalltalk-vm$ ll
products/sqcogspur64linuxht/lib/squeak/5.0-202005170205/
| egrep "DESPlugin|DSAPlugin|MD5Plugin|SHA2Plugin"<br/>
-rwxr-xr-x 1 rabbit rabbit 29664 May 24 15:52
DESPlugin.so*<br/>
-rwxr-xr-x 1 rabbit rabbit 15528 May 24 15:52
DSAPlugin.so*<br/>
-rwxr-xr-x 1 rabbit rabbit 30696 May 24 15:52
MD5Plugin.so*<br/>
-rwxr-xr-x 1 rabbit rabbit 32392 May 24 15:52
SHA2Plugin.so*<br/>
</p>
<p>I dunno beyond this data.</p>
<p>K, r<br/>
</p>
<blockquote> </blockquote>
<blockquote type="cite"><br/>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, May 24,
2020 at 1:24 PM Robert Withers <<a href="mailto:robert.withers@pm.me" target="_blank" moz-do-not-send="true">robert.withers@pm.me</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">
<div>
<p>Hey everyone,</p>
<p>I just reinstalled my OS and erased my disk
to get it to work right. A few issues that
downgrading the version helps: LibreOffice,
Adobe Acroread, Facebook Messenger clone
called Caprine. These all required special
versions.</p>
<p>Then I clone the opensmalltalk/vm, and
proceed...<br/>
</p>
<h4>Image generation for VMMaker<br/>
</h4>
<p>I thought I would explain what I had to do
to generate all sources and build a working
build.linux64x64/squeak.cog.spur VM.</p>
<p>In /image I had to add the following
scripts or update existing ones, I forget.
We definitely need these two scripts:<br/>
<br/>
</p>
<blockquote>
<ul>
<li>buildspurtrunk64image.sh</li>
<li>updatevmmaker64image.sh</li>
</ul>
</blockquote>
<p>With running these I was able to come up
with a Spur64VMMaker.image, with latest
loaded. I modified the in-image VMMaker
method #generateVMPlugins to reflect the new
Cryptography plugins:</p>
<blockquote>
<ul>
<li>"Cryptography Plugins:" DESPlugin
DSAPlugin MD5Plugin SHA2Plugin</li>
</ul>
</blockquote>
<p>The method version with the clone has a
reference to SHA256Plugin which is no longer
apropos.</p>
<p>I generate the vm and plugins.<br/>
</p>
<h4>Building dependencies</h4>
<p>From the HowToBuild in the linux64x64
directory, I ran the following for
installing support libraries for my brand
new Ubuntu 20.04 OS:<br/>
</p>
<blockquote>
<ul>
<li>sudo apt-get install uuid-dev
libcairo2-dev libpango1.0-dev
libgl1-mesa-dev libgl1-mesa-glx
libssl-dev</li>
</ul>
</blockquote>
<p>In addition, my new shiny OS needed clang
installed so I also ran:</p>
<blockquote>
<ul>
<li>sudo apt-get install clang</li>
</ul>
</blockquote>
<h4>Running mvm:</h4>
<p>First, I needed to update the plugins.ext
file to reflect the new Cryptography
plugins. I am attaching that file.</p>
<p>Finally, I am ready to build. Go to
build.linux64x64/squeak.cog.spur/build/. I
run the following:</p>
<blockquote>
<ul>
<li><b>build.linux64x64/squeak.cog.spur/build/$
</b>.mvm > ../mvm.log</li>
<li>and after running I type Y and return
to cause the script to make clean. (The
clean? prompt is hidden given the stdout
redirection. See it in the log).<br/>
</li>
</ul>
</blockquote>
<p>Once the VM and Plugins are generated, I
installed to my system by typing:</p>
<blockquote>
<ul>
<li><b>build.linux64x64/squeak.cog.spur/build/$
sudo make install</b></li>
</ul>
</blockquote>
<p>Now squeak is installed in my machine and I
can run the following:</p>
<blockquote>
<ul>
<li><b>image/$</b> squeak
Spur64VMMaker.image &</li>
<li>then save as <i><b>rabbit.image</b></i><br/>
</li>
</ul>
</blockquote>
<p>For my purposes, I now load my Crypto stuff
and run all tests:</p>
<blockquote>
<ul>
<li>Installer ss<br/>
project: 'Cryptography'; install:
'ProCrypto-1-1-1';<br/>
project: 'Cryptography'; install:
'ProCryptoTests-1-1-1';<br/>
project: 'Cryptography'; install:
'SSLLoader'.</li>
</ul>
</blockquote>
<p>Now I can pass all Crypto and ParrotTalk
tests. SSL is still failing, expectedly.</p>
<p>Well I think this is accurate enough. As I
have gone through all of this, already, I do
not relish trying to replicate my steps.
Hopefully the other Ubuntu heads out there
will have success!<br/>
</p>
<p>Kindly,<br/>
Rabbit<br/>
</p>
</div>
</blockquote>
</div>
<br clear="all"/>
<div><br/>
</div>
-- <br/>
<div dir="ltr">
<div dir="ltr">
<div><span style="font-size:small;border-collapse:separate">
<div>_,,,^..^,,,_<br/>
</div>
<div>best, Eliot</div>
</span></div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
<br clear="all"/>
<div><br/>
</div>
-- <br/>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div><span style="font-size:small;border-collapse:separate">
<div>_,,,^..^,,,_<br/>
</div>
<div>best, Eliot</div>
</span></div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</body></html>