dev-libs/simgear-0.3.1 requires glut, but ebuild file doesn't require it. glut seems to be required by plib, but somehow I've got an installation with plib but without glut. Maybe it was an uncareful unmerge... Anyway this dependency should be added to simgear ebuild.
try emerge -p simgear --deep
I've already installed glut manually, so "emerge -p simgear --deep" prints just simgear itself.
# emerge -p simgear --deep These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-db/metakit-2.4.7.37 [ebuild N ] media-libs/glut-3.7.1 [ebuild N ] media-libs/plib-1.6.0 [ebuild N ] dev-libs/simgear-0.3.1 sv24 #
Yes, plib has dependency on glut. As I've told in report, somehow plib managed to be installed without glut on my system. Maybe it was my fault, but problem still stays: simgear depends on glut by itself, but simgear's ebuild has no that dependency. I still think that it would be proper to add dependency on glut to simgear. To reproduce the problem, install plib and unmerge glut. :) If you think if there is a good reason to skip simgear's denendency on glut in simgear.ebuild, please tell me what it is.
you are correct anton, if simgear depends directly on glut it should have that in its DEPEND (which it does now on cvs)