Установка SYNAPPS: "make" не показывал рецепт для цели
Я новичок в Ubuntu. Я пытаюсь установить SYNAPPS, который является кодом спектрального синтеза сверхновой. Все необходимые зависимости установлены. ./configure не показывал никакой ошибки. Но make Команда показывает некоторые:
~/Desktop/SYNAPPS/All/es-0.98.1$ make
make all-recursive
make[1]: Entering directory '/home/niranjan/Desktop/SYNAPPS/All/es-0.98.1'
Making all in external
make[2]: Entering directory '/home/niranjan/Desktop/SYNAPPS/All/es-0.98.1/external'
Making all in yaml
make[3]: Entering directory '/home/niranjan/Desktop/SYNAPPS/All/es-0.98.1/external/yaml'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/niranjan/Desktop/SYNAPPS/All/es-0.98.1/external/yaml'
make[3]: Entering directory '/home/niranjan/Desktop/SYNAPPS/All/es-0.98.1/external'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/niranjan/Desktop/SYNAPPS/All/es-0.98.1/external'
make[2]: Leaving directory '/home/niranjan/Desktop/SYNAPPS/All/es-0.98.1/external'
Making all in src
make[2]: Entering directory '/home/niranjan/Desktop/SYNAPPS/All/es-0.98.1/src'
Making all in libes
make[3]: Entering directory '/home/niranjan/Desktop/SYNAPPS/All/es-0.98.1/src/libes'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/niranjan/Desktop/SYNAPPS/All/es-0.98.1/src/libes'
Making all in syn++
make[3]: Entering directory '/home/niranjan/Desktop/SYNAPPS/All/es-0.98.1/src/syn++'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/niranjan/Desktop/SYNAPPS/All/es-0.98.1/src/syn++'
Making all in synapps
make[3]: Entering directory '/home/niranjan/Desktop/SYNAPPS/All/es-0.98.1/src/synapps'
/bin/bash ../../libtool --tag=CXX --mode=compile mpic++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/libes -I../../src/synapps -I../../external/yaml -fopenmp -O3 -MT libesapps_la-ES_Synapps_Config.lo -MD -MP -MF .deps/libesapps_la-ES_Synapps_Config.Tpo -c -o libesapps_la-ES_Synapps_Config.lo `test -f 'ES_Synapps_Config.cc' || echo './'`ES_Synapps_Config.cc
libtool: compile: mpic++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/libes -I../../src/synapps -I../../external/yaml -fopenmp -O3 -MT libesapps_la-ES_Synapps_Config.lo -MD -MP -MF .deps/libesapps_la-ES_Synapps_Config.Tpo -c ES_Synapps_Config.cc -fPIC -DPIC -o .libs/libesapps_la-ES_Synapps_Config.o
In file included from ../../external/yaml/yaml-cpp/parser.h:7:0,
from ../../external/yaml/yaml-cpp/yaml.h:8,
from ES_Synapps_Config.cc:34:
../../external/yaml/yaml-cpp/node.h:34:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Node> Clone() const;
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /usr/local/include/appspack/APPSPACK_Common.hpp:61,
from /usr/local/include/appspack/APPSPACK_Parameter_List.hpp:41,
from ES_Synapps_Config.hh:31,
from ES_Synapps_Config.cc:28:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from ../../external/yaml/yaml-cpp/yaml.h:8:0,
from ES_Synapps_Config.cc:34:
../../external/yaml/yaml-cpp/parser.h:41:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<Scanner> m_pScanner;
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /usr/local/include/appspack/APPSPACK_Common.hpp:61,
from /usr/local/include/appspack/APPSPACK_Parameter_List.hpp:41,
from ES_Synapps_Config.hh:31,
from ES_Synapps_Config.cc:28:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from ../../external/yaml/yaml-cpp/yaml.h:11:0,
from ES_Synapps_Config.cc:34:
../../external/yaml/yaml-cpp/emitter.h:75:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr <EmitterState> m_pState;
^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
from /usr/include/c++/7/locale:43,
from /usr/include/c++/7/iomanip:43,
from /usr/local/include/appspack/APPSPACK_Common.hpp:61,
from /usr/local/include/appspack/APPSPACK_Parameter_List.hpp:41,
from ES_Synapps_Config.hh:31,
from ES_Synapps_Config.cc:28:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
ES_Synapps_Config.cc: In constructor ‘ES::Synapps::Config::Config(const YAML::Node&)’:
ES_Synapps_Config.cc:252:44: error: call of overloaded ‘insert(const YAML::Node&)’ is ambiguous
done.insert( config[ "ions" ][ i ] );
^
In file included from /usr/include/c++/7/set:61:0,
from ES_Synapps_Config.cc:36:
/usr/include/c++/7/bits/stl_set.h:499:7: note: candidate: std::pair<typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::insert(const value_type&) [with _Key = int; _Compare = std::less<int>; _Alloc = std::allocator<int>; typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator = std::_Rb_tree_const_iterator<int>; std::set<_Key, _Compare, _Alloc>::value_type = int]
insert(const value_type& __x)
^~~~~~
/usr/include/c++/7/bits/stl_set.h:508:7: note: candidate: std::pair<typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::insert(std::set<_Key, _Compare, _Alloc>::value_type&&) [with _Key = int; _Compare = std::less<int>; _Alloc = std::allocator<int>; typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator = std::_Rb_tree_const_iterator<int>; std::set<_Key, _Compare, _Alloc>::value_type = int]
insert(value_type&& __x)
^~~~~~
/usr/include/c++/7/bits/stl_set.h:568:7: note: candidate: void std::set<_Key, _Compare, _Alloc>::insert(std::initializer_list<_Tp>) [with _Key = int; _Compare = std::less<int>; _Alloc = std::allocator<int>]
insert(initializer_list<value_type> __l)
^~~~~~
Makefile:559: recipe for target 'libesapps_la-ES_Synapps_Config.lo' failed
make[3]: *** [libesapps_la-ES_Synapps_Config.lo] Error 1
make[3]: Leaving directory '/home/niranjan/Desktop/SYNAPPS/All/es-0.98.1/src/synapps'
Makefile:398: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/niranjan/Desktop/SYNAPPS/All/es-0.98.1/src'
Makefile:443: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/niranjan/Desktop/SYNAPPS/All/es-0.98.1'
Makefile:375: recipe for target 'all' failed
make: *** [all] Error 2
Как я могу решить эту проблему? Может кто-нибудь, пожалуйста, помогите?