On vanilla Ubuntu 14.04, I managed to compile, with some trick:
a) Install dependencies, the following were the minimum for me:
build-essential cmake doxygen libboost-system1.55-dev libboost1.55-dev
python-dev gettext git libboost-date-time1.55-dev
libboost-filesystem1.55-dev libboost-iostreams1.55-dev
libboost-python1.55-dev libboost-regex1.55-dev libboost-test1.55-dev
libedit-dev libgmp3-dev libmpfr-dev texinfo
b) Clone repository :
git clone git://github.com/ledger/ledger.git
c) Change directory to ledger, then :
./acprep update
--> this fails as described in first post from James
d) Launch compilation via:
cmake . -DUSE_DOXYGEN=1 -DUSE_PYTHON=1
make
e) Check if everything looks ok:
make check
I have tried a+b+d : it fails.
Only a+b and then (d+c or c+d) works.
I believe there is something missing in acprep script.
Thierry
PS : my first post since months, I had a motorcycle accident, my fault, 4
fractures to pelvis bone, spent 3 months in hospital, almost no sequel,
lucky me.
On Monday, April 21, 2014 2:05:08 PM UTC+2, James Clemence wrote:
>
> On Ubuntu 14.04 x86_64, the build is failing. I've got the following
> dependencies installed:
>
> libboost1.55-dev libboost-regex1.55-dev libboost-date-time1.55-dev
> libboost-filesystem1.55-dev build-essential cmake texinfo python-dev
> zlib1g-dev libbz2-dev libgmp3-dev bjam gettext cvs libmpfr-dev
>
> However, build fails with the following issue:
>
> [ 3%] Building CXX object src/CMakeFiles/libledger.dir/stats.cc.o
> /home/jvc26/ledger/src/stats.cc:32:21: warning:
> /home/jvc26/ledger/system.hh.gch: not used because `__GNUC_GNU_INLINE__'
> not defined [-Winvalid-pch]
> #include <system.hh>
> ^
> In file included from /home/jvc26/ledger/src/exprbase.h:57:0,
> from /home/jvc26/ledger/src/draft.h:45,
> from /home/jvc26/ledger/src/stats.cc:34:
> /home/jvc26/ledger/src/utils.h:488:12: error: ‘std::unique_ptr’ has not
> been declared
> using std::unique_ptr;
> ^
> In file included from /home/jvc26/ledger/src/report.h:52:0,
> from /home/jvc26/ledger/src/stats.cc:38:
> /home/jvc26/ledger/src/session.h:62:3: error: ‘unique_ptr’ does not name a
> type
> unique_ptr<journal_t> journal;
> ^
> /home/jvc26/ledger/src/stats.cc: In function ‘ledger::value_t
> ledger::report_statistics(ledger::call_scope_t&)’:
> /home/jvc26/ledger/src/stats.cc:49:31: error: ‘class ledger::session_t’
> has no member named ‘journal’
> statistics(report.session.journal->master->family_details(true));
> ^
> 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
>
> Any pointers? Thanks!
>
--
---
You received this message because you are subscribed to the Google Groups
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.