[ 
https://issues.apache.org/jira/browse/THRIFT-5323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17249360#comment-17249360
 ] 

Hung Ho edited comment on THRIFT-5323 at 12/14/20, 10:32 PM:
-------------------------------------------------------------

Hi [~ulidtko] , I already have `pkg-config` installed. `{{pkg-config 
--version}}` returns:

`0.29.2`

And I still get `./configure: line 3805: PKG_PROG_PKG_CONFIG: command not 
found`, which ultimately leads to
{quote}./configure: line 18580: syntax error near unexpected token `QT5,'
 ./configure: line 18580: ` PKG_CHECK_MODULES(QT5, Qt5Core >= 5.0, Qt5Network 
>= 5.0,'
{quote}
 


was (Author: motoko89):
Hi [~ulidtko] , I already have `pkg-config` installed. `{{pkg-config 
--version}}` returns:

`0.29.2`

And I still get `./configure: line 3805: PKG_PROG_PKG_CONFIG: command not 
found`, which ultimately leads to

`````

./configure: line 18580: syntax error near unexpected token `QT5,'
./configure: line 18580: ` PKG_CHECK_MODULES(QT5, Qt5Core >= 5.0, Qt5Network >= 
5.0,'

`````

 

> PKG_PROG_PKG_CONFIG: command not found when running ./configure on Mac
> ----------------------------------------------------------------------
>
>                 Key: THRIFT-5323
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5323
>             Project: Thrift
>          Issue Type: Bug
>         Environment: MacOS BigSur
>            Reporter: Hung Ho
>            Priority: Major
>
> 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,



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to