Git Product home page Git Product logo

ledger / ledger Goto Github PK

View Code? Open in Web Editor NEW
5.1K 111.0 483.0 19.33 MB

Double-entry accounting system with a command-line reporting interface

Home Page: https://www.ledger-cli.org

License: Other

Emacs Lisp 1.40% Python 11.54% Makefile 0.08% Shell 1.40% Perl 3.52% XSLT 0.65% Nix 0.18% CMake 1.46% C++ 79.63% C 0.14% Dockerfile 0.01%
ledger plaintext-accounting accounting command-line-tool

ledger's Introduction

Join the chat at https://gitter.im/use-package/Lobby Build Status master Status License GitHub release

Ledger: Command-Line Accounting

Ledger is a powerful, double-entry accounting system that is accessed from the UNIX command-line. This may put off some users, since there is no flashy UI, but for those who want unparalleled reporting access to their data there are few alternatives.

Ledger uses text files for input. It reads the files and generates reports; there is no other database or stored state. To use Ledger, you create a file of your account names and transactions, run from the command line with some options to specify input and requested reports, and get output. The output is generally plain text, though you could generate a graph or html instead. Ledger is simple in concept, surprisingly rich in ability, and easy to use.

For the Impatient

I know, you just want to build and play. If you have all the dependencies installed, then simply do this:

$ git clone [email protected]:ledger/ledger.git
$ cd ledger && ./acprep update  # Update to the latest, configure, make

Now try your first ledger command:

$ ./ledger -f test/input/sample.dat reg

For help on keeping your journal have a look at the documentation, the wiki, and the Resources section at the end of this file. An Emacs mode for Ledger files can be found in the ledger/ledger-mode repository and a vim plugin is located in the ledger/vim-ledger repository.

Docker version

If you have Docker installed on your computer or server, you can use a Docker version of this software, without installing any further dependencies:

$ docker run --rm -v "$PWD"/test/input:/data dcycle/ledger:1 -f /data/sample.dat reg

Dependencies

If you wish to proceed in this venture, you'll need a few dependencies. Note that some features, e.g. --import require building Ledger with Python support. The easiest way to get them for your platform is to run this handy Python script:

$ ./acprep dependencies

If that doesn't completely work, here are the dependencies for building the current master branch:

Dependency Version (or greater)
CMake 3.16.2
Boost 1.72
Gmp 6.1.2
Mpfr 4.0.2
utfcpp 3.2.3
ICU 63 optional
gettext 0.17 optional
libedit 20090111-3.0 optional
Python 3.9 optional
Gpgmepp 1.13.1 optional
doxygen 1.9.5 optional, for make docs
graphviz 2.20.3 optional, for make docs
texinfo 4.13 optional, for make docs
lcov 1.6 optional, for make report, used with ./acprep gcov
sloccount 2.26 optional, for make sloc

macOS

You can use Homebrew or MacPorts to install build dependencies for Ledger easily on macOS.

1. Homebrew

If you use Homebrew, to install the dependencies you would run:

$ brew install cmake boost boost-python3 gmp mpfr

2. MacPorts

If you build stuff using MacPorts on macOS, as I do, here is what you would run:

$ sudo port install -f cmake python37 \
     libiconv zlib gmp \
     mpfr ncurses ncursesw \
     gettext libedit boost-jam \
     boost +st+python37+icu texlive doxygen graphviz \
     texinfo lcov sloccount

Conda

The dependencies for building Ledger are available from conda-forge on certain platforms (for example, linux-64), which can be used with Conda or mamba.

With Conda you could run:

$ conda install -c conda-forge python=3 cmake boost gmp mpfr \
     gettext libedit texinfo doxygen graphviz

Ubuntu

If you're going to build on Ubuntu, sudo apt-get install ... the following packages (current as of Ubuntu 18.04):

$ sudo apt-get install build-essential cmake doxygen \
     libboost-system-dev libboost-dev python3-dev gettext git \
     libboost-date-time-dev libboost-filesystem-dev \
     libboost-iostreams-dev libboost-python-dev libboost-regex-dev \
     libboost-test-dev libedit-dev libgmp3-dev libmpfr-dev texinfo tzdata

Debian

