Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2014 22:31:41 +0100
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        Jonathan Chen <jonc@chen.org.nz>, <freebsd-ports@freebsd.org>, <freebsd-gnome@freebsd.org>
Subject:   Re: GNOME3 and nvidia-driver
Message-ID:  <5473A3BD.7050805@gwdg.de>
In-Reply-To: <CAJuc1zPFVM60uo3zRB2fY3wkny1Nf-WtQLQftYhmh1jPwXiSeg@mail.gmail.com>
References:  <CAJuc1zPFVM60uo3zRB2fY3wkny1Nf-WtQLQftYhmh1jPwXiSeg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@chen.org.nz>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5473A3BD.7050805>