文档章节

源码编译heka遇到的问题

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


© 著作权归作者所有

共有 人打赏支持
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.5K
24
美国HEKA发布全球第一款人工智能床垫

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

羴羴君
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

没有更多内容

加载失败,请刷新页面

加载更多

下一页

OSChina 周三乱弹 —— 公司女同事约我

Osc乱弹歌单(2018)请戳(这里) 【今日歌曲】 @莱布妮子:分享水木年华的单曲《蝴蝶花(2002年大提琴版)》 《蝴蝶花(2002年大提琴版)》- 水木年华 手机党少年们想听歌,请使劲儿戳(这里) ...

小小编辑
10分钟前
28
7
Linux环境搭建 | VMware下共享文件夹的实现

在进行程序开发的过程中,我们经常要在主机与虚拟机之间传递文件,比如说,源代码位于虚拟机,而在主机下阅读或修改源代码,这里就需要使用到 「共享文件」 这个机制了。本文介绍了两种共享文...

良许Linux
今天
5
0
JUC锁框架——AQS源码分析

JUC锁介绍 Java的并发框架JUC(java.util.concurrent)中锁是最重要的一个工具。因为锁,才能实现正确的并发访问。而AbstractQueuedSynchronizer(AQS)是一个用来构建锁和同步器的框架,使用A...

长头发-dawn
今天
3
0
docker中安装了RabbitMQ后无法访问其Web管理页面

在官网找了"$ docker run -d --hostname my-rabbit --name some-rabbit -p 8080:15672 rabbitmq:3-management"这条安装命令,在docker上安装了RabbitMQ,,结果输入http://localhost:8080并不......

钟然千落
今天
4
1
spring-cloud | 分布式session共享

写在前面的话 各位小伙伴,你们有福了,这一节不仅教大家怎么实现分布式session的问题,还用kotlin开发,喜欢kotlin的小伙伴是不是很开心! 以前在写Android的时候,就对客户端请求有一定的认...

冯文议
今天
3
0

没有更多内容

加载失败,请刷新页面

加载更多

下一页

返回顶部
顶部