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

John Boiles commented on THRIFT-4910:
-------------------------------------

I got the same error on macOS Mojave 10.14.6

{code}
> ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
...
checking for ranlib... (cached) ranlib
checking whether g++ supports C++11 features with -std=c++11... yes
./configure: line 18602: syntax error near unexpected token `QT5,'
./configure: line 18602: `    PKG_CHECK_MODULES(QT5, Qt5Core >= 5.0, Qt5Network 
>= 5.0,'
{code}

No difference if I run {{./configure --without-qt5}}.

{code}
> uname -av
Darwin tw-mbp-jboiles 18.7.0 Darwin Kernel Version 18.7.0: Thu Jun 20 18:42:21 
PDT 2019; root:xnu-4903.270.47~4/RELEASE_X86_64 x86_64
> bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18)
Copyright (C) 2007 Free Software Foundation, Inc.
> brew install libtool gettext autoconf flex bison@2.7
Warning: libtool 2.4.6_1 is already installed and up-to-date
To reinstall 2.4.6_1, run `brew reinstall libtool`
Warning: gettext 0.20.1 is already installed and up-to-date
To reinstall 0.20.1, run `brew reinstall gettext`
Warning: autoconf 2.69 is already installed and up-to-date
To reinstall 2.69, run `brew reinstall autoconf`
Warning: flex 2.6.4_1 is already installed and up-to-date
To reinstall 2.6.4_1, run `brew reinstall flex`
Warning: bison@2.7 2.7.1_1 is already installed and up-to-date
To reinstall 2.7.1_1, run `brew reinstall bison@2.7`
{code}

> ./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.3.2#803003)

Reply via email to