Re: build tigerVNC (xserver) under ubuntu
On 04/ 3/12 04:47 PM, pablo platt wrote: I'm trying to build tigerVNC which uses xserver from source under ubuntu 11.10 32bit. I'm following instructions from http://tigervnc.svn.sourceforge.net/...79view=markup http://tigervnc.svn.sourceforge.net/viewvc/tigervnc/trunk/BUILDING.txt?revision=4879view=markup In the configure step I'm getting a warning: configure: WARNING: unrecognized options: --with-fontdir, --with-dri-driver-path Those are likely unrelated to your error and probably ignorable. If you don't want to be warned about them don't pass them. In the make step I'm getting an error: In file included from glxdriswrast.c:39:0: /usr/include/GL/internal/dri_interface.h:51:17: fatal error: drm.h: No such file or directory Was there a change in xserver that replaced --with-fountdir and --with-dri-driver-path? Yes, in Xorg 1.8 --with-fontdir was changed to --with-fontrootdir, and in Xorg 1.10 --with-dri-driver-path was replaced by use of pkg-config to read the path from dri.pc. How can I fix the warning and the error? Do you have libdrm (and the appropriate -devel package) installed? -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: build tigerVNC (xserver) under ubuntu
On Thu, Apr 5, 2012 at 9:07 AM, Alan Coopersmith alan.coopersm...@oracle.com wrote: On 04/ 3/12 04:47 PM, pablo platt wrote: I'm trying to build tigerVNC which uses xserver from source under ubuntu 11.10 32bit. I'm following instructions from http://tigervnc.svn.sourceforge.net/...79view=markup http://tigervnc.svn.sourceforge.net/viewvc/tigervnc/trunk/BUILDING.txt?revision=4879view=markup In the configure step I'm getting a warning: configure: WARNING: unrecognized options: --with-fontdir, --with-dri-driver-path Those are likely unrelated to your error and probably ignorable. If you don't want to be warned about them don't pass them. In the make step I'm getting an error: In file included from glxdriswrast.c:39:0: /usr/include/GL/internal/dri_interface.h:51:17: fatal error: drm.h: No such file or directory Was there a change in xserver that replaced --with-fountdir and --with-dri-driver-path? Yes, in Xorg 1.8 --with-fontdir was changed to --with-fontrootdir, and in Xorg 1.10 --with-dri-driver-path was replaced by use of pkg-config to read the path from dri.pc. What about the --disable-config-udev option? How can I fix the warning and the error? Do you have libdrm (and the appropriate -devel package) installed? Yes, I do have libdrm and libdrm-dev installed and I can see the file /usr/include/drm/drm.h There are other libdrm related packages. Do I need one of them? http://packages.ubuntu.com/search?suite=defaultsection=allarch=anysearchon=nameskeywords=libdrm The following posts describe the same problem. They suggested replacing drm.h with drm/drm.h in the file /usr/include/GL/internal/dri_interface.h and it works. They also say that using --disable-dri and --enable-glx together might cause problems. Does it make sense to use them together? http://old.nabble.com/-Bug-18161--New:-mesa-7.2:-src-mesa-gl.pc.in-lacks-a-%27Requires:-libdrm%27-td20100676.html http://lists.freedesktop.org/archives/xorg/2009-April/045075.html Thanks -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
build tigerVNC (xserver) under ubuntu
I'm trying to build tigerVNC which uses xserver from source under ubuntu 11.10 32bit. I'm following instructions from http://tigervnc.svn.sourceforge.net/...79view=markuphttp://tigervnc.svn.sourceforge.net/viewvc/tigervnc/trunk/BUILDING.txt?revision=4879view=markup In the configure step I'm getting a warning: configure: WARNING: unrecognized options: --with-fontdir, --with-dri-driver-path In the make step I'm getting an error: In file included from glxdriswrast.c:39:0: /usr/include/GL/internal/dri_interface.h:51:17: fatal error: drm.h: No such file or directory Was there a change in xserver that replaced --with-fountdir and --with-dri-driver-path? How can I fix the warning and the error? This is what I'm trying to do following BUILDING.txt: sudo apt-get install cmake # download tigervnc source to /home/tigervnc-1.2.0 # download xserver-xorg-dev source to /home/xorg-server-1.10.4 apt-get source xserver-xorg-dev mkdir build cd build mkdir unix cp -R ../tigervnc-1.2.0/unix/xserver unix/ cp -R ../xorg-server-1.10.4/* unix/xserver/ cd unix/xserver patch -p1 ../../../tigervnc-1.2.0/unix/xserver110.patch sudo apt-get install xutils-dev libtool autoreconf -fiv 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 ./configure --with-pic --without-dtrace --disable-static --disable-dri \ --disable-xinerama --disable-xvfb --disable-xnest --disable-xorg \ --disable-dmx --disable-xwin --disable-xephyr --disable-kdrive \ --disable-config-dbus --disable-config-hal --disable-config-udev \ --disable-dri2 --enable-install-libxf86config --enable-glx \ --with-default-font-path=catalogue:/etc/X11/fontpath.d,built-ins \ --with-fontdir=/usr/share/X11/fonts \ --with-xkb-path=/usr/share/X11/xkb \ --with-xkb-output=/var/lib/xkb \ --with-xkb-bin-directory=/usr/bin \ --with-serverconfig-path=/usr/lib/xorg \ --with-dri-driver-path=/usr/lib/dri configure: WARNING: unrecognized options: --with-fontdir, --with-dri-driver-path make TIGERVNC_SRCDIR=../../../tigervnc-1.2.0 In file included from glxdriswrast.c:39:0: /usr/include/GL/internal/dri_interface.h:51:17: fatal error: drm.h: No such file or directory Thanks ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
build tigerVNC (xserver) under ubuntu
I'm trying to build tigerVNC which uses xserver from source under ubuntu 11.10 32bit. I'm following instructions from http://tigervnc.svn.sourceforge.net/...79view=markuphttp://tigervnc.svn.sourceforge.net/viewvc/tigervnc/trunk/BUILDING.txt?revision=4879view=markup In the configure step I'm getting a warning: configure: WARNING: unrecognized options: --with-fontdir, --with-dri-driver-path In the make step I'm getting an error: In file included from glxdriswrast.c:39:0: /usr/include/GL/internal/dri_ interface.h:51:17: fatal error: drm.h: No such file or directory Was there a change in xserver that replaced --with-fountdir and --with-dri-driver-path? How can I fix the warning and the error? This is what I'm trying to do following BUILDING.txt: sudo apt-get install cmake # download tigervnc source to /home/tigervnc-1.2.0 # download xserver-xorg-dev source to /home/xorg-server-1.10.4 apt-get source xserver-xorg-dev mkdir build cd build mkdir unix cp -R ../tigervnc-1.2.0/unix/xserver unix/ cp -R ../xorg-server-1.10.4/* unix/xserver/ cd unix/xserver patch -p1 ../../../tigervnc-1.2.0/unix/xserver110.patch sudo apt-get install xutils-dev libtool autoreconf -fiv 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 ./configure --with-pic --without-dtrace --disable-static --disable-dri \ --disable-xinerama --disable-xvfb --disable-xnest --disable-xorg \ --disable-dmx --disable-xwin --disable-xephyr --disable-kdrive \ --disable-config-dbus --disable-config-hal --disable-config-udev \ --disable-dri2 --enable-install-libxf86config --enable-glx \ --with-default-font-path=catalogue:/etc/X11/fontpath.d,built-ins \ --with-fontdir=/usr/share/X11/fonts \ --with-xkb-path=/usr/share/X11/xkb \ --with-xkb-output=/var/lib/xkb \ --with-xkb-bin-directory=/usr/bin \ --with-serverconfig-path=/usr/lib/xorg \ --with-dri-driver-path=/usr/lib/dri configure: WARNING: unrecognized options: --with-fontdir, --with-dri-driver-path make TIGERVNC_SRCDIR=../../../tigervnc-1.2.0 In file included from glxdriswrast.c:39:0: /usr/include/GL/internal/dri_interface.h:51:17: fatal error: drm.h: No such file or directory Thanks ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com