Debian 10 (bullseye), Debian 11 ("bullseye"), Debian testing and Debian unstable (sid) contain all components needed to build ledger. You can install all required build dependencies using the following command:

$ sudo apt-get install build-essential cmake autopoint texinfo python3-dev \
     zlib1g-dev libbz2-dev libgmp3-dev gettext libmpfr-dev \
     libboost-date-time-dev libboost-filesystem-dev \
     libboost-graph-dev libboost-iostreams-dev \
     libboost-python-dev libboost-regex-dev libboost-test-dev

Fedora

You can install all required build dependencies under Fedora using the following command (tested with Fedora 32):

$ sudo dnf install boost-date-time boost-devel boost-filesystem \
    boost-iostreams boost-python3-devel boost-regex boost-system \
    boost-test cmake doxygen gettext git gmp-devel libedit-devel \
    mpfr-devel python3-devel texinfo tzdata

Building

The next step is preparing your environment for building. While you can use cmake . and make, I've prepared a script that does a lot more of the footwork for you:

$ ./acprep update
# or, if you want to use the Boost libraries with suffix -mt, install in
# $HOME/local and build with 2 processes in parallel
$ ./acprep update --boost-suffix=-mt --prefix=$HOME/local -j2

Please read the contents of CMakeFiles/CMakeOutput.log and CMakeFiles/CMakeError.log if the configure step fails. Also, see the help subcommand to acprep, which explains some of its many options. It's pretty much the only command I run for configuring, building and testing Ledger.

You can run make check to confirm the result, and make install to install.

Resources

Now that you're up and running, here are a few resources to keep in mind:

If you have ideas you'd like to share, the best way is either to e-mail me a patch (I prefer attachments over pasted text), or to get an account on GitHub. Once you do, fork the Ledger project, hack as much as you like, then open a pull request on GitHub.

ledger's People

Contributors

afh avatar bkuhn avatar coonce avatar csrhodes avatar dependabot[bot] avatar ecraven avatar enderw88 avatar fuco1 avatar georgek avatar jwiegley avatar kain88-de avatar kfogel avatar kljohann avatar kunhtkun avatar mbudde avatar merriam avatar purcell avatar q3aiml avatar rahix avatar rladams avatar scfc avatar schmave avatar simonmichael avatar tbm avatar thdox avatar the-kenny avatar tripun avatar valankar avatar vanicat avatar xnox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ledger's Issues

--budget doesn't produce correct output

I have a budget transaction like this:

~ Monthly
  Expenses:Auto:Fuel           $ 120.00
  Expenses:Food:Out            $ 100.00
  Expenses:Food:Groceries      $ 350.00
  Assets

It doesn't, however, seem to take effect with --budget:

% ledger bal --p this --flat auto:fuel food:out
             $ 67.15  Expenses:Auto:Fuel
             $ 18.30  Expenses:Food:Out
--------------------
             $ 85.45
% ledger bal --p this --budget --flat auto:fuel food:out
             $ 67.15  Expenses:Auto:Fuel
             $ 18.30  Expenses:Food:Out
--------------------
             $ 85.45
% ledger --version | head -1
Ledger next-0-g752677e, the command-line accounting tool

Incidentally, it would be great to see something like:

% ledger bal --p this --budget auto:fuel food:out
$ 67.15  $ 120.00   $ -52.85  56%  Expenses:Auto:Fuel
$ 18.30  $ 100.00   $ -81.70  18%  Expenses:Food:Out
$ 85.45  $ 220.00  $ -134.55  39%  Total

Currency/quantity output problem with print

The quantity is printed slightly wrong:

% cat <<EOF | ledger -f - print
2009/10/09 Foo
    Expenses:Bar     $ 10.00 
    Expenses:Baz     $ 12.00 
    Assets:Checking $ -22.00  
EOF
2009/10/09 Foo
    Expenses:Bar                             $ 10.00
    Expenses:Baz                             $ 12.00
    Assets:Checking $ -22.00                        

Latest build of next f35bc939 produces slow binary

Latest build takes 8s for a simple bal:

% ledger --version | head -1                        
Ledger next-0-g752677e, the command-line accounting tool
% time ledger bal -p this --no-total grocer         
            $ 147.36  Expenses:Food:Groceries
