gpt4 book ai didi

ubuntu - "fatal error: TProcessor.h: No such file or directory"尝试安装 Rhbase 包时

转载 作者:行者123 更新时间:2023-12-04 18:30:12 25 4
gpt4 key购买 nike

每个人,
我正在尝试安装 Rhbase 包,但首先我缺少 thrift 包,我解决了这个问题,但现在它显示了另一个错误。我将 TProcessor.h 添加到 ../lib/cpp/src/thrift/processor/中,但它没有帮助,它向我显示了同样的错误:

    In file included from Hbase.cpp:7:0:
Hbase.h:10:24: fatal error: TProcessor.h: No such file or directory
#include <TProcessor.h>
^
compilation terminated.
make: *** [Hbase.o] Error 1
ERROR: compilation failed for package ‘rhbase’

我正在使用 RStudio
非常感谢

最佳答案

您应该编辑 thrift.pc .

我用了locate thrift.pc并在 /usr/local/lib/pkgconfig/ 中找到它.
然后我对其进行了编辑,以便 includedir变量看起来像

includedir=${prefix}/include/thrift

它对我有用。

关于ubuntu - "fatal error: TProcessor.h: No such file or directory"尝试安装 Rhbase 包时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35035962/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com