Making slow progress in building the Intel Open Source Drivers. So far, I’ve compiled the kernel, I’ve build libdrm, the xf86-video-intel driver, and most recently made mesa. That was a real pain. Mesa wanted libxml2 version 2.9.1. Presently we’re on 2.9.3. I had to dig it up from Beyond Linux from scracth which installed after I included the python-dev package. The show goes on! Below is a list of packages I’ve had to install, and a useful command or two. Turns out most of the packages were on the How to Install on the mesa website, but didn’t make it over to the Intel site. Made for some fun sleuthing to find the proper packages. Most of them weren’t on the list anyway. So it goes.
Packages
Package Name |
Reason Needed |
|
Missing stubs-64.h |
|
xorg-macros were missing |
|
Needed pconfigure(pthreads-stubs) |
|
pciaccess wasn’t available |
|
The Intel page explicitly said to install it |
|
xorg-macros weren’t available (again?) |
|
fatal error: X11/fonts/fontutil.h no such file or directory |
|
Configure: error: C++ preprocessor “/lib/cpp” fails sanity check. Turns out I was missing g++ |
|
Mesa needs the Bison parser generator |
|
Mesa needs flex as the lexer generator |
|
Mesa needs this too |
|
Provides libxshmfence, which mesa wanted |
|
configure: error: libudev-dev or sysfs required for building DRI |
|
configure: error: Expat headers required for DRI not found |
|
Compiling this from scratch to make Mesa happy. Here was the error: version `LIBXML2_2.9.1′ not found (required by /lib64/libgettextsrc-0.19.7.so) |
|
Required to make libxml2-2.9.1 happy |
Here they are as a group for future use if need be
sudo dnf install glibx-devel xorg-x11-util libxcb-devel.x86_64 libpciaccess-dev libdrm-devel.x86_64 xorg-x11-server-devel.x86_64 libXfont-devel.x86_64 gcc-c++.x86_64 bison flex python-mako.noarch libxshmfence-devel.x86_64 systemd-devel expat-devel python-devel
Useful Commands
ls -l /usr/lib/libxml*
ls -l /usr/lib64/libxml*
Or in my case since I have 64 bit