problem installing Grub Customizer

Asked by Joanna Sharman on 2016-11-15

I'm trying to install the package on Fedora 17 and get this error running cmake . && make

-- Configuring done
-- Generating done
-- Build files have been written to: /home/jo/grub-customizer-5.0.6
[ 16%] Building CXX object CMakeFiles/grub-customizer.dir/src/main/client.cpp.o
In file included from /home/jo/grub-customizer-5.0.6/src/main/../Bootstrap/Factory.hpp:24:0,
                 from /home/jo/grub-customizer-5.0.6/src/main/client.cpp:23:
/home/jo/grub-customizer-5.0.6/src/main/../Bootstrap/../Model/ListCfg.hpp: In member function ‘bool Model_ListCfg::compare(const Model_ListCfg&) const’:
/home/jo/grub-customizer-5.0.6/src/main/../Bootstrap/../Model/ListCfg.hpp:864:57: error: aggregate ‘std::array<std::list<std::shared_ptr<Model_Rule> >, 2ul> rlist’ has incomplete type and cannot be defined
make[2]: *** [CMakeFiles/grub-customizer.dir/src/main/client.cpp.o] Error 1
make[1]: *** [CMakeFiles/grub-customizer.dir/all] Error 2
make: *** [all] Error 2

Any help appreciated, thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Grub Customizer Edit question
Assignee:
No assignee Edit question
Last query:
2016-11-15
Last reply:
2016-11-16

You can fix it by opening the file src/Model/ListCfg.hpp and adding the line "#include <array>" to the list of includes (at line 32 for example).

Seems like this problem only occurs on old versions of Fedora (tried fedora 18). Fedora 24 works well.

Can you help with this problem?

Provide an answer of your own, or ask Joanna Sharman for more information if necessary.

To post a message you must log in.