Skip to content

thirdparty中thrift编译失败 #92

Closed

Description

@Chustmilan

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

Activity

  1. morningman commented on Sep 13, 2017

    @morningman
    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)
  2. Chustmilan commented on Sep 14, 2017

    @Chustmilan
    Author

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

  3. morningman commented on Sep 14, 2017

    @morningman
    Contributor

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

  4. Chustmilan commented on Sep 14, 2017

    @Chustmilan
    Author

    好的 多谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions