Menu

Defuse Installation error : while running 'make' command

NAMAN
2014-07-09
2014-07-16
  • NAMAN

    NAMAN - 2014-07-09

    Hello Everyone !!

    I have downloaded the defuse-0.6.2 version, I decompressed it.
    While running 'make' command inside the tools folder, It is giving the below error:

    =================================================================================
    tools]# make
    g++ -O3 -g -DDEBUG_CHECKS -I. -I../include -I../external/samtools-0.1.8 -I../external/zlib-1.2.5 -I../external/BamTools-2.0/ -I../external/BamTools-2.0/api -c -o initsplitalign.o initsplitalign.cpp
    In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_algobase.h:66,
    from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/vector:61,
    from Common.h:13,
    from initsplitalign.cpp:8:
    /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_pair.h: In instantiation of ‘std::pair<const int,="" splitalignment="">’:
    /usr/include/boost/unordered/detail/fwd.hpp:182: instantiated from ‘boost::unordered_detail::value_base<std::pair\<const int,="" splitalignment=""> >’
    /usr/include/boost/unordered/detail/fwd.hpp:198: instantiated from ‘boost::unordered_detail::hash_node<std::allocator\<std::pair\<const int,="" splitalignment=""> >, boost::unordered_detail::ungrouped>’
    /usr/include/boost/unordered/detail/fwd.hpp:217: instantiated from ‘boost::unordered_detail::hash_iterator_base<std::allocator\<std::pair\<const int,="" splitalignment=""> >, boost::unordered_detail::ungrouped>’
    /usr/include/boost/unordered/detail/fwd.hpp:275: instantiated from ‘boost::unordered_detail::hash_buckets<std::allocator\<std::pair\<const int,="" splitalignment=""> >, boost::unordered_detail::ungrouped>’
    /usr/include/boost/unordered/detail/fwd.hpp:437: instantiated from ‘boost::unordered_detail::hash_table<boost::hash\<int>, std::equal_to\<int>, std::allocator\<std::pair\<const int,="" splitalignment=""> >, boost::unordered_detail::ungrouped, boost::unordered_detail::map_extractor>’
    /usr/include/boost/unordered/detail/fwd.hpp:576: instantiated from ‘boost::unordered_detail::hash_unique_table<boost::hash\<int>, std::equal_to\<int>, std::allocator\<std::pair\<const int,="" splitalignment=""> >, boost::unordered_detail::map_extractor>’
    /usr/include/boost/unordered/unordered_map.hpp:64: instantiated from ‘boost::unordered_map<int, splitalignment,="" boost::hash\<int="">, std::equal_to\<int>, std::allocator\<std::pair\<const int,="" splitalignment=""> > >’
    SplitAlignment.h:27: instantiated from here
    /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_pair.h:73: error: ‘std::pair<_T1, _T2>::second’ has incomplete type
    SplitAlignment.h:24: error: forward declaration of ‘class SplitAlignment’
    In file included from /usr/include/boost/unordered_map.hpp:16,
    from Common.h:14,
    from initsplitalign.cpp:8:
    /usr/include/boost/unordered/unordered_map.hpp: In member function ‘T& boost::unordered_map<key, t,="" hash,="" pred,="" alloc="">::operator [with Key = int, T = SplitAlignment, Hash = boost::hash<int>, Pred = std::equal_to<int>, Alloc = std::allocator<std::pair\<const int,="" splitalignment=""> >]</std::pair\<const></int></int>’:
    initsplitalign.cpp💯 instantiated from here
    /usr/include/boost/unordered/unordered_map.hpp:392: error: ‘struct std::pair<const int,="" splitalignment="">’ has no member named ‘second’
    In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_algobase.h:66,
    from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/vector:61,
    from Common.h:13,
    from initsplitalign.cpp:8:
    /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_pair.h: In constructor ‘std::pair<_T1, _T2>::pair(const _T1&, const _T2&) [with _T1 = const int, _T2 = SplitAlignment]’:
    /usr/include/boost/unordered/detail/util.hpp:260: instantiated from ‘void boost::unordered_detail::hash_node_constructor<alloc, grouped="">::construct_pair(const K&, M*) [with K = int, M = boost::unordered_detail::hash_unique_table<h, p,="" a,="" k="">::operator [with H = boost::hash<int>, P = std::equal_to<int>, A = std::allocator<std::pair\<const int,="" splitalignment=""> >, K = boost::unordered_detail::map_extractor]</std::pair\<const></int></int>::mapped_type, Alloc = std::allocator<std::pair\<const int,="" splitalignment=""> >, Grouped = boost::unordered_detail::ungrouped]</std::pair\<const></h,>
    /usr/include/boost/unordered/detail/unique.hpp:75: instantiated from ‘typename boost::unordered_detail::hash_unique_table<h, p,="" a,="" k="">::value_type& boost::unordered_detail::hash_unique_table<h, p,="" a,="" k="">::operator [with H = boost::hash<int>, P = std::equal_to<int>, A = std::allocator<std::pair\<const int,="" splitalignment=""> >, K = boost::unordered_detail::map_extractor]</std::pair\<const></int></int>
    /usr/include/boost/unordered/unordered_map.hpp:392: instantiated from ‘T& boost::unordered_map<key, t,="" hash,="" pred,="" alloc="">::operator [with Key = int, T = SplitAlignment, Hash = boost::hash<int>, Pred = std::equal_to<int>, Alloc = std::allocator<std::pair\<const int,="" splitalignment=""> >]</std::pair\<const></int></int>
    initsplitalign.cpp💯 instantiated from here
    /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_pair.h:84: error: using invalid field ‘std::pair<_T1, _T2>::second’
    make: *** [initsplitalign.o] Error 1 </key,></h,></h,></alloc,></const></key,></std::pair\<const></int></int,></std::pair\<const></int></boost::hash\<int></std::pair\<const></int></boost::hash\<int></std::allocator\<std::pair\<const></std::allocator\<std::pair\<const></std::allocator\<std::pair\<const></std::pair\<const></const>

    =================================================================================

    What is the issue ?
    Can anyone tell me, how can I solve it to install the DeFuse ?

    Thanx in Advance,
    Neo

     
    • mlk13

      mlk13 - 2014-07-11

      Exactly the same error here.

       
  • Andrew

    Andrew - 2014-07-11

    What version of boost are you using?

     
  • mlk13

    mlk13 - 2014-07-16

    Version 1.41.0 (which is what you get when you install/update boost on RHEL from standard repo).

    Just found that compilation works fine with version 1.55. Thank you.

     

    Last edit: mlk13 2014-07-16

Log in to post a comment.

MongoDB Logo MongoDB