John, All, I think I may have found the culprit (regarding unique_ptr). In gcc debug builds `-ansi` was passed to the compiler. Can those of you that were experiencing this error pull the latest commit ( https://github.com/ledger/ledger/commit/73caafa2c540384f19669567ed95b598fcf42463) and try to compile again?
On Tue, May 6, 2014 at 6:33 PM, Jostein Berntsen <[email protected]>wrote: > On 04.05.14,10:20, Jostein Berntsen wrote: > > On 02.05.14,15:40, thierry wrote: > > > 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. > > > > > > > > > > Thanks, Thierry. This seems to work for me as well in Slackware 14.1: > > > > First: > > > > Install the slackbuild ledger package (v.2.6.3) > > Upgrade from boost 1.54.0 to boost 1.55.0. > > > > Then: > > > > Clone the ledger repo > > cmake . -DUSE_DOXYGEN=1 -DUSE_PYTHON=1 > > ./acprep update > > > > > > Will also check in Cygwin next week. > > > > I tried the same in Cygwin and then running these commands: > > cmake -G "Unix Makefiles" > cmake . -DUSE_DOXYGEN -DUSE_PYTHON > make clean > make > > Then it first errors out early at the setenv function in report.h. > Removing this > code makes it error out at popen and pclose in quote.cc at 53%. Any ideas? > > Jostein > > > -- > > --- > 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. > -- --- 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.
