Re: build tigerVNC (xserver) under ubuntu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Thu, Apr 5, 2012 at 9:07 AM, Alan Coopersmith <alan.coopersmith@xxxxxxxxxx> 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
> <>
> 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?

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?


       -Alan Coopersmith-              alan.coopersmith@xxxxxxxxxx
        Oracle Solaris Engineering -

xorg@xxxxxxxxxxx: X.Org support
Your subscription address: list-xorg@xxxxxxxxxxx

[X Forum]     [Nouveau Driver]     [Devices]     [XFree86]     [XFree86 Newbie]     [Site Home]     [IETF Annouce]     [Security]     [Fontconfig]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Video for Linux]     [Linux RAID]     [Linux Resources]

Powered by Linux