Re: Problem with compiling Ledger on Arch Linux
On 2016-05-12, at 23:24, Jostein Berntsenwrote: > On 12.05.16,21:00, Marcin Borkowski wrote: >>Hi everybody, >> >>I tried to compile Ledger on newly installed Arch Linux, but I couldn't. >>./acprep dependencies says: >> >>acprep: INFO: Invoking primary phase: dependencies >>acprep: INFO: Executing phase: dependencies >>acprep: INFO: Installing Ledger's build dependencies ... >> >> >>And ./acprep make gives this: >> >>acprep: INFO: Invoking primary phase: make >>acprep: INFO: Executing phase: make >>acprep: INFO: Executing phase: config >>acprep: INFO: Executing phase: configure >>acprep: INFO: System type is => Linux >>acprep: INFO: Setting up build flavor => debug >>[ 1%] Generating ../system.hh.gch >>In file included from /usr/include/c++/6.1.1/bits/stl_algo.h:59:0, >> from /usr/include/c++/6.1.1/algorithm:62, >> from /home/mbork/others-works/ledger/system.hh:90: >>/usr/include/c++/6.1.1/cstdlib:75:25: fatal error: stdlib.h: No such file >>or directory >> #include_next >> ^ >>compilation terminated. >>src/CMakeFiles/libledger.dir/build.make:61: recipe for target >>'system.hh.gch' failed >>make[2]: *** [system.hh.gch] Error 1 >>CMakeFiles/Makefile2:124: recipe for target >>'src/CMakeFiles/libledger.dir/all' failed >>make[1]: *** [src/CMakeFiles/libledger.dir/all] Error 2 >>Makefile:160: recipe for target 'all' failed >>make: *** [all] Error 2 >>acprep: ERROR: Execution failed: make >> >> >>Any hints? >> >>Best, >> > > Can you run "./acprep update" instead? I did, the result is the same. > Jostein Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University -- --- 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: Problem with compiling Ledger on Arch Linux
On 12.05.16,21:00, Marcin Borkowski wrote: Hi everybody, I tried to compile Ledger on newly installed Arch Linux, but I couldn't. ./acprep dependencies says: acprep: INFO: Invoking primary phase: dependencies acprep: INFO: Executing phase: dependencies acprep: INFO: Installing Ledger's build dependencies ... And ./acprep make gives this: acprep: INFO: Invoking primary phase: make acprep: INFO: Executing phase: make acprep: INFO: Executing phase: config acprep: INFO: Executing phase: configure acprep: INFO: System type is => Linux acprep: INFO: Setting up build flavor => debug [ 1%] Generating ../system.hh.gch In file included from /usr/include/c++/6.1.1/bits/stl_algo.h:59:0, from /usr/include/c++/6.1.1/algorithm:62, from /home/mbork/others-works/ledger/system.hh:90: /usr/include/c++/6.1.1/cstdlib:75:25: fatal error: stdlib.h: No such file or directory #include_next ^ compilation terminated. src/CMakeFiles/libledger.dir/build.make:61: recipe for target 'system.hh.gch' failed make[2]: *** [system.hh.gch] Error 1 CMakeFiles/Makefile2:124: recipe for target 'src/CMakeFiles/libledger.dir/all' failed make[1]: *** [src/CMakeFiles/libledger.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2 acprep: ERROR: Execution failed: make Any hints? Best, Can you run "./acprep update" instead? 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.
Problem with compiling Ledger on Arch Linux
Hi everybody, I tried to compile Ledger on newly installed Arch Linux, but I couldn't. ./acprep dependencies says: acprep: INFO: Invoking primary phase: dependencies acprep: INFO: Executing phase: dependencies acprep: INFO: Installing Ledger's build dependencies ... And ./acprep make gives this: acprep: INFO: Invoking primary phase: make acprep: INFO: Executing phase: make acprep: INFO: Executing phase: config acprep: INFO: Executing phase: configure acprep: INFO: System type is => Linux acprep: INFO: Setting up build flavor => debug [ 1%] Generating ../system.hh.gch In file included from /usr/include/c++/6.1.1/bits/stl_algo.h:59:0, from /usr/include/c++/6.1.1/algorithm:62, from /home/mbork/others-works/ledger/system.hh:90: /usr/include/c++/6.1.1/cstdlib:75:25: fatal error: stdlib.h: No such file or directory #include_next ^ compilation terminated. src/CMakeFiles/libledger.dir/build.make:61: recipe for target 'system.hh.gch' failed make[2]: *** [system.hh.gch] Error 1 CMakeFiles/Makefile2:124: recipe for target 'src/CMakeFiles/libledger.dir/all' failed make[1]: *** [src/CMakeFiles/libledger.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2 acprep: ERROR: Execution failed: make Any hints? Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University -- --- 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: Improving Python API for Ledger
> Ben Finneywrites: > Can you point me to instructions on how I would run the test suite before > and after a change? I'm quite new to this code base. I usually do this as part of the acprep build. Perhaps others here are familiar with just running the tests alone. It's been a while since I've done that. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 -- --- 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: Improving Python API for Ledger
"John Wiegley"writes: > > Ben Finney writes: > > > What constitutes the current test suite for that code, and how is it > > automated? > > The current tests are auto-generated from the C++ tests, so that the > testing should be identical for the covered modules. Can you point me to instructions on how I would run the test suite before and after a change? I'm quite new to this code base. -- \ “Any intelligent fool can make things bigger and more complex… | `\It takes a touch of genius – and a lot of courage – to move in | _o__)the opposite direction.” —Albert Einstein | Ben Finney -- --- 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: Improving Python API for Ledger
> Ben Finneywrites: > Okay. To be clear, what Python API are we talking about? I assume this means > the ‘ledger’ Python module installed, whose source is the C++ files under > ‘src/’. Yes? It's in the py*.cc files under src/. > What constitutes the current test suite for that code, and how is it > automated? The current tests are auto-generated from the C++ tests, so that the testing should be identical for the covered modules. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 -- --- 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.