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

Hung Ho commented on THRIFT-5323:
---------------------------------

[~jensg] my ./boostrap.sh gives this:

-n make distclean... 
ok
grep: /usr/include/php/main/php.h: No such file or directory
grep: /usr/include/php/Zend/zend_modules.h: No such file or directory
grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version: 
Zend Module Api No: 
Zend Extension Api No: 
Unescaped left brace in regex is deprecated here (and will be fatal in Perl 
5.30), passed through in regex; marked by <-- HERE in m/\${ <-- HERE [^\}]*}/ 
at /usr/local/bin/autoscan line 361.

 

I already have pkg-config installed using brew

> 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