Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5323

PKG_PROG_PKG_CONFIG: command not found when running ./configure on Mac

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build Process
    • Labels:
      None
    • Environment:

      MacOS BigSur

      Description

      Hello, I have looked at https://issues.apache.org/jira/browse/THRIFT-4910 and https://askubuntu.com/questions/468661/how-to-fix-pkg-prog-pkg-config-command-not-found-error

      `aclocal --print-ac-dir` gives `/usr/local/Cellar/automake/1.16.3/share/aclocal`

      `find /usr -name "pkg.m4"` gives:

      `/usr/local/Cellar/pkg-config/0.29.2_3/share/aclocal/pkg.m4
      /usr/local/share/aclocal/pkg.m4`

       

      I have tried `export ACLOCAL_PATH=/usr/share/aclocal` but that doesn't help. Any suggestion on how to workaround / debug this?

      Thanks,

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                motoko89 Hung Ho
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: