How to install grantlee
Hi All, day after day Crux becomes more perfect. Everything runs flawlessly as far as the base system and X are installed. However, when I go further, i.e. installing plasma 5 (kde5 repository), many difficulties do appear. The problems of not missing dependences are easily resolved, but many packages cannot be installed: first of all grantlee, that seems very important since it is requested by many packages. Everything seems OK, anyhow the building process exits with many errors. This is the most important part of what I get: # pkgmk -d -i =======> Building '/home/pkgmk/packages/grantlee#5.1.0-1.pkg.tar.gz'. bsdtar -p -o -C /home/pkgmk/work/grantlee/src -xf /home/pkgmk/distfiles/grantlee-5.1.0.tar.gz + build + mkdir build + cd build + cmake ../grantlee-5.1.0 -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTS=OFF -- The C compiler identification is GNU 8.3.0 -- The CXX compiler identification is GNU 8.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Could NOT find LCov (missing: LCOV_EXECUTABLE GENHTML_EXECUTABLE) -- Could NOT find Cccc (missing: CCCC_EXECUTABLE) -- Configuring done -- Generating done -- Build files have been written to: /home/pkgmk/work/grantlee/src/build + make Scanning dependencies of target Grantlee_Templates_autogen [ 1%] Automatic MOC for target Grantlee_Templates [ 1%] Built target Grantlee_Templates_autogen Scanning dependencies of target Grantlee_Templates [ 2%] Building CXX object templates/lib/CMakeFiles/Grantlee_Templates.dir/Grantlee_Templates_autogen/mocs_compilation.cpp.o In file included from /usr/include/c++/8.3.0/type_traits:35, from /usr/include/qt5/QtCore/qglobal.h:45, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /home/pkgmk/work/grantlee/src/grantlee-5.1.0/templates/lib/exception.h:26, from /home/pkgmk/work/grantlee/src/grantlee-5.1.0/templates/lib/template.h:24, from /home/pkgmk/work/grantlee/src/grantlee-5.1.0/templates/lib/engine.h:24, from /home/pkgmk/work/grantlee/src/build/templates/lib/Grantlee_Templates_autogen/EWIEGA46WW/moc_engine.cpp:10, from /home/pkgmk/work/grantlee/src/build/templates/lib/Grantlee_Templates_autogen/mocs_compilation.cpp:2: /usr/include/c++/8.3.0/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support \ I googled and found many posts, but no one resolved my problem. My question is: where exactly to add that -std=c++11 that seems the correcting action? Thanks for an help.
Hi, I can reproduce the problem. I try to solve it. Regards Torsten Am 14.12.19 um 12:19 schrieb Giorgio Cittadini:
Hi All,
day after day Crux becomes more perfect. Everything runs flawlessly as far as the base system and X are installed. However, when I go further, i.e. installing plasma 5 (kde5 repository), many difficulties do appear. The problems of not missing dependences are easily resolved, but many packages cannot be installed: first of all grantlee, that seems very important since it is requested by many packages. Everything seems OK, anyhow the building process exits with many errors.
This is the most important part of what I get:
# pkgmk -d -i =======> Building '/home/pkgmk/packages/grantlee#5.1.0-1.pkg.tar.gz'. bsdtar -p -o -C /home/pkgmk/work/grantlee/src -xf /home/pkgmk/distfiles/grantlee-5.1.0.tar.gz + build + mkdir build + cd build + cmake ../grantlee-5.1.0 -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTS=OFF -- The C compiler identification is GNU 8.3.0 -- The CXX compiler identification is GNU 8.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Could NOT find LCov (missing: LCOV_EXECUTABLE GENHTML_EXECUTABLE) -- Could NOT find Cccc (missing: CCCC_EXECUTABLE) -- Configuring done -- Generating done -- Build files have been written to: /home/pkgmk/work/grantlee/src/build + make Scanning dependencies of target Grantlee_Templates_autogen [ 1%] Automatic MOC for target Grantlee_Templates [ 1%] Built target Grantlee_Templates_autogen Scanning dependencies of target Grantlee_Templates [ 2%] Building CXX object templates/lib/CMakeFiles/Grantlee_Templates.dir/Grantlee_Templates_autogen/mocs_compilation.cpp.o In file included from /usr/include/c++/8.3.0/type_traits:35, from /usr/include/qt5/QtCore/qglobal.h:45, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /home/pkgmk/work/grantlee/src/grantlee-5.1.0/templates/lib/exception.h:26, from /home/pkgmk/work/grantlee/src/grantlee-5.1.0/templates/lib/template.h:24, from /home/pkgmk/work/grantlee/src/grantlee-5.1.0/templates/lib/engine.h:24, from /home/pkgmk/work/grantlee/src/build/templates/lib/Grantlee_Templates_autogen/EWIEGA46WW/moc_engine.cpp:10, from /home/pkgmk/work/grantlee/src/build/templates/lib/Grantlee_Templates_autogen/mocs_compilation.cpp:2: /usr/include/c++/8.3.0/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support \
I googled and found many posts, but no one resolved my problem. My question is: where exactly to add that -std=c++11 that seems the correcting action?
Thanks for an help.
_______________________________________________ CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux
it is fixed. Please try it again. Regards Torsten Am 14.12.19 um 20:49 schrieb Torsten Henschel:
Hi,
I can reproduce the problem. I try to solve it.
Regards Torsten
Am 14.12.19 um 12:19 schrieb Giorgio Cittadini:
Hi All,
day after day Crux becomes more perfect. Everything runs flawlessly as far as the base system and X are installed. However, when I go further, i.e. installing plasma 5 (kde5 repository), many difficulties do appear. The problems of not missing dependences are easily resolved, but many packages cannot be installed: first of all grantlee, that seems very important since it is requested by many packages. Everything seems OK, anyhow the building process exits with many errors.
This is the most important part of what I get:
# pkgmk -d -i =======> Building '/home/pkgmk/packages/grantlee#5.1.0-1.pkg.tar.gz'. bsdtar -p -o -C /home/pkgmk/work/grantlee/src -xf /home/pkgmk/distfiles/grantlee-5.1.0.tar.gz + build + mkdir build + cd build + cmake ../grantlee-5.1.0 -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTS=OFF -- The C compiler identification is GNU 8.3.0 -- The CXX compiler identification is GNU 8.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Could NOT find LCov (missing: LCOV_EXECUTABLE GENHTML_EXECUTABLE) -- Could NOT find Cccc (missing: CCCC_EXECUTABLE) -- Configuring done -- Generating done -- Build files have been written to: /home/pkgmk/work/grantlee/src/build + make Scanning dependencies of target Grantlee_Templates_autogen [ 1%] Automatic MOC for target Grantlee_Templates [ 1%] Built target Grantlee_Templates_autogen Scanning dependencies of target Grantlee_Templates [ 2%] Building CXX object templates/lib/CMakeFiles/Grantlee_Templates.dir/Grantlee_Templates_autogen/mocs_compilation.cpp.o In file included from /usr/include/c++/8.3.0/type_traits:35, from /usr/include/qt5/QtCore/qglobal.h:45, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:48, from /usr/include/qt5/QtCore/QString:1, from /home/pkgmk/work/grantlee/src/grantlee-5.1.0/templates/lib/exception.h:26, from /home/pkgmk/work/grantlee/src/grantlee-5.1.0/templates/lib/template.h:24, from /home/pkgmk/work/grantlee/src/grantlee-5.1.0/templates/lib/engine.h:24, from /home/pkgmk/work/grantlee/src/build/templates/lib/Grantlee_Templates_autogen/EWIEGA46WW/moc_engine.cpp:10, from /home/pkgmk/work/grantlee/src/build/templates/lib/Grantlee_Templates_autogen/mocs_compilation.cpp:2: /usr/include/c++/8.3.0/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support \
I googled and found many posts, but no one resolved my problem. My question is: where exactly to add that -std=c++11 that seems the correcting action?
Thanks for an help.
_______________________________________________ CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux
_______________________________________________ CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux
Giorgio Cittadini wrote in <e9438bd4-3658-518a-a3d7-fb31d756cc1d@gmail.com>: ... |far as the base system and X are installed. However, when I go further, |i.e. installing plasma 5 (kde5 repository), many difficulties do appear. |The problems of not missing dependences are easily resolved, but many |packages cannot be installed: first of all grantlee, that seems very |important since it is requested by many packages. Everything seems OK, |anyhow the building process exits with many errors. | |This is the most important part of what I get: | |# pkgmk -d -i |=======> Building '/home/pkgmk/packages/grantlee#5.1.0-1.pkg.tar.gz'. ... |/usr/include/c++/8.3.0/bits/c++0x_warning.h:32:2: error: #error This |file requires compiler and library support for the ISO C++ 2011 |standard. This support must be enabled with the -std=c++11 or |-std=gnu++11 compiler options. | #error This file requires compiler and library support \ | |I googled and found many posts, but no one resolved my problem. My |question is: where exactly to add that -std=c++11 that seems the |correcting action? I have no idea of cmake, but setting CFLAGS="$CFLAGS -std=c++11" pkgmk -d -i could do the trick. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)
Last time I had CRUX installed I had issues with plasma 5 it turned out that QT5 and qtwebkit where not installed. I would suggest installing those and starting over with plasma 5. On Sat, Dec 14, 2019 at 2:59 PM Steffen Nurpmeso <steffen@sdaoden.eu> wrote:
Giorgio Cittadini wrote in <e9438bd4-3658-518a-a3d7-fb31d756cc1d@gmail.com
: ... |far as the base system and X are installed. However, when I go further, |i.e. installing plasma 5 (kde5 repository), many difficulties do appear. |The problems of not missing dependences are easily resolved, but many |packages cannot be installed: first of all grantlee, that seems very |important since it is requested by many packages. Everything seems OK, |anyhow the building process exits with many errors. | |This is the most important part of what I get: | |# pkgmk -d -i |=======> Building '/home/pkgmk/packages/grantlee#5.1.0-1.pkg.tar.gz'. ... |/usr/include/c++/8.3.0/bits/c++0x_warning.h:32:2: error: #error This |file requires compiler and library support for the ISO C++ 2011 |standard. This support must be enabled with the -std=c++11 or |-std=gnu++11 compiler options. | #error This file requires compiler and library support \ | |I googled and found many posts, but no one resolved my problem. My |question is: where exactly to add that -std=c++11 that seems the |correcting action?
I have no idea of cmake, but setting
CFLAGS="$CFLAGS -std=c++11" pkgmk -d -i
could do the trick.
--steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) _______________________________________________ CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux
participants (4)
-
Brian Madonna
-
Giorgio Cittadini
-
Steffen Nurpmeso
-
Torsten Henschel