Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thirdparty中thrift编译失败 #92

Closed
Chustmilan opened this issue Sep 13, 2017 · 4 comments
Closed

thirdparty中thrift编译失败 #92

Chustmilan opened this issue Sep 13, 2017 · 4 comments

Comments

@Chustmilan
Copy link

./configure:line 17095:syntax error near unexcepted token 'QT,'
请问怎么解决?

@morningman
Copy link
Contributor

首先对照install.md 中常见问题,先检查下 pkg-config 是否安装以及版本是否正确,如果还不行。参照如下步骤:

  1. 找到系统中的pkg.m4 (由pkg-config 安装包安装)文件并复制的thrift/aclocal目录下。 (pkg.m4由pkg-config 工具生成.如果你的目录/usr/share/aclocal下没有pkg.m4文件,说明你可能没有安装pkg-config.)
    cp /usr/share/aclocal/pkg.m4 aclocal
  2. 再次运行./bootstrap.sh 和./configure。(在 build-thirdparty.sh 中找到 build_thrift, 参照其中的参数来运行 booststrap 和 configure)

@Chustmilan
Copy link
Author

pkg.m4复制过去,第一编译没过,第二次就ok了。。

@morningman
Copy link
Contributor

运行./bootstrap.sh 和./configure 可能会冲掉那个目录。先关闭了,有问题再联系。

@Chustmilan
Copy link
Author

好的 多谢!

stdpain added a commit to stdpain/incubator-doris that referenced this issue Jul 5, 2021
HappenLee pushed a commit to HappenLee/incubator-doris that referenced this issue Jul 15, 2021
HappenLee pushed a commit to HappenLee/incubator-doris that referenced this issue Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants