Difference between revisions of "Aptitude"

From Wiki at Neela Nurseries
Jump to: navigation, search
m
m
Line 6: Line 6:
 
*  https://stackoverflow.com/questions/24609271/errormake-unique-is-not-a-member-of-std?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
 
*  https://stackoverflow.com/questions/24609271/errormake-unique-is-not-a-member-of-std?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
 
*  https://wiki.debian.org/GCC5
 
*  https://wiki.debian.org/GCC5
 +
 +
Several subdirs and each has a makefile:
 +
<pre>
 +
veris@duriyaan:~/Downloads/debian/aptitude-0.8.10$ make
 +
make  all-recursive
 +
make[1]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10'
 +
Making all in buildlib
 +
make[2]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10/buildlib'
 +
make[2]: Nothing to be done for 'all'.
 +
make[2]: Leaving directory '/home/veris/Downloads/debian/aptitude-0.8.10/buildlib'
 +
Making all in src
 +
make[2]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10/src'
 +
Making all in generic
 +
make[3]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic'
 +
Making all in util
 +
make[4]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/util'
 +
Making all in mocks
 +
make[5]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/util/mocks'
 +
make[5]: Nothing to be done for 'all'.
 +
make[5]: Leaving directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/util/mocks'
 +
make[5]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/util'
 +
make[5]: Nothing to be done for 'all-am'.
 +
make[5]: Leaving directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/util'
 +
make[4]: Leaving directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/util'
 +
Making all in apt
 +
make[4]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/apt'
 +
Making all in history
 +
make[5]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/apt/history'
 +
make[5]: Nothing to be done for 'all'.
 +
make[5]: Leaving directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/apt/history'
 +
Making all in matching
 +
make[5]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/apt/matching'
 +
make[5]: Nothing to be done for 'all'.
 +
make[5]: Leaving directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/apt/matching'
 +
make[5]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/apt'
 +
g++ -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../../..  -I../../.. -I. -I../../.. -I../../../src -I/usr/include  -DHELPDIR=\"/usr/local/share/aptitude\" -DPKGDATADIR=\"/usr/local/share/aptitude\" -std=c++11  -I/usr/include/sigc++-2.0 -I/usr/lib/i386-linux-gnu/sigc++-2.0/include -I/usr/lib/i386-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/i386-linux-gnu/sigc++-2.0/include    -g -O2 -D_REENTRANT -Wall  -MT apt.o -MD -MP -MF .deps/apt.Tpo -c -o apt.o apt.cc
 +
apt.cc: In function â:
 +
apt.cc:1710:28: error: â is not a member of â
 +
      internal_fetchinfo = std::make_unique<pkgAcquire_fetch_info>(f);
 +
                            ^
 +
apt.cc:1710:66: error: expected primary-expression before â token
 +
      internal_fetchinfo = std::make_unique<pkgAcquire_fetch_info>(f);
 +
                                                                  ^
 +
apt.cc: In function â:
 +
apt.cc:1724:9: error: â is not a member of â
 +
  return std::make_unique<pkgAcquire_fetch_info>(*internal_fetchinfo);
 +
</pre>
  
  
  
 
<!-- comment -->
 
<!-- comment -->

Revision as of 19:58, 2 April 2018


Trying to build aptitude from sources on a three-year old Debian host . . . g++ complains that 'make_unique' not a member of std

Several subdirs and each has a makefile:

veris@duriyaan:~/Downloads/debian/aptitude-0.8.10$ make
make  all-recursive
make[1]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10'
Making all in buildlib
make[2]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10/buildlib'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/veris/Downloads/debian/aptitude-0.8.10/buildlib'
Making all in src
make[2]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10/src'
Making all in generic
make[3]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic'
Making all in util
make[4]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/util'
Making all in mocks
make[5]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/util/mocks'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/util/mocks'
make[5]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/util'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/util'
make[4]: Leaving directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/util'
Making all in apt
make[4]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/apt'
Making all in history
make[5]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/apt/history'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/apt/history'
Making all in matching
make[5]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/apt/matching'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/apt/matching'
make[5]: Entering directory '/home/veris/Downloads/debian/aptitude-0.8.10/src/generic/apt'
g++ -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../../..  -I../../.. -I. -I../../.. -I../../../src -I/usr/include  -DHELPDIR=\"/usr/local/share/aptitude\" -DPKGDATADIR=\"/usr/local/share/aptitude\" -std=c++11  -I/usr/include/sigc++-2.0 -I/usr/lib/i386-linux-gnu/sigc++-2.0/include -I/usr/lib/i386-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/i386-linux-gnu/sigc++-2.0/include    -g -O2 -D_REENTRANT -Wall  -MT apt.o -MD -MP -MF .deps/apt.Tpo -c -o apt.o apt.cc
apt.cc: In function â:
apt.cc:1710:28: error: â is not a member of â
       internal_fetchinfo = std::make_unique<pkgAcquire_fetch_info>(f);
                            ^
apt.cc:1710:66: error: expected primary-expression before â token
       internal_fetchinfo = std::make_unique<pkgAcquire_fetch_info>(f);
                                                                  ^
apt.cc: In function â:
apt.cc:1724:9: error: â is not a member of â
  return std::make_unique<pkgAcquire_fetch_info>(*internal_fetchinfo);