<br><br><div class="gmail_quote">On Mon, May 2, 2011 at 11:48 AM, Damien Cassou <span dir="ltr">&lt;<a href="mailto:damien.cassou@gmail.com">damien.cassou@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hi,<br>
<br>
I&#39;m following Mariano&#39;s instructions on how to build a VM on GNU/Linux<br>
(using git://<a href="http://gitorious.org/cogvm/blessed.git" target="_blank">gitorious.org/cogvm/blessed.git</a> and<br>
<a href="http://marianopeck.wordpress.com/2011/04/10/building-the-vm-from-scratch-using-git-and-cmakevmmaker/" target="_blank">http://marianopeck.wordpress.com/2011/04/10/building-the-vm-from-scratch-using-git-and-cmakevmmaker/</a>).<br>

<br>
It looks like some library verifications are missing before the<br>
compilation. For example, after typing make, I had the following<br>
error:<br>
<br>
   Linking C shared library /home/.../blessed/results/vm-display-null<br>
   /usr/bin/ld: cannot find -lGL<br>
<br>
To solve that I had to install libgl1-mesa-dev (for Ubuntu).<br></blockquote><div><br>yes, I have that problem too. I guess you read the config class with NoGL  and the discussions in the VM<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
Then I got<br>
<br>
   /home/.../blessed/platforms/unix/vm-sound-ALSA/sqUnixSoundALSA.c:34:28:<br>
fatal error: alsa/asoundlib.h: No such file or directory<br>
<br></blockquote><div><br>I didn&#39;t have this one. <br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
That I solved by installing libasound2-dev (for Ubuntu).<br>
<br>
Wouldn&#39;t it be possible that the build process displays the missing<br>
dependencies before I have to run make?<br>
<br></blockquote><div><br>Yes, maybe. But what do you gain?  there is 1 minute of difference between the build (the cmake .) and the make. Sooner or later something will fail and you will need to install the dependencies.<br>
For me, what it would be better is to DOCUMENT which are the needed decencies/packages. <br>In fact, I would love to provide a script doing all necessary sudo apt-get to get all you need (and the same for others distros than Debian/Ubuntu). In Mac there is no problem because with the 4gb Xcode you have all the libs.<br>
<br> <br>Cheers<br><br>Mariano<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Thanks<br>
<font color="#888888"><br>
--<br>
Damien Cassou<br>
<a href="http://damiencassou.seasidehosting.st" target="_blank">http://damiencassou.seasidehosting.st</a><br>
<br>
&quot;Lambdas are relegated to relative obscurity until Java makes them<br>
popular by not having them.&quot; James Iry<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>