ledger bal -p this --no-total grocer  0.90s user 0.04s system 98% cpu 0.947 total
% ~/tmp/src/ledger/ledger --version | head -1
Ledger next-0-gf35bc93, the command-line accounting tool
% time ~/tmp/src/ledger/ledger bal -p this --no-total grocer
            $ 147.36  Expenses:Food:Groceries
~/tmp/src/ledger/ledger bal -p this --no-total grocer  7.83s user 0.08s system 98% cpu 8.001 total

clone using http not working

Since Ilm behind a corp firewall, my attempt to clone ledger produced the following:
It seemed to be working at first.

bash>git clone http://github.com/jwiegley/ledger.git
Initialized empty Git repository in /home/dias/Mystuff/Emacs/downloads/ledger/.git/
got f35bc93
walk f35bc93
got 9592bac
got a0f4df2
Getting alternates list for http://github.com/jwiegley/ledger.git
Getting pack list for http://github.com/jwiegley/ledger.git
Getting index for pack c04ce24d7b726a755985361d0b4dc55c415d63d6
Getting index for pack 70a37bee30c2b87679c854c369b50424c4d44ebc
got 1695a64385e8c0bb51b12674d7fcd6c7c931faf2
got 3121992e69cc64868abdedcee56521f23421c430
got 6b2964d
Getting pack c04ce24d7b726a755985361d0b4dc55c415d63d6
which contains ba21d2e
error: Unable to get pack file http://github.com/jwiegley/ledger.git/objects/pack/pack-c04ce24d7b726a755985361d0b4dc55c415d63d6.pack
The requested URL returned error: 502
error: Unable to find ba21d2e under http://github.com/jwiegley/ledger.git
Cannot obtain needed object ba21d2e
while processing commit f35bc93.
fatal: Fetch failed.
bash>

~/.ledgerrc not being consulted

% git log -1
commit f35bc939c96c3a3bf09c5881d638b5ba60449c03
Author: John Wiegley <[email protected]>
Date:   Sun Oct 11 14:07:55 2009 -0400

    Added a note about "acprep update" to README
% more ~/.ledgerrc            
--date-format %Y/%m/%d
% ./ledger reg -p this grocer | head -1
09-Oct-02 Kroger               Expenses:Food:Groceries      $ 38.63      $ 38.63
% ./ledger reg --date-format %Y/%m/%d -p this grocer | head -1
2009/10/02 Kroger               Expenses:Food:Groceries      $ 38.63      $ 38.63

Unexpected budget behavior with account tree

The budget command behaves slightly different than I would expect
for parent accounts. Here is example output:

% ledger budget -p this --effective --flat food
    $ 490.46     $ 925.00    $ -434.54   53%  Expenses:Food
    $ 361.11     $ 325.00      $ 36.11  111%  Expenses:Food:Groceries
    $ 129.35     $ 100.00      $ 29.35  129%  Expenses:Food:Out
------------ ------------ ------------ -----
    $ 490.46     $ 925.00    $ -434.54   53%

The relevant journal context:

~ Monthly
  Expenses:Food                $ 500.00
  Expenses:Food:Out            $ 100.00
  Expenses:Food:Groceries      $ 325.00
  Assets

It looks like :Food gets added to its children instead of picking
up the slack. If I remove the children and let the parent
provide a budget for it and its descendants, I get nothing.

~ Monthly
  Expenses:Food                $ 500.00
  Assets

% ledger budget -p this --effective --flat food
           0     $ 500.00    $ -500.00     0  Expenses:Food

That's on the same journal data. I expected:

% ledger budget -p this --effective --flat food
    $ 490.46     $ 500.00      $ -9.54   98%  Expenses:Food

Strange libboost suffix on Debian Squeeze with acprep

