Dear All

I'm new in ALPS, and want install it on ubuntu 21.04, but there are some problems in the installation procedure. Would you please help me to solve this problem and install ALPS correctly?! This is the complete error I have gotten:

In file included from /home/fheydari/alps/src/alps/alea/histogrameval.h:36,
                 from /home/fheydari/alps/src/alps/alea/observablefactory.C:38:
/home/fheydari/alps/src/alps/alea/histogram.h: In member function ‘alps::HistogramObservable<T>::const_iterator alps::HistogramObservable<T>::rbegin() const’:
/home/fheydari/alps/src/alps/alea/histogram.h:88:59: error: could not convert ‘((const alps::HistogramObservable<T>*)this)->alps::HistogramObservable<T>::histogram_.std::vector<unsigned int>::rbegin()’ from ‘std::vector<unsigned int>::reverse_iterator’ {aka ‘std::reverse_iterator<__gnu_cxx::__normal_iterator<unsigned int*, std::vector<unsigned int> > >’} to ‘alps::HistogramObservable<T>::const_iterator’ {aka ‘std::vector<unsigned int>::const_iterator’}
   88 |   const_iterator rbegin() const { return histogram_.rbegin();}
      |                                          ~~~~~~~~~~~~~~~~~^~
      |                                                           |
      |                                                           std::vector<unsigned int>::reverse_iterator {aka std::reverse_iterator<__gnu_cxx::__normal_iterator<unsigned int*, std::vector<unsigned int> > >}
/home/fheydari/alps/src/alps/alea/histogram.h: In member function ‘alps::HistogramObservable<T>::const_iterator alps::HistogramObservable<T>::rend() const’:
/home/fheydari/alps/src/alps/alea/histogram.h:90:55: error: could not convert ‘((const alps::HistogramObservable<T>*)this)->alps::HistogramObservable<T>::histogram_.std::vector<unsigned int>::rend()’ from ‘std::vector<unsigned int>::reverse_iterator’ {aka ‘std::reverse_iterator<__gnu_cxx::__normal_iterator<unsigned int*, std::vector<unsigned int> > >’} to ‘alps::HistogramObservable<T>::const_iterator’ {aka ‘std::vector<unsigned int>::const_iterator’}
   90 |   const_iterator rend() const { return histogram_.rend();}
      |                                        ~~~~~~~~~~~~~~~^~
      |                                                       |
      |                                                       std::vector<unsigned int>::reverse_iterator {aka std::reverse_iterator<__gnu_cxx::__normal_iterator<unsigned int*, std::vector<unsigned int> > >}
make[2]: *** [src/alps/CMakeFiles/alps.dir/build.make:173: src/alps/CMakeFiles/alps.dir/alea/observablefactory.C.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2758: src/alps/CMakeFiles/alps.dir/all] Error 2
make: *** [Makefile:182: all] Error 2




Sincerely yours,
Fateme


--
Fateme Heydari-Nasab, Ph.D.
University of Sistan and Baluchestan
University Blvd, Zahedan, Iran
PoBox: 98155-987
Tel: +98-54-31136391
           fatiheydaree@gmail.com