Error During Compile

Asked by Scott Stevens

Greetings,

I'm attempting to build Onboard V1.2.0 under Fedora 24. I've followed the instructions for building under Fedora 23 here:

https://nmilosev.svbtle.com/install-onboard-keyboard-in-fedora-23

However, Fedora 24 kicks out this error.

In file included from Onboard/pypredict/lm/lm_python.cpp:50:0:
Onboard/pypredict/lm/lm_dynamic_cached.h:227:46: error: ‘constexpr’ needed for in-class initialization of static data member ‘const double _CachedDynamicModel<TNGRAMS>::DEFAULT_LAMBDA’ of non-integral type [-fpermissive]
         static const double DEFAULT_LAMBDA = 0.3; // Jelinek-Mercer weights

It appears a bug report was filed here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812033

Any suggestions on what I can do to allow the build to complete?

Than

Question information

Language:
English Edit question
Status:
Solved
For:
Onboard Edit question
Assignee:
No assignee Edit question
Solved by:
Francesco Fumanti
Solved:
Last query:
Last reply:
Revision history for this message
Best Francesco Fumanti (frafu) said :
#1

If I get it right, the problem was fixed a few days ago in trunk, but the fixed version has not been released yet. I might perhaps get the current development revision from trunk:
https://code.launchpad.net/~onboard/onboard/trunk

Revision history for this message
Francesco Fumanti (frafu) said :
#2

s/I might/You might

Revision history for this message
Scott Stevens (u-orders) said :
#3

Greetings,

I was able to build successfully from the devel trunk. Also, had to make sure schemas were updated for onboard to run.

Thank you so much for your assistance!

Revision history for this message
Scott Stevens (u-orders) said :
#4

Thanks Francesco Fumanti, that solved my question.

Revision history for this message
Francesco Fumanti (frafu) said :
#5

You're welcome.