0 0

在CentOS6.6下编译mesos时出错5

我在centOS6.6下进行安装Mesos,按照http://mesos.apache.org/gettingstarted/的步骤安装。
在尝试了mesos-0.20.1.tar.gz和mesos-0.21.1.tar.gz都有一下编译失败。
make[6]: *** [libry_http_parser.la] Error 1
make[6]: Leaving directory `/home/vagrant/mesos-0.21.1/build/3rdparty/libprocess/3rdparty'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/vagrant/mesos-0.21.1/build/3rdparty/libprocess/3rdparty'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/vagrant/mesos-0.21.1/build/3rdparty/libprocess/3rdparty'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/vagrant/mesos-0.21.1/build/3rdparty/libprocess'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/vagrant/mesos-0.21.1/build/3rdparty'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/vagrant/mesos-0.21.1/build/3rdparty'
make: *** [all-recursive] Error 1

问题补充:我看到还有这些错误信息
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g1 -O0   -o libry_http_parser.la  libry_http_parser_la-http_parser.lo  -lz -lcurl -lsvn_delta-1 -lsvn_subr-1 -lapr-1  -lrt
/bin/grep: /usr/lib64/libaprutil-1.la: No such file or directory
/bin/sed: can't read /usr/lib64/libaprutil-1.la: No such file or directory
libtool: link: `/usr/lib64/libaprutil-1.la' is not a valid libtool archive

问题补充:我已经找到答案了,安装apr-util-devel就好了,不过后面还是出了一个问题,是因为内存不够,所以扩大了一下内存,之后还有一个错误,应该是java的问题。

继续请教大家。。
Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher
make[1]: *** [java/target/mesos-0.20.1.jar] Error 1
make[1]: Leaving directory `/home/vagrant/mesos-0.20.1/build/src'
make: *** [all-recursive] Error 1

我已经设置了java home path class library 环境变量

问题补充:问题已经解决,是因为M2_HOME没有设置的原因。
2015年1月10日 13:59
目前还没有答案

相关推荐

Global site tag (gtag.js) - Google Analytics