Closed mortenivar closed 2 years ago
Yup. Arch is the odd one out since it puts utfcpp in an unexpected place. This should indeed be fixed.
Fixed. Also, README has mentioned utfcpp for almost a year.
Tino Didriksen @.***> wrote:
Fixed. Also, README has mentioned utfcpp for almost a year.
Okay, somehow I missed it.
It seems that cmake isn't checking for utfcpp either. I was having this error in the cmake branch whan running make, insalling libutfcpp-dev
in Ubuntu solved it:
[ 2%] Building CXX object lttoolbox/CMakeFiles/lttoolbox.dir/acx.cc.o
[ 4%] Building CXX object lttoolbox/CMakeFiles/lttoolbox.dir/att_compiler.cc.o
[ 7%] Building CXX object lttoolbox/CMakeFiles/lttoolbox.dir/alphabet.cc.o
In file included from /work/jzaragoza/forced-terminology/tools/lttoolbox/lttoolbox/alphabet.h:26:0,
from /work/jzaragoza/forced-terminology/tools/lttoolbox/lttoolbox/alphabet.cc:17:
/work/jzaragoza/forced-terminology/tools/lttoolbox/lttoolbox/ustring.h:25:10: fatal error: utf8.h: No such file or directory
#include <utf8.h>
^~~~~~~~
compilation terminated.
In file included from /work/jzaragoza/forced-terminology/tools/lttoolbox/lttoolbox/att_compiler.h:26:0,
from /work/jzaragoza/forced-terminology/tools/lttoolbox/lttoolbox/att_compiler.cc:18:
/work/jzaragoza/forced-terminology/tools/lttoolbox/lttoolbox/ustring.h:25:10: fatal error: utf8.h: No such file or directory
#include <utf8.h>
^~~~~~~~
compilation terminated.
In file included from /work/jzaragoza/forced-terminology/tools/lttoolbox/lttoolbox/xml_walk_util.h:4:0,
from /work/jzaragoza/forced-terminology/tools/lttoolbox/lttoolbox/acx.cc:18:
/work/jzaragoza/forced-terminology/tools/lttoolbox/lttoolbox/ustring.h:25:10: fatal error: utf8.h: No such file or directory
#include <utf8.h>
^~~~~~~~
compilation terminated.
lttoolbox/CMakeFiles/lttoolbox.dir/build.make:75: recipe for target 'lttoolbox/CMakeFiles/lttoolbox.dir/acx.cc.o' failed
make[2]: *** [lttoolbox/CMakeFiles/lttoolbox.dir/acx.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
lttoolbox/CMakeFiles/lttoolbox.dir/build.make:103: recipe for target 'lttoolbox/CMakeFiles/lttoolbox.dir/att_compiler.cc.o' failed
make[2]: *** [lttoolbox/CMakeFiles/lttoolbox.dir/att_compiler.cc.o] Error 1
lttoolbox/CMakeFiles/lttoolbox.dir/build.make:89: recipe for target 'lttoolbox/CMakeFiles/lttoolbox.dir/alphabet.cc.o' failed
make[2]: *** [lttoolbox/CMakeFiles/lttoolbox.dir/alphabet.cc.o] Error 1
CMakeFiles/Makefile2:241: recipe for target 'lttoolbox/CMakeFiles/lttoolbox.dir/all' failed
make[1]: *** [lttoolbox/CMakeFiles/lttoolbox.dir/all] Error 2
Makefile:145: recipe for target 'all' failed
make: *** [all] Error 2
During the ./configure phase, I got
The docs don't mention utfcpp as a dependency. After installing it, I needed to do
export CPPFLAGS=-I/usr/include/utf8cpp/