[Solved] Building codelite on CentOS
Posted: Thu Jan 22, 2015 1:38 am
So... Codelite doesn't officially support CentOS 6.5, but that's what I'm stuck with, and am trying to build it from source. Additionally, the machine does not have access to a direct line to the outside world, so it's stuck with whatever RPMs and source code I can throw up onto it. I've tried to install as many dependencies as I can (usually building from source), but haven't been able to get libhunspell-dev installed (as far as I can tell). I do have the hunspell.x86_64 package installed, and wxWidget stuff is all sorted.
These are the errors I get during compilation:
Now, this is probably a dependency issue since it can't find the correct headers (or, potentially, a compiler issue if <anonymous enum>s are a C++11 thing).
The closest RPM I can find to try and remedy this is (http://rpmfind.net//linux/RPM/centos/6. ... .i686.html). I have also built and installed hunspell1.3.3 from source, but, once again, I'm not sure if that installs the shared library properly or if this error relates to it.
However, this obviously doesn't work since this is not the dev package. So I come to you guys for advice; is there anything I can try to remedy this issue?
Cheers, and thank you so much for the help.
These are the errors I get during compilation:
Code: Select all
[ 52%] Building CXX object SpellChecker/CMakeFiles/SpellCheck.dir/IHunSpell.cpp.o
/Users/my_user/codelite/SpellChecker/IHunSpell.cpp: In member function 'void IHunSpell::CheckCppSpelling(const wxString&)':
/Users/my_user/codelite/SpellChecker/IHunSpell.cpp:176: error: no matching function for call to 'make_pair(posLen&, IHunSpell::<anonymous enum>)'
/Users/my_user/codelite/SpellChecker/IHunSpell.cpp:185: error: no matching function for call to 'make_pair(posLen&, IHunSpell::<anonymous enum>)'
/Users/my_user/codelite/SpellChecker/IHunSpell.cpp:194: error: no matching function for call to 'make_pair(posLen&, IHunSpell::<anonymous enum>)'
/Users/my_user/codelite/SpellChecker/IHunSpell.cpp:203: error: no matching function for call to 'make_pair(posLen&, IHunSpell::<anonymous enum>)'
/Users/my_user/codelite/SpellChecker/IHunSpell.cpp:212: error: no matching function for call to 'make_pair(posLen&, IHunSpell::<anonymous enum>)'
make[2]: *** [SpellChecker/CMakeFiles/SpellCheck.dir/IHunSpell.cpp.o] Error 1
make[1]: *** [SpellChecker/CMakeFiles/SpellCheck.dir/all] Error 2
make: *** [all] Error 2
The closest RPM I can find to try and remedy this is (http://rpmfind.net//linux/RPM/centos/6. ... .i686.html). I have also built and installed hunspell1.3.3 from source, but, once again, I'm not sure if that installs the shared library properly or if this error relates to it.
However, this obviously doesn't work since this is not the dev package. So I come to you guys for advice; is there anything I can try to remedy this issue?
Cheers, and thank you so much for the help.