GNOME3 and nvidia-driver

Rainer Hurling rhurlin at gwdg.de
Mon Nov 24 21:31:58 UTC 2014


Hi Jonathan,

Am 24.11.2014 um 21:10 schrieb Jonathan Chen:
> Hi,
> 
> The latest GNOME3 update doesn't appear to live well with
> nvidia-driver. I'm attempting to build gnome3, but it's failing during
> the configure of graphics/cogl (required by graphics/cogl, required by
> graphics/clutter, required by accessibility/caribou):
> 
> ...
> checking for GLIB - version >= 2.32.0... yes (version 2.42.0)
> checking EGL/egl.h usability... no
> checking EGL/egl.h presence... no
> checking for EGL/egl.h... no
> configure: error: Unable to locate required EGL headers
> ===>  Script "configure" failed unexpectedly.
> ...
> 
> Hmm. Okay, a quick search reveals graphics/libEGL has the headers.
> # cd /usr/ports/graphics/libEGL && make install clean
> ...
> ===>  Checking if libEGL already installed
> ===>   Registering installation for libEGL-10.3.3
> pkg-static: libEGL-10.3.3 conflicts with nvidia-driver-340.46
> (installs files into the same place).  Problematic file:
> /usr/local/lib/libEGL.so
> *** Error code 70
> 
> Stop.
> make: stopped in /usr/ports/graphics/libEGL
> 
> What should I do?

For me, the following works as a workaround:

1.   Switch back to a console (without using X11)
2.   pkg delete -f nvidia-driver-340.46
3.   portmaster -a
     portmaster x11/gnome3
4.   pkg delete -f libEGL-10.3.3
5.   cd /usr/ports/x11/nvidia-driver && make install [&& kldload nvidia]

After that, you should be able to start X11 again and work as usual. It
seems to be no problem without having libEGL installed, because there is
a libEGL version from nvidia-driver installed.

Of course, it would be better, if someone could solve the conflict of
the two ports ;)

HTH,
Rainer Hurling


> Cheers
> --
> Jonathan Chen <jonc at chen.org.nz>



More information about the freebsd-ports mailing list