<div dir="ltr">On Thu, Apr 5, 2012 at 9:07 AM, Alan Coopersmith <span dir="ltr"><<a href="mailto:alan.coopersmith@oracle.com" target="_blank">alan.coopersmith@oracle.com</a>></span> wrote:<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 04/ 3/12 04:47 PM, pablo platt wrote:<br>
> I'm trying to build tigerVNC which uses xserver from source under ubuntu 11.10<br>
> 32bit.<br>
><br>
> I'm following instructions from<br>
> <a href="http://tigervnc.svn.sourceforge.net/...79&view=markup" target="_blank">http://tigervnc.svn.sourceforge.net/...79&view=markup</a><br>
</div>> <<a href="http://tigervnc.svn.sourceforge.net/viewvc/tigervnc/trunk/BUILDING.txt?revision=4879&view=markup" target="_blank">http://tigervnc.svn.sourceforge.net/viewvc/tigervnc/trunk/BUILDING.txt?revision=4879&view=markup</a>><br>



<div>><br>
> In the configure step I'm getting a warning:<br>
> configure: WARNING: unrecognized options: --with-fontdir, --with-dri-driver-path<br>
<br>
</div>Those are likely unrelated to your error and probably ignorable.   If you don't<br>
want to be warned about them don't pass them.<br>
<div><br>
> In the make step I'm getting an error:<br>
> In file included from glxdriswrast.c:39:0:<br>
> /usr/include/GL/internal/dri_interface.h:51:17: fatal error: drm.h: No such file<br>
> or directory<br>
><br>
> Was there a change in xserver that replaced --with-fountdir and<br>
> --with-dri-driver-path?<br>
<br>
</div>Yes, in Xorg 1.8 --with-fontdir was changed to --with-fontrootdir,<br>
and in Xorg 1.10 --with-dri-driver-path was replaced by use of<br>
pkg-config to read the path from dri.pc.<br>
<div><br></div></blockquote><div><br>What about the --disable-config-udev option?<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"><div>


> How can I fix the warning and the error?<br>
<br>
</div>Do you have libdrm (and the appropriate -devel package) installed?<br></blockquote><div><br>Yes, I do have libdrm and libdrm-dev installed and I can see the file /usr/include/drm/drm.h<br>There are other libdrm related packages. Do I need one of them?<br>
<a href="http://packages.ubuntu.com/search?suite=default&section=all&arch=any&searchon=names&keywords=libdrm">http://packages.ubuntu.com/search?suite=default&section=all&arch=any&searchon=names&keywords=libdrm</a><br>
<br>The following posts describe the same problem.<br>They suggested replacing <drm.h> with <drm/drm.h> in the file /usr/include/GL/internal/dri_interface.h<br>and it works.<br>They also say that using  --disable-dri and --enable-glx together might cause problems.<br>
Does it make sense to use them together?<br><a href="http://old.nabble.com/-Bug-18161--New:-mesa-7.2:-src-mesa-gl.pc.in-lacks-a-%27Requires:-libdrm%27-td20100676.html" target="_blank">http://old.nabble.com/-Bug-18161--New:-mesa-7.2:-src-mesa-gl.pc.in-lacks-a-%27Requires:-libdrm%27-td20100676.html</a><br>


<a href="http://lists.freedesktop.org/archives/xorg/2009-April/045075.html" target="_blank">http://lists.freedesktop.org/archives/xorg/2009-April/045075.html</a><br><br>Thanks <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">



<span><font color="#888888"><br>
--<br>
        -Alan Coopersmith-              <a href="mailto:alan.coopersmith@oracle.com" target="_blank">alan.coopersmith@oracle.com</a><br>
         Oracle Solaris Engineering - <a href="http://blogs.oracle.com/alanc" target="_blank">http://blogs.oracle.com/alanc</a><br>
</font></span></blockquote></div><br></div>