mesos编译遇到的一些坑

前言

mesos主要由cpp、java编写,编译起来坑比较多。笔者记录下,自己源码编译遇到的一些问题。

填坑

 libcurl is required for mesos to build.

安装 libcurl-devel

libapr-1 is required for mesos to build

安装apr-devel-1.3.9-3.el6.x86_64

libsubversion-1 is required for mesos to build.
# 处理方法
yum install subversion
yum install subversion-javahl
yum install subversion-devel
We need CRAM-MD5 support for SASL authentication.
yum install cyrus-sasl-md5
configure: error: in `/data/mesos/mesos-0.28.0/build':
configure: error: 
  Could not link test program to Python. Maybe the main Python library has been
  installed in some non-standard library path. If so, pass it to configure,
  via the LDFLAGS environment variable.
  Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
  ============================================================================
   ERROR!
   You probably have to install the development version of the Python package
   for your distribution.  The exact name of this package varies among them.
  ============================================================================

See `config.log' for more details

yum install python-devel

Could not transfer artifact org.apache:apache:pom:11

maven源的问题,需要根据自己情况来处理。比如

  • 公司IDC环境是不能联通外网的,所以需要配置公司的maven源。
  • 机器可以上外网,可以选择阿里云的maven源

后记

可以尝试下docker部署

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值