Bug 276423 - build issues - boost detection
Summary: build issues - boost detection
Status: RESOLVED UNMAINTAINED
Alias: None
Product: grantlee
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: 0.2
Assignee: Stephen Kelly
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-24 23:11 UTC by tropikhajma
Modified: 2021-07-12 10:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch (580 bytes, patch)
2011-07-05 14:07 UTC, tropikhajma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tropikhajma 2011-06-24 23:11:22 UTC
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
Comment 1 Stephen Kelly 2011-07-02 17:43:09 UTC
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?
Comment 2 tropikhajma 2011-07-05 14:07:16 UTC
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.
Comment 3 Andrew Crouthamel 2018-11-06 15:19:09 UTC
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!
Comment 4 Andrew Crouthamel 2018-11-18 03:28:44 UTC
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!