mesos主要由cpp、java编写,编译起来坑比较多。笔者记录下,自己源码编译遇到的一些问题。
安装 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 detailsyum install python-devel
Could not transfer artifact org.apache:apache:pom:11maven源的问题,需要根据自己情况来处理。比如
公司IDC环境是不能联通外网的,所以需要配置公司的maven源。机器可以上外网,可以选择阿里云的maven源可以尝试下docker部署