文档章节

源码编译heka遇到的问题

v
 vance928
发布于 2015/10/10 14:58
字数 559
阅读 41
收藏 0

报错:

1.heka/build/ep_base/Build/lua_sandbox/ep_base/Source/lua_sax/src/symtseries.c:766: 错误:“win” 在使用前可能未初始化

解决方法:

size_t n_values = 32;

    size_t prev_fin, new_fin;

    size_t w = 8;

    unsigned char c = 6;

    sts_window win=sts_new_window(n_values, w, c);

2.

2015/10/10 14:49:00 Loading input failed: exec: "go": executable file not found in $PATH

make[2]: *** [heka/src/github.com/mozilla-services/heka/pipeline/mock_pluginhelper_test.go] 错误 1

make[1]: *** [CMakeFiles/mocks.dir/all] 错误 2

make: *** [all] 错误 2

解决方法:

可能是在执行中重写了PATH,导致go的环境丢失,直接export,然后再执行source build.sh

export PATH=/Application/go/bin:$PATH

source build.sh

最后终于编译过去了:

$ source build.sh 

-- 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 Warning (dev) at cmake/ExternalProject.cmake:202 (if):

  Policy CMP0054 is not set: Only interpret if() arguments as variables or

  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy

  details.  Use the cmake_policy command to set the policy and suppress this

  warning.

  Quoted keywords like "COMMAND" will no longer be interpreted as keywords

  when the policy is set to NEW.  Since the policy is not set the OLD

  behavior will be used.

Call Stack (most recent call first):

  cmake/ExternalProject.cmake:1524 (_ep_parse_arguments)

  cmake/externals.cmake:19 (externalproject_add)

  CMakeLists.txt:106 (include)

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done

-- Generating done

-- Build files have been written to: /home/refresh/heka/build

[  3%] Built target protobuf

[  6%] Built target whisper-go

[ 10%] Built target gospec

[ 13%] Built target gomock

[ 16%] Built target raven-go

[ 20%] Built target heka-mozsvc-plugins

[ 24%] Built target snappy

[ 27%] Built target go-notify

[ 30%] Built target toml

[ 33%] Built target amqp

[ 37%] Built target go-ircevent

[ 41%] Built target xmlpath

[ 44%] Built target gostrftime

[ 47%] Built target go-spew

[ 50%] Built target sarama

[ 54%] Built target go-resiliency

[ 58%] Built target queue

[ 62%] Built target goamz

[ 65%] Built target go-dockerclient

[ 69%] Built target raw

[ 72%] Built target slices

[ 76%] Built target sets

[ 80%] Built target uuid

[ 84%] Built target g2s

[ 84%] Built target GoPackages

[ 88%] Built target lua_sandbox

[ 88%] Built target heka_source

[ 88%] Built target message_matcher_parser

[ 88%] Built mock_pluginhelper_test.go

[ 88%] Built mock_pluginrunner_test.go

[ 89%] Built mock_decoder_test.go

[ 89%] Built mock_decoderrunner_test.go

[ 90%] Built mock_inputrunner_test.go

[ 90%] Built mock_filterrunner_test.go

[ 91%] Built mock_outputrunner_test.go

[ 91%] Built mock_input_test.go

[ 92%] Built mock_stataccumulator_test.go

[ 92%] Built mock_deliverer_test.go

[ 92%] Built mock_splitterrunner_test.go

[ 93%] Built mock_pluginhelper.go

[ 93%] Built mock_filterrunner.go

[ 94%] Built mock_decoderrunner.go

[ 94%] Built mock_outputrunner.go

[ 95%] Built mock_inputrunner.go

[ 95%] Built mock_decoder.go

[ 95%] Built mock_stataccumulator.go

[ 96%] Built mock_deliverer.go

[ 96%] Built mock_splitterrunner.go

[ 97%] Built mock_net_conn.go

[ 97%] Built mock_net_listener.go

