Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258385 - media-gfx/nvidia-cg-toolkit in /opt stops other programs finding it by default
Summary: media-gfx/nvidia-cg-toolkit in /opt stops other programs finding it by default
Status: RESOLVED DUPLICATE of bug 255867
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-10 00:00 UTC by Steven Schwartfeger
Modified: 2009-02-21 21:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Schwartfeger 2009-02-10 00:00:02 UTC
With media-gfx/nvidia-cg-toolkit-2.1.0016, the install directory was changed from /usr to /opt/nvidia-cg-toolkit, see bug #255867; this makes other programs fail to find Cg by default, for example crystal space (installed as user in my home directory).

I realise there may be some policy which makes it impossible to change the install location back how it was, but is there some way to configure things so Cg is found with the system default include and link paths? Maybe with pkg-config or something in /etc/env.d, I don't know the most clean or approved way.

Reproducible: Always

Steps to Reproduce:
1. Install media-gfx/nvidia-cg-toolkit-2.1.0016
2. Download an application that can use Cg, for example Crystal Space
3. Run ./configure

Actual Results:  
Cg is not found

Expected Results:  
Cg is found by default, as it used to
Comment 1 Patrick Dawson 2009-02-11 12:26:50 UTC
It also means that econf for dev-games/ogre-1.6.1 fails when the USE flag cg is enabled.
Comment 2 Frank Richter 2009-02-11 12:31:29 UTC
As Cg is a library, you can't simply move it out of /usr without ensuring that it's headers and libs are found by 3rd party configure scripts and such.
Comment 3 SpanKY gentoo-dev 2009-02-21 21:09:40 UTC

*** This bug has been marked as a duplicate of bug 255867 ***