Is this the only way to get a 64 bit Linux VM?<br><br><br><br><br><br><br><div class="gmail_quote">On Thu, Aug 6, 2009 at 6:38 PM, Mariano Martinez Peck <span dir="ltr">&lt;<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I fordward an email from someone having problems to compile squeakVM<div><div></div><div class="h5">
<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Dave Woodward</b> <span dir="ltr">&lt;<a href="mailto:dave@futuremint.com" target="_blank">dave@futuremint.com</a>&gt;</span><br>

Date: Thu, Aug 6, 2009 at 4:10 PM<br>Subject: [Pharo-project] Compiling a Squeak VM for Pharo on Ubuntu 8.04 LTS Server (64bit)<br>To: <a href="mailto:pharo-project@lists.gforge.inria.fr" target="_blank">pharo-project@lists.gforge.inria.fr</a><br>

<br><br>I tried using the pre-compiled VM from the Pharo website to no avail.<br>
I&#39;m not exactly sure what the problem is, but when running the<br>
pre-compiled Pharo VM, OR the pre-compiled Squeak 3.10-6 VM, they just<br>
quit with a &quot;File not found&quot; error.  My only hunch regarding this is<br>
that they were compiled on 32bit Linuxes, and I&#39;m using a 64bit Linux.<br>
<br>
I&#39;m using a bare-bones install of Ubuntu server, 8.04LTS 64bit.  I&#39;m<br>
using Slicehost.com for a virtual server to run a Seaside application<br>
(they use all 64bit *NIXs), and I&#39;m switching from vanilla Squeak 3.9<br>
to Pharo.<br>
<br>
So, since the Squeak 3.10-6 VM didn&#39;t work either I decided to compile<br>
my own VM.  This does not work out of the box on a vanilla Ubuntu<br>
Server 8.04 install, so here are the steps I took to successfully<br>
compile the VM from the 3.10-6 src files:<br>
<br>
(cd /Squeak-3.10-6/platforms/unix)<br>
<br>
Configure:<br>
./config/configure --without-x --without-gl --without-quartz --without-npsqueak<br>
<br>
NOTE: The configure command adds 2 entries to disable the RomePlugin.<br>
It looks like it first tests Freetype (not installed so adds an entry<br>
to disable RomePlugin), and then tests Cairo (not installed, so adds<br>
*another* entry to disable RomePlugin).  I believe the autoconf files<br>
need to be fixed for this, but I leave it up to the squeak-dev folks<br>
to figure that out as I have no knowledge of autoconf.<br>
<br>
Make:<br>
make squeak  (this will error)<br>
<br>
To fix the damage from the note above, I had to remove the duplicate<br>
entry for RomePlugin_exports on line 22 of disabledPlugins.c.<br>
<br>
Make:<br>
make squeak (should be successful)<br>
make squeak install<br>
<br>
move /usr/local/lib/squeak/3.10-6/UUIDPlugin to UUIDPlugin.bak as it<br>
has the wrong ELF header, and I&#39;ve heard has other problems too.<br>
<br>
And now /usr/local/bin/squeak should work! (note, without X you&#39;ll<br>
need to add &quot;-vm display=none&quot; for the VM to start).<br>
<br>
I hope this helps people!  Thanks for everybody&#39;s hard work on Pharo!<br>
<br>
Dave Woodward<br>
...................................................<br>
<a href="http://www.futuremint.com" target="_blank">www.futuremint.com</a><br>
317.332.6438 | <a href="mailto:dave@futuremint.com" target="_blank">dave@futuremint.com</a><br>
<br>
_______________________________________________<br>
Pharo-project mailing list<br>
<a href="mailto:Pharo-project@lists.gforge.inria.fr" target="_blank">Pharo-project@lists.gforge.inria.fr</a><br>
<a href="http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project" target="_blank">http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project</a><br>
</div><br>
</div></div><br><br>
<br></blockquote></div><br>