You are missing my point.  The instructions in BUILDING.txt are an
example that is known to work with only one platform (Red Hat Enterprise
Linux 6 and some later versions of Fedora.)  The "problem" is that you
need instructions specific to Ubuntu, and that requires knowledge of
that system that most of us don't have.  The only person who could
answer your questions is someone who has generated VNC packages for
Ubuntu in the past.

I would suggest looking for a RealVNC package for your version of Ubuntu
and looking at the scripts used to generate that package.  That would
give you at least a reasonable starting point for coming up with an
appropriate set of configure arguments.


On 4/3/12 2:17 PM, pablo platt wrote:
> I don't think the problem is specific to ubuntu.
> In the xserver configure file (attached) I can't find --with-fontdir but
> I do see --with-fontrootdir.
> Should I use this instead?
> I can't find something similar to --with-dri-driver-path
> 
> On Tue, Apr 3, 2012 at 8:22 PM, DRC <dcomman...@users.sourceforge.net
> <mailto:dcomman...@users.sourceforge.net>> wrote:
> 
>     Building a version of TigerVNC that uses the system's existing X.org
>     infrastructure is a very system-specific procedure.  The instructions in
>     BUILDING.txt are, as it says, just a "general outline."  They need to be
>     tailored to the specific needs of your system.
> 
> 
>     On 4/3/12 11:46 AM, pablo platt wrote:
>     > Hi,
>     >
>     > I'm trying to build under ubuntu 11.10 32bit.
>     >
>     > 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
>     >
>     > Can you please explain how to fix the warning and 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
>     >
>     >
>     > 
> ------------------------------------------------------------------------------
>     > Better than sec? Nothing is better than sec when it comes to
>     > monitoring Big Data applications. Try Boundary one-second
>     > resolution app monitoring today. Free.
>     > http://p.sf.net/sfu/Boundary-dev2dev
>     >
>     >
>     >
>     > _______________________________________________
>     > Tigervnc-users mailing list
>     > Tigervnc-users@lists.sourceforge.net
>     <mailto:Tigervnc-users@lists.sourceforge.net>
>     > https://lists.sourceforge.net/lists/listinfo/tigervnc-users
> 
>     
> ------------------------------------------------------------------------------
>     Better than sec? Nothing is better than sec when it comes to
>     monitoring Big Data applications. Try Boundary one-second
>     resolution app monitoring today. Free.
>     http://p.sf.net/sfu/Boundary-dev2dev
>     _______________________________________________
>     Tigervnc-users mailing list
>     Tigervnc-users@lists.sourceforge.net
>     <mailto:Tigervnc-users@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/tigervnc-users
> 
> 

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Tigervnc-users mailing list
Tigervnc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-users

Reply via email to