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

Brian Paul brianp at vmware.com
Thu Mar 5 09:02:33 PST 2015


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