Heka的编译安装方法

发布时间:2021-08-12 14:34:04 作者:chen
来源:亿速云 阅读:139

本篇内容主要讲解“Heka的编译安装方法”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“Heka的编译安装方法”吧!

官方文档:http://hekad.readthedocs.io/en/v0.10.0/installing.html

Prerequisites (all systems):

  1. Check out the heka repository:

    git clone https://github.com/mozilla-services/heka
     
  2. Source (Unix-y) or run (Windows) the build script in the heka directory:

    cd heka
    source build.sh # Unix (or `. build.sh`; must be sourced to properly setup the environment)
    build.bat  # Windows
     

You will now have a hekad binary in the build/heka/bin directory.

  1. (Optional) Run the tests to ensure a functioning hekad:

    ctest             # All, see note
    # Or use the makefile target
    make test         # Unix
    mingw32-make test # Windows
     

Note

In addition to the standard test build target, ctest can be called directly providing much greater control over the tests being run and the generated output (see ctest –help). i.e., ‘ctest -R pi’ will only run the pipeline unit test.

  1. Run make install to install libs and modules into a usable location:

    make install         # Unix


如果出现问题,

-- GeoIP.h was not found, GeoIP functionality will not be included in this build.
-- Docker plugins enabled.
-- sphinx-build was not found, the documentation will not be generated.
CMake Error at cmake/externals.cmake:10 (message):
  patch not found
Call Stack (most recent call first):
  CMakeLists.txt:111 (include)

说明patch命令没有安装

yum install patch即可。

到此,相信大家对“Heka的编译安装方法”有了更深的了解,不妨来实际操作一番吧!这里是亿速云网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!

推荐阅读:
  1. nginx的安装方法
  2. 简单介绍mysql5.6的编译安装方法

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

heka

上一篇:Python中is语法的示例分析

下一篇:Sql server 中怎么查找数据库中所有表和表的行数

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》