./acprep update
acprep: INFO: Invoking primary phase: update
acprep: INFO: Executing phase: update
acprep: INFO: Executing phase: pull
Already up-to-date.
acprep: INFO: Executing phase: submodule
acprep: INFO: Executing phase: make
acprep: INFO: Executing phase: config
acprep: INFO: Executing phase: submodule
acprep: INFO: Executing phase: autoconf
acprep: INFO: Executing phase: configure
acprep: INFO: ./configure must be run because Makefile does not exist
acprep: INFO: Looking for Boost in /usr/local/lib...
acprep: INFO: Looking for Boost in /opt/local/lib...
acprep: INFO: Looking for Boost in /sw/lib...
acprep: INFO: Looking for Boost in /usr/lib...
acprep: INFO: Found a Boost library: libboost_regex-gcc41-1_34_1.so.1.34.1
acprep: INFO: Found Boost suffix => -gcc41-1_34_1
acprep: INFO: Boost was found here:
acprep: INFO: BOOST_HOME    => /usr
acprep: INFO: BOOST_SUFFIX  => -gcc41-1_34_1
acprep: INFO: Noticing include directory => /usr/local/include
acprep: INFO: Noticing include directory => /usr/include/boost
acprep: INFO: Noticing library directory => /usr/local/lib
acprep: INFO: Noticing library directory => /usr/lib
acprep: INFO: System type is => Linux
acprep: INFO: Setting up build flavor => debug

...

configure: error: in `/var/www/dev/ledger':
configure: error: "Could not find boost_regex library (set CPPFLAGS and LDFLAGS?)"
See `config.log' for more details.
acprep: ERROR: Execution failed: sh configure CPPFLAGS=-isystem /usr/local/include -isystem /usr/include/boost CXXFLAGS=-fpch-deps -Wconversion -pthread -g -pipe LDFLAGS=-g -L/usr/local/lib -L/usr/lib --with-boost-suffix=-gcc41-1_34_1 --with-included-gettext --enable-python --enable-pch --enable-debug

I'm now trying just "./configure" and it seems to be going OK

Unable to install ledger on Ubuntu Hardy.

Transcript follows:

