[Mesa-users] configure: error: libudev-dev or sysfs required for building DRI

Brian Paul brianp at vmware.com
Thu Mar 5 16:07:46 PST 2015


On 03/05/2015 10:09 AM, Sam M wrote:
> Are there any better instructions on how to setup VMware SVGA3D guest
> driver for CentOS 6.6? I'm currently using the following instructions at
> http://www.mesa3d.org/vmware-guest.html
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mesa3d.org_vmware-2Dguest.html&d=AwMFAw&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=T0t4QG7chq2ZwJo6wilkFznRSFy-8uDKartPGbomVj8&m=Mhv4fKBCPaxXNDjh0S3yjS6j65sDUGUSSt9RZ3NASSk&s=uq-7wCbROSgzV3z_qBJLh9Rb8513VYQMr3mK0NNBdp0&e=>

That's all there is at this time.  If you find mistakes or want to make 
additions, file a bug or submit a patch.


> What about this issue?
>
> I'm having another issue with vmwgfx. When I run the command "make"
> I get the following error "Makefile:126: *** Cannot find a kernel
> config file. Stop."
>

You need to install "kernel-devel-x.y.z" where you can get the version 
by running uname -a.

-Brian



>  > Date: Thu, 5 Mar 2015 10:02:33 -0700
>  > From: brianp at vmware.com
>  > To: sam_h00 at hotmail.com; mesa-users at lists.freedesktop.org
>  > Subject: Re: [Mesa-users] configure: error: libudev-dev or sysfs
> required for building DRI
>  >
>  > with --disable-dri you'll have no hardware acceleration (software
>  > rendering only).
>  >
>  > -Brian
>  >
>  > On 03/05/2015 09:48 AM, Sam M wrote:
>  > > I solved the issue by removing the 3 from this command
> --disable-dri3. I
>  > > was able to compile mesa with no issues.
>  > >
>  > > I'm having another issue with vmwgfx. When I run the command "make" I
>  > > get the following error "Makefile:126: *** Cannot find a kernel config
>  > > file. Stop."
>  > >
>  > > > Date: Thu, 5 Mar 2015 09:27:28 -0700
>  > > > From: brianp at vmware.com
>  > > > To: sam_h00 at hotmail.com; mesa-users at lists.freedesktop.org
>  > > > Subject: Re: [Mesa-users] configure: error: libudev-dev or sysfs
>  > > required for building DRI
>  > > >
>  > > > OK, it looks like on RHEL 7, /usr/include/libudev.h comes from the
>  > > > systemd-devel RPM. So try "sudo yum install systemd-devel".
>  > > >
>  > > > -Brian
>  > > >
>  > > >
>  > > > On 03/05/2015 09:02 AM, Sam M wrote:
>  > > > > libsysfs wasn't installed so I installed it... Got the same error
>  > > "configure: error: libudev-dev or sysfs required for building DRI"
>  > > > >
>  > > > > glxinfo
>  > > > >
>  > > > > OpenGL vendor string: Mesa Project
>  > > > > OpenGL renderer string: Software Rasterizer
>  > > > > OpenGL version string: 2.1 Mesa 10.1.2
>  > > > > OpenGL shading language version string: 1.20
>  > > > >
>  > > > > > Date: Thu, 5 Mar 2015 08:54:12 -0700
>  > > > > > From: brianp at vmware.com
>  > > > > > To: sam_h00 at hotmail.com; mesa-users at lists.freedesktop.org
>  > > > > > Subject: Re: [Mesa-users] configure: error: libudev-dev or sysfs
>  > > > > required for building DRI
>  > > > > >
>  > > > > > On 03/05/2015 08:35 AM, Sam M wrote:
>  > > > > > > I'm trying to install VMware guest GL driver on CentOS 6.5
> but with
>  > > > > no luck.
>  > > > > > >
>  > > > > > > Building the Code for Mesa
>  > > > > > >
>  > > > > > > ./autogen.sh --prefix=/usr --libdir=/usr/lib64
>  > > > > > > --with-gallium-drivers=svga --with-dri-drivers= --enable-xa
>  > > > > --disable-dri3
>  > > > > > >
>  > > > > > > I get the following error "configure: error: libudev-dev or
> sysfs
>  > > > > > > required for building DRI"
>  > > > > >
>  > > > > > Check that libsysfs is installed. Install if with yum if missing.
>  > > > > >
>  > > > > >
>  > > > > >
>  > > > > > > Has anyone got VMware SVGA3D guest driver installed on
> CentOS 6.5
>  > > > > or 6.6?
>  > > > > > >
>  > > > > > > Any help would be much appreciated.
>  > > > > >
>  > > > > > I haven't tried CentOS, but when I tried installing on RHEL 7
> I had a
>  > > > > > lot of problems and haven't had time to investigate yet.
>  > > > > >
>  > > > > > -Brian
>  > > > > >
>  > > > > >
>  > > >
>  >



More information about the mesa-users mailing list