Re: Unable to build

2014-04-28 Thread Jostein Berntsen


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_ptrjournal_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!


The same error messages occur for me when trying to install ledger in 
cygwin.

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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Building on Ubuntu 13.04

2014-04-28 Thread Jostein Berntsen
On 26.04.14,11:57, Martin Blais wrote:
 Thanks Jostein, I already have all the dependencies, hitting other problems.
 I got mbudde's PPA, that works, but there's no Python module, only the main
 binary.
 I'm due for an upgrade to 14.04 anyhow, I'll wait until I do that and
 retry, I just have too little time to get this workign right now.
 I'd like to eventually use the Ledger parser from Python to convert into
 Beancount data structure so you can all try/use the web interface I built.
 
 

This seems also to be a problem in cygwin:

https://groups.google.com/forum/#!topic/ledger-cli/Mm9M6ffZTRU

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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Building on Ubuntu 13.04

2014-04-28 Thread Martin Blais
I'm hitting this very same error message.
Quick attempts to fix add #include memory did not succeed.
(Moved on, had other cats to whip.)




On Mon, Apr 28, 2014 at 10:25 AM, Jostein Berntsen jber...@broadpark.nowrote:

 On 26.04.14,11:57, Martin Blais wrote:
  Thanks Jostein, I already have all the dependencies, hitting other
 problems.
  I got mbudde's PPA, that works, but there's no Python module, only the
 main
  binary.
  I'm due for an upgrade to 14.04 anyhow, I'll wait until I do that and
  retry, I just have too little time to get this workign right now.
  I'd like to eventually use the Ledger parser from Python to convert into
  Beancount data structure so you can all try/use the web interface I
 built.
 
 

 This seems also to be a problem in cygwin:

 https://groups.google.com/forum/#!topic/ledger-cli/Mm9M6ffZTRU

 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 ledger-cli+unsubscr...@googlegroups.com.
 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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Building on Ubuntu 13.04

2014-04-28 Thread Jostein Berntsen
On 28.04.14,11:49, Martin Blais wrote:
 I'm hitting this very same error message.
 Quick attempts to fix add #include memory did not succeed.
 (Moved on, had other cats to whip.)
 
 
 
 
 On Mon, Apr 28, 2014 at 10:25 AM, Jostein Berntsen 
 jber...@broadpark.nowrote:
 
  On 26.04.14,11:57, Martin Blais wrote:
   Thanks Jostein, I already have all the dependencies, hitting other
  problems.
   I got mbudde's PPA, that works, but there's no Python module, only the
  main
   binary.
   I'm due for an upgrade to 14.04 anyhow, I'll wait until I do that and
   retry, I just have too little time to get this workign right now.
   I'd like to eventually use the Ledger parser from Python to convert into
   Beancount data structure so you can all try/use the web interface I
  built.
  
  
 
  This seems also to be a problem in cygwin:
 
  https://groups.google.com/forum/#!topic/ledger-cli/Mm9M6ffZTRU
 
  Jostein
 
 

It seems like it errors out because of something with gcc. Maybe it would be
possible to tweak something in acprep to make this work?

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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.