You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Chris Morgan (JIRA)" <ji...@apache.org> on 2011/02/07 19:02:57 UTC

[jira] Updated: (THRIFT-1054) explicit call to PKG_PROG_PKG_CONFIG is missing and first use of PKG_CHECK_MODULES may not happen, causes mono detection to fail

     [ https://issues.apache.org/jira/browse/THRIFT-1054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Morgan updated THRIFT-1054:
---------------------------------

    Attachment: configure_ac_pkg_config_check.patch

Patch fixes pkg-config issues detecting mono (and possibly other cases where pkg-config was used).

> explicit call to PKG_PROG_PKG_CONFIG is missing and first use of PKG_CHECK_MODULES may not happen, causes mono detection to fail
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-1054
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1054
>             Project: Thrift
>          Issue Type: Bug
>    Affects Versions: 0.7
>         Environment: Kubuntu 10.10 (Maverick)
>            Reporter: Chris Morgan
>         Attachments: configure_ac_pkg_config_check.patch
>
>
> From aclocal.m4:
> # Note that if there is a possibility the first call to
> # PKG_CHECK_MODULES might not happen, you should be sure to include an
> # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
> I believe the first call to PKG_CHECK_MODULE is the only one that is expanded by m4 into the detection and setup of the pkg-config variables. Because this call is missed, future calls to PKG_CHECK_MODULE attempt to use pkg-config and can't find it.
> The fix looks like an explicit PKG_PROG_PKG_CONFIG should be added to configure.ac

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira