I know its bad to mix stable and unstable packages. Nevertheless: In root-5.20.00-r2 two files in graf3d/gl include FTGL/ftgl.h. Apparently, ftgl.h is only available in media-libs/ftgl-2.1.3_rc5 which is currently masked and so on my machine make exits on "File not found" (the root ebuild doesn't do a version check on ftgl). In the stable media-libs/ftgl-2.1.2-r1 installed in my system a corresponding file seems to be TFGL/TFGL.h. I tried and changed the included file to the on installed here, and root at least compiled fine. I also ran some of the macros from $DOC/tutorials/gl and they produced pretty pictures. I am attaching a patch that depending on the installed ftgl version does the patching for the correct header. Somehow related is https://savannah.cern.ch/bugs/?func=detailitem&item_id=44742 which touches on the various problems the gl stuff has right now. root-5.22 is to be released very soon (2008/12/18). Did somebody push the gentoo patches, especially for the gl stuff upstream? That part of the code seems to have still some very rough, alpha-y edges and the root people always seem to be open to patches and suggestion. If not I can have a look at svn and file the remainder. Please let me know if you need more information. Cheers, Benjamin Reproducible: Always Steps to Reproduce:
Created attachment 174290 [details, diff] Apply patch for older ftgl versions
Created attachment 174291 [details, diff] Change included file name for older tfgl versions
Thanks for the patches, as always. Will contact upstream with all our patches asap.
(In reply to comment #3) > Thanks for the patches, as always. > Will contact upstream with all our patches asap. > No, thank YOU for taking on these monsters coming out of CERN. And gentoo-science rocks, really, a please to work with. Cheers, b.