build failure due to missing "utf8.h"

764 views
Skip to first unread message

Fergus Cameron

unread,
Feb 19, 2014, 8:01:31 PM2/19/14
to ledge...@googlegroups.com
Noted a couple of previous posts on the subject but none of the actions resolved the issue for me.  I'm sure it must be something simple but, currently at a loss as to how to debug this further.  'cmake .' appear to complete successfully (no error file in the 'CMakeFiles') and './acprep update' then bombs with the following

acprep: INFO: Invoking primary phase: update
acprep: INFO: Executing phase: update
acprep: INFO: Executing phase: pull
acprep: INFO: Executing phase: make
acprep: INFO: Executing phase: config
acprep: INFO: Executing phase: submodule
acprep: INFO: Executing phase: configure
acprep: INFO: System type is => b'Linux'
acprep: INFO: Setting up build flavor => debug
Scanning dependencies of target libledger
[  1%] Building CXX object src/CMakeFiles/libledger.dir/stats.cc.o
In file included from /home/fc0/ledger.jpsGG/ledger/src/stats.cc:32:0:
/home/fc0/ledger.jpsGG/ledger/system.hh:164:18: fatal error: utf8.h: No such file or directory
compilation terminated.
make[2]: *** [src/CMakeFiles/libledger.dir/stats.cc.o] Error 1
make[1]: *** [src/CMakeFiles/libledger.dir/all] Error 2
make: *** [all] Error 2
acprep: ERROR: Execution failed: make

Tried cleaning the repository and then simply checked out a fresh copy; all with the same result.  Certainly I have the 'system.hh' and no 'utf8.h'.

Attaching the CMake log.

Pointers / thoughts, greatly appreciated.
CMakeOutput.log

John Wiegley

unread,
Feb 19, 2014, 9:05:35 PM2/19/14
to ledge...@googlegroups.com
>>>>> Fergus Cameron <tofe...@gmail.com> writes:

> Noted a couple of previous posts on the subject but none of the actions
> resolved the issue for me. I'm sure it must be something simple but,
> currently at a loss as to how to debug this further. 'cmake .' appear to
> complete successfully (no error file in the 'CMakeFiles') and './acprep
> update' then bombs with the following

Try: git submodule update --init

The utf8.h file is within a submodule in the lib directory.

John
Reply all
Reply to author
Forward
0 new messages