文档章节

源码编译heka遇到的问题

v
 vance928
发布于 2015/10/10 14:58
字数 559
阅读 42
收藏 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

没有更多内容

加载失败,请刷新页面

加载更多

rabbitmq

灰暗
26分钟前
0
0
Flink

flink HA部署 flink搭建,采用分布式部署方式,分别为A,B,C三个节点。其中A为master;A,B,C为worker。 本文使用的用户是hadoop用户(自己新建) 先决条件 Java 1.8.x or higher scala 自己使用...

-九天-
53分钟前
1
0
数据中台和传统数仓的区别

中台系统把业务层同性的算法能力,服务能力,业务能力高度集成,有效组织 ,动态规划。更好的帮助上层业务。 今天就让我们看看关于数据中台的问答吧。 1 Q : 什么是数据中台? A : 数据中台是...

hblt-j
54分钟前
4
0
Java在什么时候会出现内存泄漏

在Java中,内存泄漏就是存在一些被分配的对象,这些对象有下面两个特点,首先,这些对象是可达的,即在有向图中,存在通路可以与其相连;其次,这些对象是无用的,即程序以后不会再使用这些对...

群星纪元
57分钟前
2
0
android 打开摄像头

private SurfaceHolder mHolder; private SurfaceView mSurfaceView; private Camera mCamera; mSurfaceView = (SurfaceView) this.findViewById(R.id.camsurfaceView1); mHolder = mSurface......

jingshishengxu
今天
2
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部