2

当我按照指导在 CentOS 6.6 上构建 Apache mesos 时。但是有如下错误。

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

1 回答 1

4

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

我认为

yum install apr-util-devel

应该有帮助。

于 2015-01-10T15:32:45.027 回答