GNOME3 and nvidia-driver

2014-11-24 Thread 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?

Cheers
--
Jonathan Chen j...@chen.org.nz
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: GNOME3 and nvidia-driver

2014-11-24 Thread Kevin Oberman
On Mon, Nov 24, 2014 at 12:10 PM, Jonathan Chen j...@chen.org.nz wrote:

 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?

 Cheers
 --
 Jonathan Chen j...@chen.org.nz


Switch to Mate? ;-)

I'll be doing this shortly, so it's not entirely facetious. After some time
with Gnome3 on Linux, I switched to Mate and have been very happy with it.
(Mate is a fork of Gnome2.) Cinnamon is another option. It is GTK3 based,
but retains the customisability of Gnome2. I have only very limited
experience with it.
--
R. Kevin Oberman, Network Engineer, Retired
E-mail: rkober...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: GNOME3 and nvidia-driver

2014-11-24 Thread Rainer Hurling
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 j...@chen.org.nz

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: GNOME3 and nvidia-driver

2014-11-24 Thread Jerry
On Mon, 24 Nov 2014 22:31:41 +0100, Rainer Hurling stated:

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 ;)

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194924

-- 
Jerry


pgp4sqK9gOoh7.pgp
Description: OpenPGP digital signature


Re: GNOME3 and nvidia-driver

2014-11-24 Thread Jonathan Chen
On 25 November 2014 at 09:53, Kevin Oberman rkober...@gmail.com wrote:
 Switch to Mate? ;-)

 I'll be doing this shortly, so it's not entirely facetious. After some time
 with Gnome3 on Linux, I switched to Mate and have been very happy with it.
 (Mate is a fork of Gnome2.) Cinnamon is another option. It is GTK3 based,
 but retains the customisability of Gnome2. I have only very limited
 experience with it.

Thanks for the suggestions, everyone. I've decided to try out Mate
after seeing the _huge_ pile of ports that Gnome3 brings in. The best
thing is that Mate works out of the box, and I've got it running now.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org