[ 98%] Built mock_net_error.go

[ 98%] Built mock_whisperrunner_test.go

[ 98%] Built mock_amqpconnection_test.go

[ 99%] Built mock_amqpchannel_test.go

[ 99%] Built mock_amqpconnectionhub_test.go

[100%] Built mock_amqp_acknowledger.go

[100%] Built target mocks

Scanning dependencies of target hekad

[100%] Built target hekad

Scanning dependencies of target flood

[100%] Built target flood

Scanning dependencies of target heka-cat

[100%] Built target heka-cat

Scanning dependencies of target inject

[100%] Built target inject

Scanning dependencies of target logstreamer

[100%] Built target logstreamer

Scanning dependencies of target sbmgr

[100%] Built target sbmgr

Scanning dependencies of target sbmgrload

[100%] Built target sbmgrload


© 著作权归作者所有

共有 人打赏支持
下一篇: TOML 介绍
v
粉丝 0
博文 4
码字总数 776
作品 0
东城
私信 提问
Heka配置讲解

基于Heka,ElasticSearch和Kibana的分布式后端日志架构 目前主流的后端日志都采用的标准的elk模式(Elasticsearch,Logstash,Kinaba),分别负责日志存储,收集和日志可视化。 不过介于我们...

乌龟运维
2017/07/04
0
0
Heka - 来自 Mozilla 的插件式数据挖掘工具

近日Mozilla Service团队首次发布了 Heka测试版(v0.2b1),Heka是一款拥有数据收集、分析、监视和报表的工具,采用 Go 语言开发。其主要组件为 hekad,一个适用于任何主机的轻量级守护程序,...

taohongfei
2013/05/03
4.6K
24
美国HEKA发布全球第一款人工智能床垫

原标题:美国HEKA发布全球第一款人工智能床垫   HEKA发布HEKA AI Mattress   近期,美国高端家具定制企业HEKA宣布推出全球第一款人工智能床垫——HEKA AI Mattress。这是一款“超越想象力...

羴羴君
2018/06/18
0
0
Mesos在去哪儿网的应用

Mesos在Qunar DevOps团队内部的应用。 平台介绍 我们是在今年的5月份开始调研并尝试使用Mesos,第一个试点就是我们的日志平台,我们将日志分析全部托管在Mesos平台上。日志平台面向业务线开发...

openthings
2015/12/18
169
1
android源码和eclipse编译项目分辨率问题

1.android源码默认没有编译hdpi资源 大多数情况我们做的应用eclipse开发编译,最后还剩要在源码下编译过达到工程化。但肯定很多朋友也遇到过这个问题: 源码编译出的apk显示出来和eclipse编译...

blackylin
2013/09/22
0
0

没有更多内容

加载失败,请刷新页面

加载更多

tac 与cat

tac从后往前看文件,结合grep使用

writeademo
32分钟前
2
0
表单中readonly和dsabled的区别

这两种写法都会使显示出来的文本框不能输入文字, 但disabled会使文本框变灰,而且通过通过表单提交时,获取不到文本框中的value值(如果有的话), 而readonly只是使文本框不能输入,外观没...

少年已不再年少
53分钟前
2
0
SpringBoot上传图片操作

首先有个上传文件的工具类 /** * 文件上传 * @param file * @param filePath * @param fileName * @throws Exception */public static void uploadFile(byte[] file, String ...

_liucui_
今天
6
0
DrawerLayout

public class MainActivity extends BaseActivity implements NavigationView.OnNavigationItemSelectedListener,OnFragmentInteractionListener{ public NavigationView navView; ......

安卓工程师王恒
今天
1
0
python精简笔记

python精简笔记-字符串基本用法 字符串常见用法: * encode() # 编码成bytes类型 * find() # 查找子串 * index() # 获取下标 * replace() # 替换子串 * len(string) # 返回字符串长度,...

平头哥-Enjoystudy
今天
1
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部