已安装Thrift,但是在尝试运行Thrift命令时显示Thrift:找不到命令

use*_*630 5 macos installation thrift

我已经在Mac中安装了Thrift。

从终端看来,thrift已成功安装,但是当我尝试运行thrift命令时,得到以下信息

Thrift: command not found
Run Code Online (Sandbox Code Playgroud)

我从终端使用了whereis命令来找到节俭的位置,但找不到它。

有什么建议么?

安装节俭节俭0.9.0后的终端输出

Building C++ Library ......... : yes
Building C (GLib) Library .... : no
Building Java Library ........ : yes
Building C# Library .......... : no
Building Python Library ...... : yes
Building Ruby Library ........ : yes
Building Haskell Library ..... : no
Building Perl Library ........ : yes
Building PHP Library ......... : yes
Building Erlang Library ...... : no
Building Go Library .......... : no
Building D Library ........... : no
Run Code Online (Sandbox Code Playgroud)

小智 4

我认为你实际上并没有安装 thrift。您必须在./configure之后执行以下操作


$ make
$ sudo make install
Run Code Online (Sandbox Code Playgroud)