如何修改MakeFiles以允许正确安装?

时间:2019-04-24 06:11:08

标签: makefile debian bioinformatics

这是我在这里的第一篇文章,因此如有任何错误,请原谅我:)

我最近尝试在终端中使用两个生物信息软件包,并最近尝试使用以下命令安装它们:

  

进行安装

这导致安装错误!

在其他网站上,我使用

阅读了有关此问题的建议
  

conda卸载libtiff

但这不起作用。 我发现问题出在makefile中。我不确定如何在不中断系统的情况下进一步解决此问题。关于如何进行有什么建议吗?

root@debian:/home/jonathan7/diamond-0.8.38/bin# cmake ..
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jonathan7/diamond-0.8.38/bin
root@debian:/home/jonathan7/diamond-0.8.38/bin# make install
[  1%] Linking CXX executable diamond
/usr/bin/ld: CMakeFiles/diamond.dir/src/dp/greedy_align.cpp.o: in function `greedy_align(sequence, Long_score_profile const&, Bias_correction const&, sequence, __gnu_cxx::__normal_iterator<Seed_hit const*, std::vector<Seed_hit, std::allocator<Seed_hit> > >, __gnu_cxx::__normal_iterator<Seed_hit const*, std::vector<Seed_hit, std::allocator<Seed_hit> > >, bool, Hsp_data&, Hsp_traits&)':
greedy_align.cpp:(.text+0x36d9): undefined reference to `Fixed_score_buffer<int> const& needleman_wunsch<int, Local>(sequence, sequence, int&, Local const&, int const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/diamond.dir/build.make:910: diamond] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/diamond.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
root@debian:/home/jonathan7/diamond-0.8.38/bin# make install
[  1%] Linking CXX executable diamond
/usr/bin/ld: CMakeFiles/diamond.dir/src/dp/greedy_align.cpp.o: in function `greedy_align(sequence, Long_score_profile const&, Bias_correction const&, sequence, __gnu_cxx::__normal_iterator<Seed_hit const*, std::vector<Seed_hit, std::allocator<Seed_hit> > >, __gnu_cxx::__normal_iterator<Seed_hit const*, std::vector<Seed_hit, std::allocator<Seed_hit> > >, bool, Hsp_data&, Hsp_traits&)':
greedy_align.cpp:(.text+0x36d9): undefined reference to `Fixed_score_buffer<int> const& needleman_wunsch<int, Local>(sequence, sequence, int&, Local const&, int const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/diamond.dir/build.make:910: diamond] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/diamond.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

总体而言,我想我不仅需要针对此安装,还需要针对依赖于此输入的其他软件包来修复make文件。

感谢您的帮助或建议!

0 个答案:

没有答案