构建mesos时有关于libtool的错误

时间:2015-01-10 12:09:30

标签: linux mesos

当我在CentOS 6.6上构建Apache mesos作为guided时。但是有一个错误如下。

/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
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

1 个答案:

答案 0 :(得分:4)

您必须为此程序包安装所有必需的开发库。在这条消息中,它抱怨缺乏apr-util-devel。

我认为

  

yum install apr-util-devel

应该有帮助。