Version: unspecified (using Devel) OS: Solaris grantlee 0.1.9 fails to build with ... "/export/home/kdebuild/packages/BUILD/grantlee-0.1.9/i386/grantlee-0.1.9/templates/tests/qtunorderedmap.h", line 29: Error: Could not open include file<tr1/unordered_map>. compile passed when I append '-I/opt/kde4/include/boost-1_46_1/boost/tr1 -I/opt/kde4/include/boost-1_46_1' to the CC commandline. It looks like grantlee should do more wrt boost detection Reproducible: Always
Hi, Grantlee shouldn't need boost at all actually. I thought the tr1 would be provided by the platform as it is on linux and windows. I guess on solaris that is not the case. This can probably be fixed in the Grantlee build system. Can you create a patch?
Created attachment 61625 [details] patch This is because on Solaris, when building with Sun Studio, we're using the Apache stdcxx standard library. The TR1 extension to the C++ standard is planned for stdcxx 4.3.0 (https://issues.apache.org/jira/browse/STDCXX-32), but the stdcxx project seems to be in a coma and 4.3.0 is unlikely to happen. This wouldn't be an issue were we using the g++ compiler. The attached patch worked for me. I only had to add Boost_INCLUDE_DIR to CMAKEFLAGS as we put boost into a non-standard location.
Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand. Thank you for helping us make KDE software even better for everyone!