安装 gapfiller-2.1.1

安装 gapfiller-2.1.1

大家好,我正在尝试编译 gapfiller-2.1.1。按照自述文件进行操作

$ ./configure  

运行并出现错误:

configure: error: cannot find Boost headers version >= 1.40.0 

Make 不起作用。查看帖子后,我尝试了以下操作:

$ ./configure LIBS="-lz" 
$ ./configure 

错误:

checking how to hardcode library paths into programs... immediate 
checking for Boost headers version >= 1.40.0... no 
configure: error: cannot find Boost headers version >= 1.40.0 

更多帖子尝试:

$ sudo apt-get install gcc-multilib 

仍然错误。尝试:

$ ./autoconfig 
$ sudo apt-get install libboost-all-dev 
$ sudo apt-get install build-essential 

收到新的错误:

checking for Boost headers version >= 1.40.0... yes 
checking for Boost's header version...  
configure: error: invalid value: boost_major_version= 

通过查看其他帖子我尝试:

$ cat configure | grep "boost_cv_lib_version=" 

得到:

boost_cv_lib_version=`cat conftest.i` 

然后尝试:

$ dpkg -s libboost-dev | grep 'Version' 

得到:

Version: 1.58.0.1ubuntu1 

我猜我需要在编译代码中将 boost_major_version 更改为这个?

fi 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_version" >&5 
$as_echo "$boost_cv_lib_version" >&6; } 
    # e.g. "134" for 1_34_1 or "135" for 1_35 
    boost_major_version=`echo "$boost_cv_lib_version" | sed 's/_//;s/_.*//'` 
    case $boost_major_version in #( 
      '' | *[!0-9]*) 
        as_fn_error $? "invalid value: boost_major_version=$boost_major_version" "$LINENO" 5 
        ;; 
    esac 
fi 

但不确定怎么做?这听起来对吗?有什么建议吗?

相关内容