| Summary: | media-gfx/inkscape-0.46-r5 fails to compile due to missing boost (but boost is installed) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Michael Pyne <mpyne> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
'eselect boost list' 'eselect boost set <chosen number>' Thanks. I just ran it and (of course) it failed because one of the symlinks it wanted to install already existed as a file. So I deleted it, eselect continued to completion and the appropriate include symlink exists now. So I'm going to chalk this up as a mea culpa. |
The media-gfx/inkscape package fails to compile on my system, complaining of a missing boost/concept_check.hpp header file. I checked and boost is installed (of course, since it's also in the DEPEND in the ebuild). I have two boost versions installed, boost-1.37.0-r1 and 1.39.0. Their actual headers are located in /usr/include/boost-1_{37,39}/boost/*, but neither boost folder is included in the default include path (nor should they be I guess :) I can compile by manually adding the appropriate -I flag to the CXXFLAGS for inkscape but this is a bad long-term solution. The inkscape configure script just checks for the header in the default gcc include paths, no extra help is provided in the ebuild from what I can tell, and I see no pkg-config magic for boost. Let me know if there's anything else you need. Reproducible: Always Steps to Reproduce: 1. emerge media-gfx/inkscape (technically I use paludis but I see nothing special about any of the ebuilds that would make this paludis-specific). 2. ???? 3. Wait for the configure error. :( Actual Results: A configure error was produced. I forgot to save the exact error message unfortunately before I implemented the CXXFLAGS workaround I discussed earlier. Expected Results: Expected behavior is that the ebuild uses the latest installed boost and adds its include magic to the CXXFLAGS when compiling inkscape (I'm guessing Gentoo installs boost to a non-standard location, which is why I filed the bug under the Gentoo bugzilla). I can attach an emerge --info if you guys want but it's not going to be super-relevant since I'm using paludis. (I'm guessing paludis --report is approximately equivalent though if you want that)