Thanks Panu. It is really nice when people spend time to document and share their findings.<br>I cc&#39;ed the VM mailing list. I don&#39;t know why but something tell me that the UUID was finally fixes in latest VMMaker (not sure at all. And even less sure in Cog).<br>
<br>Thanks!<br><br>mariano<br><br><div class="gmail_quote">On Sun, Mar 6, 2011 at 6:25 PM, Panu Suominen <span dir="ltr">&lt;<a href="mailto:panu.suominen@iki.fi">panu.suominen@iki.fi</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
So I hit the UUID problem that crashes VM and had to compile virtual<br>
machine from scratch to get rid of it.<br>
I assumed that to be easy job, but it took a while. To help others I<br>
document the steps I had to take to build revision 2363 of Cog vm on<br>
Gentoo (amd 64bit).<br>
1) fetch sources from svn (svn export<br>
<a href="http://squeakvm.org/svn/squeak/branches/Cog" target="_blank">http://squeakvm.org/svn/squeak/branches/Cog</a> cog-vm)<br>
2) 32bit chroot environment. Just could not make it compile without it<br>
(<a href="http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&amp;chap=2" target="_blank">http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&amp;chap=2</a>)<br>
3) emerge xorg-x11 to 32bit environment. One could probably emerge<br>
something smaller but thid did the trick for plugin(s) requiring<br>
OpenGL.<br>
3) configure as the unixbuild/HowToBuild guides.<br>
4) add #define HAVE_UUID_H to configure.h under bld-directory.<br>
5) change platforms/unix/plugins/UUIDPlugin/sqUnixUUID.c<br>
#include &lt;uuid.h&gt; -&gt; #include &lt;uuid/uuid.h&gt;<br>
6) make as the unixbuild/HowToBuild guides<br>
<br>
It is likely that these changes could (and should) be made to the<br>
source files and configuration script so that no manual steps would be<br>
required. However I did not have time to do it. But when I finnish all<br>
the pending tasks postponed by this sideroute I try to see<br>
if I could propose a patch.<br>
<br>
--<br>
<font color="#888888">Panu<br>
<br>
</font></blockquote></div><br>