<div dir="ltr">I'm trying to build tigerVNC which uses xserver from source under ubuntu 11.10 32bit.<br>
<br>
I'm following instructions from<br>
<a href="http://tigervnc.svn.sourceforge.net/viewvc/tigervnc/trunk/BUILDING.txt?revision=4879&view=markup" target="_blank">http://tigervnc.svn.sourceforge.net/...79&view=markup</a><br>
<br>
In the configure step I'm getting a warning:<br>
configure: WARNING: unrecognized options: --with-fontdir, --with-dri-driver-path<br>
<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_<div dir="ltr">interface.h:51:17: fatal error: drm.h: No such file or directory<br>
<br>
Was there a change in xserver that replaced --with-fountdir and --with-dri-driver-path?<br>
How can I fix the warning and the error?<br>
<br>
<br>
<br>
This is what I'm trying to do following BUILDING.txt:<br>
<br>
sudo apt-get install cmake<br>
<br>
# download tigervnc source to /home/tigervnc-1.2.0<br>
# download xserver-xorg-dev source to /home/xorg-server-1.10.4<br>
apt-get source xserver-xorg-dev<br>
mkdir build<br>
cd build<br>
<br>
mkdir unix<br>
cp -R ../tigervnc-1.2.0/unix/xserver unix/<br>
<br>
cp -R ../xorg-server-1.10.4/* unix/xserver/<br>
<br>
cd unix/xserver<br>
patch -p1 < ../../../tigervnc-1.2.0/unix/xserver110.patch<br>
sudo apt-get install xutils-dev libtool<br>
autoreconf -fiv<br>
<br>
sudo apt-get install libssl-dev libgl1-mesa-dev x11proto-gl-dev
x11proto-record-dev x11proto-resource-dev x11proto-scrnsaver-dev
x11proto-bigreqs-dev x11proto-xcmisc-dev libxfont-dev x11proto-video-dev
libxkbfile-dev<br>
<br>
./configure --with-pic --without-dtrace --disable-static --disable-dri \<br>
--disable-xinerama --disable-xvfb --disable-xnest --disable-xorg \<br>
--disable-dmx --disable-xwin --disable-xephyr --disable-kdrive \<br>
--disable-config-dbus --disable-config-hal --disable-config-udev \<br>
--disable-dri2 --enable-install-libxf86config --enable-glx \<br>
--with-default-font-path="catalogue:/etc/X11/fontpath.d,built-ins" \<br>
--with-fontdir=/usr/share/X11/fonts \<br>
--with-xkb-path=/usr/share/X11/xkb \<br>
--with-xkb-output=/var/lib/xkb \<br>
--with-xkb-bin-directory=/usr/bin \<br>
--with-serverconfig-path=/usr/lib/xorg \<br>
--with-dri-driver-path=/usr/lib/dri<br>
<br>
> configure: WARNING: unrecognized options: --with-fontdir, --with-dri-driver-path<br>
<br>
make TIGERVNC_SRCDIR=../../../tigervnc-1.2.0<br>
<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 or directory<br>
<br>
Thanks</div></div>