<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:01:18 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CXX-1073] Automatically add CMAKE_INSTALL_PREFIX/lib/pkgconfig to PKG_CONFIG_PATH when appropriate</title>
                <link>https://jira.mongodb.org/browse/CXX-1073</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;Many users seem to have difficulty understanding that if they have installed the C driver to a given $prefix that is not among those prefixes that are automatically searched by pkgconfig, that they must set PKG_CONFIG_PATH to $prefix/lib/pkgconfig.&lt;/p&gt;

&lt;p&gt;In most cases, users are installing both the C driver and the C++ driver to the same $prefix.&lt;/p&gt;

&lt;p&gt;Perhaps we should automatically add CMAKE_INSTALL_PREFIX/lib/pkgconfig to the PKG_CONFIG_PATH in the environment.&lt;/p&gt;

&lt;p&gt;In particular, I would do this if:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;There is no PKG_CONFIG_PATH set in the environment when CMake is invoked (i.e. don&apos;t mess with it if the user set it)&lt;/li&gt;
	&lt;li&gt;The user has customized CMAKE_INSTALL_PREFIX when invoking the C++ driver CMake (so they are asking to install somewhere other than the default build/install).&lt;/li&gt;
	&lt;li&gt;The user has not set LIBBSON_DIR and LIBMONGOC_DIR.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;That seems pretty safe to do, and might stop a lot of the &quot;my C++ driver build can&apos;t find the C driver&quot; sort of tickets or user group posts.&lt;/p&gt;</description>
                <environment></environment>
        <key id="321972">CXX-1073</key>
            <summary>Automatically add CMAKE_INSTALL_PREFIX/lib/pkgconfig to PKG_CONFIG_PATH when appropriate</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="backlog-cxx-driver">Backlog - CXX Driver Team</assignee>
                                    <reporter username="andrew.morrow@mongodb.com">Andrew Morrow</reporter>
                        <labels>
                    </labels>
                <created>Fri, 7 Oct 2016 12:43:44 +0000</created>
                <updated>Fri, 14 Apr 2017 19:28:16 +0000</updated>
                            <resolved>Fri, 14 Apr 2017 19:28:16 +0000</resolved>
                                                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1549738" author="david.golden" created="Fri, 14 Apr 2017 19:28:16 +0000"  >&lt;p&gt;When libmongoc and libbson publish .cmake files in 1.7.0, and we release 3.2.0 to use those, then this won&apos;t be necessary any more.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrceef:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>