Fedora 10: Trouble installing libdrm (2.4.4) for latest Intel driver (2.6)
Joe Smith
stopads at yahoo.com
Fri Jan 16 08:10:14 PST 2009
I'm having trouble installing the new Intel driver at http://intellinuxgraphics.org/2008Q4.html.
This is xf86-video-intel 2.6.0 for an Intel GME965 chipset.
I'm running Fedora 10, 2.6.27.9-159.fc10.i686.
I think it all stems from an incomplete libdrm installation, due to a missing build directory:
In libdrm-2.4.4 directory:
# more README
By default, libdrm and the DRM header files will install into /usr/local/.
If you want to install this DRM to replace your system copy, say:
./configure --prefix=/usr --exec-prefix=/
Then,
make install
To build the device-specific kernel modules:
cd linux-core/
make
cp *.ko /lib/modules/VERSION/kernel/drivers/char/drm/
(where VERSION is your kernel version: uname -f)
Or,
cd bsd-core/
make
copy the kernel modules to the appropriate place
I did part one and everything completed normally. Actually, I added make to the process because that's the usual order of operations.
./configure --prefix=/usr --exec-prefix=/
make
make install
However, I can't do part 2 because there is no directory called linux-core. I did see a directory called shared core. Here's the listing:
# ls
aclocal.m4 config.status configure.ac libdrm libtool Makefile.am README
config.guess config.sub depcomp libdrm.pc ltmain.sh Makefile.in shared-core
config.log configure install-sh libdrm.pc.in Makefile missing tests
# cd shared-core/
# ls
drm.h drm_sarea.h mach64_drm.h Makefile.am mga_drm.h r128_drm.h radeon_drm.h sis_drm.h via_drm.h
drm_mode.h i915_drm.h Makefile Makefile.in nouveau_drm.h r300_reg.h savage_drm.h via_3d_reg.h xgi_drm.h
# make
make: Nothing to be done for `all'.
I rebooted anyway (who knows?) and don't see the new version:
# dmesg | grep drm
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized i915 1.6.0 20080730 on minor 0
But I pushed ahead anyway, and tried installing the Intel driver:
In xf86-video-intel-2.6.0 directory:
# ./configure
......
checking for DRM... configure: error: Package requirements (libdrm >= 2.4..3) were not met:
Requested 'libdrm >= 2.4.3' but version of libdrm is 2.4.0
It looks like the new version is in the wrong spot...?
# find / | grep libdrm
/usr/lib/libdrm.so.2
/usr/lib/libdrm_intel.so.1.0.0
/usr/lib/libdrm_intel.so
/usr/lib/pkgconfig/libdrm.pc
/usr/lib/libdrm_intel.so.1
/usr/lib/libdrm.so
/usr/lib/libdrm.so.2.3.0
/usr/share/doc/libdrm-2.4.0
/usr/share/doc/libdrm-2.4.0/README
/lib/libdrm.so.2
/lib/libdrm_intel.so.1.0.0
/lib/libdrm_intel.so
/lib/libdrm.so.2.4.0
/lib/pkgconfig/libdrm.pc
/lib/libdrm_intel.so.1
/lib/libdrm_intel.la
/lib/libdrm.so
/lib/libdrm.la
Can any one point me in the right direction? I don't think libdrm installed correctly, especially since I couldn't complete step 2.
Thanks for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20090116/3a5955cb/attachment.html>
More information about the xorg
mailing list