Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autogen.sh autoreconf ERROR #56

Open
francicco opened this issue Jun 27, 2020 · 1 comment
Open

autogen.sh autoreconf ERROR #56

francicco opened this issue Jun 27, 2020 · 1 comment

Comments

@francicco
Copy link

Hi,

I'm trying to compile the software, but the autogen.sh returns me this error:

autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4 ${ACLOCAL_FLAGS}
configure.ac:31: error: AC_INIT should be called with package and version arguments
/usr/share/aclocal-1.13/init.m4:23: AM_INIT_AUTOMAKE is expanded from...
configure.ac:31: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

How can I fix it?

Thanks
Francesco

@francicco
Copy link
Author

I passed that, but I'm getting some problems during the make. I get this:

  CXX      portcullis-portcullis.o
junction_filter.cc: In member function 'std::tuple<std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > portcullis::JunctionFilter::find_jsons(boost::filesystem::path)':
junction_filter.cc:106:62: error: 'begin' was not declared in this scope
     for (const auto & entry : bfs::directory_iterator(ruleset)) {
                                                              ^
junction_filter.cc:106:62: note: suggested alternatives:
In file included from /mnt/storage/easybuild/software/GCCcore/7.2.0/include/c++/7.2.0/string:51:0,
                 from /mnt/storage/easybuild/software/GCCcore/7.2.0/include/c++/7.2.0/bitset:47,
                 from /mnt/storage/easybuild/software/GCCcore/7.2.0/include/c++/7.2.0/regex:39,
                 from junction_filter.cc:21:
/mnt/storage/easybuild/software/GCCcore/7.2.0/include/c++/7.2.0/bits/range_access.h:87:5: note:   'std::begin'
     begin(_Tp (&__arr)[_Nm])
     ^~~~~
In file included from /usr/include/boost/algorithm/string/trim.hpp:16:0,
                 from /usr/include/boost/algorithm/string.hpp:19,
                 from junction_filter.cc:45:
/usr/include/boost/range/begin.hpp:112:61: note:   'boost::range_adl_barrier::begin'
 inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type begin( const T& r )
                                                             ^~~~~
In file included from /usr/include/boost/mpl/list/aux_/begin_end.hpp:17:0,
                 from /usr/include/boost/mpl/list/list0.hpp:27,
                 from /usr/include/boost/mpl/list/list10.hpp:18,
                 from /usr/include/boost/mpl/list/list20.hpp:18,
                 from /usr/include/boost/mpl/list.hpp:36,
                 from /usr/include/boost/math/policies/policy.hpp:9,
                 from /usr/include/boost/math/special_functions/math_fwd.hpp:28,
                 from /usr/include/boost/math/special_functions/sign.hpp:17,
                 from /usr/include/boost/lexical_cast.hpp:167,
                 from /usr/include/boost/program_options/value_semantic.hpp:14,
                 from /usr/include/boost/program_options/options_description.hpp:13,
                 from /usr/include/boost/program_options.hpp:15,
                 from junction_filter.cc:47:
/usr/include/boost/mpl/begin_end_fwd.hpp:22:38: note:   'boost::mpl::begin'
 template< typename Sequence > struct begin;
                                      ^~~~~
In file included from /usr/include/boost/algorithm/string/trim.hpp:16:0,
                 from /usr/include/boost/algorithm/string.hpp:19,
                 from junction_filter.cc:45:
/usr/include/boost/range/begin.hpp:112:61: note:   'boost::range_adl_barrier::begin'
 inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type begin( const T& r )
                                                             ^~~~~
junction_filter.cc:106:62: error: 'end' was not declared in this scope
     for (const auto & entry : bfs::directory_iterator(ruleset)) {
                                                              ^
junction_filter.cc:106:62: note: suggested alternatives:
In file included from /mnt/storage/easybuild/software/GCCcore/7.2.0/include/c++/7.2.0/string:51:0,
                 from /mnt/storage/easybuild/software/GCCcore/7.2.0/include/c++/7.2.0/bitset:47,
                 from /mnt/storage/easybuild/software/GCCcore/7.2.0/include/c++/7.2.0/regex:39,
                 from junction_filter.cc:21:
/mnt/storage/easybuild/software/GCCcore/7.2.0/include/c++/7.2.0/bits/range_access.h:97:5: note:   'std::end'
     end(_Tp (&__arr)[_Nm])
     ^~~
In file included from /usr/include/boost/algorithm/string/trim.hpp:17:0,
                 from /usr/include/boost/algorithm/string.hpp:19,
                 from junction_filter.cc:45:
/usr/include/boost/range/end.hpp:106:61: note:   'boost::range_adl_barrier::end'
 inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type end( const T& r )
                                                             ^~~
In file included from /usr/include/boost/mpl/list/aux_/begin_end.hpp:17:0,
                 from /usr/include/boost/mpl/list/list0.hpp:27,
                 from /usr/include/boost/mpl/list/list10.hpp:18,
                 from /usr/include/boost/mpl/list/list20.hpp:18,
                 from /usr/include/boost/mpl/list.hpp:36,
                 from /usr/include/boost/math/policies/policy.hpp:9,
                 from /usr/include/boost/math/special_functions/math_fwd.hpp:28,
                 from /usr/include/boost/math/special_functions/sign.hpp:17,
                 from /usr/include/boost/lexical_cast.hpp:167,
                 from /usr/include/boost/program_options/value_semantic.hpp:14,
                 from /usr/include/boost/program_options/options_description.hpp:13,
                 from /usr/include/boost/program_options.hpp:15,
                 from junction_filter.cc:47:
/usr/include/boost/mpl/begin_end_fwd.hpp:23:38: note:   'boost::mpl::end'
 template< typename Sequence > struct end;
                                      ^~~
In file included from /usr/include/boost/algorithm/string/trim.hpp:17:0,
                 from /usr/include/boost/algorithm/string.hpp:19,
                 from junction_filter.cc:45:
/usr/include/boost/range/end.hpp:106:61: note:   'boost::range_adl_barrier::end'
 inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type end( const T& r )
                                                             ^~~
make[2]: *** [portcullis-junction_filter.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/mnt/storage/scratch/tk19812/software/portcullis/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/storage/scratch/tk19812/software/portcullis'
make: *** [all] Error 2

What am I missing?
Cheers
F

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant