View previous topic :: View next topic |
Author |
Message |
ayvango Tux's lil' helper
Joined: 08 Feb 2012 Posts: 118
|
Posted: Mon Dec 21, 2015 4:40 pm Post subject: nvidia & vtk & nvidia-setting & multilib-strict |
|
|
I've run into a problem with many edges.
First: nvidia-settings forces downgrade on nvidia-drivers.
Second: nvidia-drivers with +tool flag generates nvidia-setting command, but not accompaing libraries.
Third: sci-libs/vtk requires nvidia-settings in build time. With a cmake script it tries to locate library /usr/lib/libXNVCtrl.a It fails to build without actual media-video/nvidia-settings installed
Fourth: media-video/nvidia-settings-355.11 fails to build with multilib strict check error
So I need either to build nvidia-settings without mutlilib errors, or make nvidia-drivers install API library. |
|
Back to top |
|
|
ct85711 Veteran
Joined: 27 Sep 2005 Posts: 1791
|
Posted: Mon Dec 21, 2015 8:24 pm Post subject: |
|
|
I find the interesting part of all this hassle, there is a new version of nvidia-settings available, the devs that bump the drivers don't bother looking at the settings and bump that at the same time...
Here's a quick proof of this claim of the new version available, just by going to the DL location specified in the ebuild(s)
ftp://download.nvidia.com/XFree86/nvidia-settings/
Code: | File:nvidia-settings-352.21.tar.bz2
1534 KB 6/10/2015 12:00:00 AM
File:nvidia-settings-352.30.tar.bz2
1534 KB 7/22/2015 8:01:00 PM
File:nvidia-settings-352.41.tar.bz2
1535 KB 8/25/2015 7:35:00 PM
File:nvidia-settings-352.55.tar.bz2
1534 KB 10/11/2015 6:06:00 AM
File:nvidia-settings-352.63.tar.bz2
1534 KB 11/9/2015 5:49:00 PM
File:nvidia-settings-355.06.tar.bz2
1534 KB 7/30/2015 10:40:00 AM
File:nvidia-settings-355.11.tar.bz2
1534 KB 8/27/2015 4:57:00 PM
File:nvidia-settings-358.09.tar.bz2
1535 KB 10/9/2015 6:58:00 AM
File:nvidia-settings-358.16.tar.bz2
1535 KB 11/17/2015 8:25:00 PM
File:nvidia-settings-71.86.01.tar.gz
1013 KB 9/6/2007 12:00:00 AM
File:nvidia-settings-71.86.01.tar.gz.md5
1 KB 2/23/2014 12:00:00 AM
File:nvidia-settings-71.86.01.tar.gz.sha256
1 KB 2/23/2014 12:00:00 AM
File:nvidia-settings-71.86.04.tar.gz
1014 KB 1/21/2008 12:00:00 AM
File:nvidia-settings-71.86.04.tar.gz.md5
1 KB 2/23/2014 12:00:00 AM
File:nvidia-settings-71.86.04.tar.gz.sha256
1 KB 2/23/2014 12:00:00 AM
File:nvidia-settings-71.86.07.tar.gz
1014 KB 10/29/2008 12:00:00 AM |
|
|
Back to top |
|
|
Tiberizzle n00b
Joined: 20 Nov 2006 Posts: 9
|
Posted: Sun May 29, 2016 11:15 am Post subject: |
|
|
Apologies in advance for thread necromancy but I found this via google search for "vtk nvidia-settings" or some such and thought I'd just drop my solution in here.
The solution is to use the new nvidia-drivers useflags to pull in the nvidia-settings binaries and most importantly the library required for vtk, then modify the vtk ebuild to recognize that nvidia-drivers can also provide the required library.
"tools" pulls in the nvidia-settings package, "static-libs" is required to get the static library libXNVCtrl.a
1.
Copy vtk-6.1.0-r2.ebuild to a local overlay or modify in place
Change
Code: | video_cards_nvidia? ( media-video/nvidia-settings ) |
to
Code: | video_cards_nvidia? ( || ( media-video/nvidia-settings x11-drivers/nvidia-drivers[tools,static-libs] ) ) |
on line 102 or so.
"ebuild vtk-6.1.0-r2.ebuild manifest" to regenerate the manifest
2.
enable the "tools" and "static-libs" useflags for nvidia-drivers
3.
emerge vtk nvidia-drivers |
|
Back to top |
|
|
|