[ https://issues.apache.org/jira/browse/THRIFT-4910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17480625#comment-17480625 ]
Christopher Friedt commented on THRIFT-4910: -------------------------------------------- This can be solved pretty trivially by exporting the `PKG_PROG_PKG_CONFIG` environment variable prior to running `autoreconf -vfi` or `bootstrap.sh`. ``` export PKG_PROG_PKG_CONFIG=`which pkg-config` ``` > ./configure: line 14116: syntax error near unexpected token `QT5,' > ------------------------------------------------------------------ > > Key: THRIFT-4910 > URL: https://issues.apache.org/jira/browse/THRIFT-4910 > Project: Thrift > Issue Type: Question > Components: Build Process > Affects Versions: 0.13.0 > Environment: Ubuntu 19.04 > Reporter: Rocco Corsi > Assignee: James E. King III > Priority: Minor > Attachments: config.log, configure.out.txt, console.txt, > console_20190723_1436.txt > > > Testing build of latest master branch on Ubuntu 19.04 > Failing on configure > ... > checking whether yytext is a pointer... yes > checking whether ln -s works... yes > checking for gawk... (cached) mawk > checking for ranlib... (cached) ranlib > checking whether g++ supports C++11 features with -std=c++11... yes > ./configure: line 14116: syntax error near unexpected token `QT5,' > ./configure: line 14116: ` PKG_CHECK_MODULES(QT5, Qt5Core >= 5.0, > Qt5Network >= 5.0,' > Might there be something wrong in my environment, wrong version of something > (e.g. I have automake 1.16.1-4) > > Attached my console log output and config.log file. > > Current commit: > commit 4c847372eb9af8ec0b21ace31840eaabfdf32660 (HEAD -> master, > origin/master, origin/HEAD) > Author: guozhu cheng <ben...@163.com> > Date: Mon Jul 15 19:46:25 2019 +0800 > THRIFT-4908: remove reader&writer in Golang's TBinaryProtocol > > Client: go > > This closes #1831. -- This message was sent by Atlassian Jira (v8.20.1#820001)