meingbg@meingbg:~$ git clone git://github.com/jwiegley/ledger.git
Initialized empty Git repository in /home/meingbg/ledger/.git/
remote: Counting objects: 20062, done.
remote: Compressing objects: 100% (5624/5624), done.
remote: Total 20062 (delta 15245), reused 18658 (delta 14165)
Receiving objects: 100% (20062/20062), 25.64 MiB | 1873 KiB/s, done.
Resolving deltas: 100% (15245/15245), done.
meingbg@meingbg:~$ cd ledger/
meingbg@meingbg:~/ledger$ git checkout master
Already on branch "master"
meingbg@meingbg:~/ledger$ ./acprep dependencies
acprep: INFO: Invoking primary phase: dependencies
acprep: INFO: Executing phase: dependencies
acprep: INFO: Installing Ledger's build dependencies ...
acprep: INFO: Looks like you are using APT on Ubuntu Hardy
acprep: INFO: Executing: sudo apt-get install build-essential libtool autoconf automake zlib1g-dev libbz2-dev python-dev bjam cvs gettext libgmp3-dev libmpfr-dev libboost1.35-dev libboost-python1.35-dev libboost-regex1.35-dev libboost-date-time1.35-dev libboost-filesystem1.35-dev libedit-dev libcppunit-dev texinfo lcov sloccount
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package libboost1.35-dev
acprep: ERROR: Execution failed: sudo apt-get install build-essential libtool autoconf automake zlib1g-dev libbz2-dev python-dev bjam cvs gettext libgmp3-dev libmpfr-dev libboost1.35-dev libboost-python1.35-dev libboost-regex1.35-dev libboost-date-time1.35-dev libboost-filesystem1.35-dev libedit-dev libcppunit-dev texinfo lcov sloccount
meingbg@meingbg:~/ledger$ sudo apt-get update
Hit http://deb.torproject.org hardy Release.gpg
Hit http://security.ubuntu.com hardy-security Release.gpg                   
Ign http://security.ubuntu.com hardy-security/main Translation-en_US        
Hit http://se.archive.ubuntu.com hardy Release.gpg                          
Ign http://se.archive.ubuntu.com hardy/main Translation-en_US               
Ign http://se.archive.ubuntu.com hardy/restricted Translation-en_US  
Ign http://security.ubuntu.com hardy-security/restricted Translation-en_US
Ign http://security.ubuntu.com hardy-security/universe Translation-en_US
Ign http://security.ubuntu.com hardy-security/multiverse Translation-en_US
Hit http://security.ubuntu.com hardy-security Release                
Ign http://se.archive.ubuntu.com hardy/universe Translation-en_US    
Ign http://se.archive.ubuntu.com hardy/multiverse Translation-en_US
Hit http://se.archive.ubuntu.com hardy-updates Release.gpg
Ign http://se.archive.ubuntu.com hardy-updates/main Translation-en_US
Ign http://se.archive.ubuntu.com hardy-updates/restricted Translation-en_US
Ign http://deb.torproject.org hardy/main Translation-en_US
Ign http://se.archive.ubuntu.com hardy-updates/universe Translation-en_US
Ign http://se.archive.ubuntu.com hardy-updates/multiverse Translation-en_US 
Hit http://se.archive.ubuntu.com hardy Release                              
Hit http://se.archive.ubuntu.com hardy-updates Release                      
Hit http://security.ubuntu.com hardy-security/main Packages                 
Hit http://se.archive.ubuntu.com hardy/main Packages                        
Hit http://deb.torproject.org hardy Release                         
Hit http://se.archive.ubuntu.com hardy/restricted Packages          
Hit http://se.archive.ubuntu.com hardy/main Sources                
Hit http://security.ubuntu.com hardy-security/restricted Packages  
Hit http://security.ubuntu.com hardy-security/main Sources         
Hit http://security.ubuntu.com hardy-security/restricted Sources   
Hit http://security.ubuntu.com hardy-security/universe Packages    
Hit http://se.archive.ubuntu.com hardy/restricted Sources          
Hit http://se.archive.ubuntu.com hardy/universe Packages           
Hit http://se.archive.ubuntu.com hardy/universe Sources                     
Hit http://se.archive.ubuntu.com hardy/multiverse Packages                  
Hit http://se.archive.ubuntu.com hardy/multiverse Sources                   
Hit http://se.archive.ubuntu.com hardy-updates/main Packages                
Hit http://se.archive.ubuntu.com hardy-updates/restricted Packages          
Hit http://security.ubuntu.com hardy-security/universe Sources              
Hit http://security.ubuntu.com hardy-security/multiverse Packages           
Hit http://security.ubuntu.com hardy-security/multiverse Sources            
Hit http://se.archive.ubuntu.com hardy-updates/main Sources                 
Hit http://se.archive.ubuntu.com hardy-updates/restricted Sources          
Hit http://se.archive.ubuntu.com hardy-updates/universe Packages           
Hit http://se.archive.ubuntu.com hardy-updates/universe Sources            
Hit http://se.archive.ubuntu.com hardy-updates/multiverse Packages         
Hit http://se.archive.ubuntu.com hardy-updates/multiverse Sources          
Ign http://deb.torproject.org hardy/main Packages                          
Hit http://deb.torproject.org hardy/main Packages                          
Reading package lists... Done
meingbg@meingbg:~/ledger$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  bind9-host dnsutils libbind9-30 libdns35 libisc35 libisccfg30 liblwres30
  linux-generic linux-headers-generic linux-image-generic
  linux-restricted-modules-generic
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
meingbg@meingbg:~/ledger$ ./acprep dependencies
acprep: INFO: Invoking primary phase: dependencies
acprep: INFO: Executing phase: dependencies
acprep: INFO: Installing Ledger's build dependencies ...
acprep: INFO: Looks like you are using APT on Ubuntu Hardy
acprep: INFO: Executing: sudo apt-get install build-essential libtool autoconf automake zlib1g-dev libbz2-dev python-dev bjam cvs gettext libgmp3-dev libmpfr-dev libboost1.35-dev libboost-python1.35-dev libboost-regex1.35-dev libboost-date-time1.35-dev libboost-filesystem1.35-dev libedit-dev libcppunit-dev texinfo lcov sloccount
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package libboost1.35-dev
acprep: ERROR: Execution failed: sudo apt-get install build-essential libtool autoconf automake zlib1g-dev libbz2-dev python-dev bjam cvs gettext libgmp3-dev libmpfr-dev libboost1.35-dev libboost-python1.35-dev libboost-regex1.35-dev libboost-date-time1.35-dev libboost-filesystem1.35-dev libedit-dev libcppunit-dev texinfo lcov sloccount
meingbg@meingbg:~/ledger$ ./acprep update
acprep: INFO: Invoking primary phase: update
acprep: INFO: Executing phase: update
acprep: INFO: Executing phase: pull
Already up-to-date.
acprep: INFO: Executing phase: submodule
Submodule 'lib/utfcpp' (git://github.com/jwiegley/utfcpp.git) registered for path 'lib/utfcpp'
Initialized empty Git repository in /home/meingbg/ledger/lib/utfcpp/.git/
remote: Counting objects: 21, done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 21 (delta 5), reused 0 (delta 0)
Receiving objects: 100% (21/21), 18.00 KiB, done.
Resolving deltas: 100% (5/5), done.
Submodule path 'lib/utfcpp': checked out '200cf64535a8a2545414e993349f6c87c8dd64ba'
acprep: INFO: Executing phase: make
acprep: INFO: Executing phase: config
acprep: INFO: Executing phase: submodule
acprep: INFO: Executing phase: autoconf
acprep: INFO: autogen.sh must be run because acprep is newer than configure
acprep: INFO: Executing phase: version
error: unknown option `long'
usage: git-describe [options] *

    --contains            find the tag that comes after the commit
    --debug               debug search strategy on stderr
    --all                 use any ref in .git/refs
    --tags                use any tag in .git/refs/tags
    --abbrev []        use  digits to display SHA-1s
    --candidates       consider  most recent tags (default: 10)

acprep: ERROR: Execution failed: git describe --all --long
meingbg@meingbg:~/ledger$ git checkout -b maint origin/maint
Branch maint set up to track remote branch refs/remotes/origin/maint.
Switched to a new branch "maint"
meingbg@meingbg:~/ledger$ ./acprep dependencies
Preparing the ledger build system...please wait

ERROR:  Unable to locate GNU Autoconf.

ERROR:  To prepare the ledger build system from scratch,
        at least version 2.61 of GNU Autoconf must be installed.

autogen.sh does not need to be run on the same machine that will
run configure or make.  Either the GNU Autotools will need to be installed
or upgraded on this system, or autogen.sh must be run on the source
code on another system and then transferred to here. -- Cheers!

./acprep: 60: /home/meingbg/ledger/configure: not found
meingbg@meingbg:~/ledger$ ./acprep update
Preparing the ledger build system...please wait

ERROR:  Unable to locate GNU Autoconf.

ERROR:  To prepare the ledger build system from scratch,
        at least version 2.61 of GNU Autoconf must be installed.

autogen.sh does not need to be run on the same machine that will
run configure or make.  Either the GNU Autotools will need to be installed
or upgraded on this system, or autogen.sh must be run on the source
code on another system and then transferred to here. -- Cheers!

./acprep: 60: /home/meingbg/ledger/configure: not found
meingbg@meingbg:~/ledger$ git checkout v2.6.1
Note: moving to "v2.6.1" which isn't a local branch
If you want to create a new branch from this checkout, you may do so
(now or later) by using -b with the checkout command again. Example:
  git checkout -b 
HEAD is now at 7fafe18... Added autogen.sh.
meingbg@meingbg:~/ledger$ ./acprep dependencies
Preparing the ledger build system...please wait

ERROR:  Unable to locate GNU Autoconf.

ERROR:  To prepare the ledger build system from scratch,
        at least version 2.61 of GNU Autoconf must be installed.

autogen.sh does not need to be run on the same machine that will
run configure or make.  Either the GNU Autotools will need to be installed
or upgraded on this system, or autogen.sh must be run on the source
code on another system and then transferred to here. -- Cheers!

./acprep: 60: /home/meingbg/ledger/configure: not found
meingbg@meingbg:~/ledger$ ./acprep update
Preparing the ledger build system...please wait

ERROR:  Unable to locate GNU Autoconf.

ERROR:  To prepare the ledger build system from scratch,
        at least version 2.61 of GNU Autoconf must be installed.

autogen.sh does not need to be run on the same machine that will
run configure or make.  Either the GNU Autotools will need to be installed
or upgraded on this system, or autogen.sh must be run on the source
code on another system and then transferred to here. -- Cheers!

./acprep: 60: /home/meingbg/ledger/configure: not found
meingbg@meingbg:~/ledger$ 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.