Thanks Panu. It is really nice when people spend time to document and share their findings.
I cc'ed the VM mailing list. I don'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).

Thanks!

mariano

On Sun, Mar 6, 2011 at 6:25 PM, Panu Suominen <panu.suominen@iki.fi> wrote:
So I hit the UUID problem that crashes VM and had to compile virtual
machine from scratch to get rid of it.
I assumed that to be easy job, but it took a while. To help others I
document the steps I had to take to build revision 2363 of Cog vm on
Gentoo (amd 64bit).
1) fetch sources from svn (svn export
http://squeakvm.org/svn/squeak/branches/Cog cog-vm)
2) 32bit chroot environment. Just could not make it compile without it
(http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=2)
3) emerge xorg-x11 to 32bit environment. One could probably emerge
something smaller but thid did the trick for plugin(s) requiring
OpenGL.
3) configure as the unixbuild/HowToBuild guides.
4) add #define HAVE_UUID_H to configure.h under bld-directory.
5) change platforms/unix/plugins/UUIDPlugin/sqUnixUUID.c
#include <uuid.h> -> #include <uuid/uuid.h>
6) make as the unixbuild/HowToBuild guides

It is likely that these changes could (and should) be made to the
source files and configuration script so that no manual steps would be
required. However I did not have time to do it. But when I finnish all
the pending tasks postponed by this sideroute I try to see
if I could propose a patch.

--
Panu