问题描述
我正在尝试在CentOS 6.10盒子上构建boost-166库(是的,我知道这是生命周期的尽头,但是我需要升级boost的应用服务器目前仅支持CentOS 6.x)。我正在使用devtoolset-9和python34(来自epel)。我已经完成了rpmbuild编译代码,没有任何错误。问题似乎出在实际自己构建rpm时。
我得到的错误是:-
Processing files: boost166-1.66.0-7.el6.x86_64
error: File must begin with "/": Boost
error: File must begin with "/": and
error: File must begin with "/": MIT
error: File must begin with "/": and
error: File must begin with "/": Python
RPM build errors:
File must begin with "/": Boost
File must begin with "/": and
File must begin with "/": MIT
File must begin with "/": and
File must begin with "/": Python
现在,没有任何具有这些名称的文件。这些名称出现的唯一位置是在“许可证”标签中:-
Name: boost166
Summary: The free peer-reviewed portable C++ source libraries
Version: 1.66.0
%global version_enc 1_66_0
Release: 7%{?dist}
License: Boost and MIT and Python
我从源rpm中获得了166版本,并且我一直在对其进行调整以使其在环境中构建。
我现在完全迷失了这个问题!我已经为此奋斗了好几天,没有找到解决办法的运气。
我不是.spec文件的专家,所以很有可能我更改了某些内容并且不知道。
.spec文件约为41K。我很乐意将其放在这里,但不知道最好的方法。
链接到规范文件:-https://www.dropbox.com/s/2tjg5wp39kjkpt5/boost166.spec.txt?dl=0
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)