Update install instruction in manual
[ci skip]
This commit is contained in:
parent
97ee2d23d0
commit
a21d78e60c
1 changed files with 15 additions and 8 deletions
|
|
@ -367,18 +367,25 @@ data, not for altering it.
|
||||||
@node Building the program, Getting help, Fat-free Accounting, Introduction to Ledger
|
@node Building the program, Getting help, Fat-free Accounting, Introduction to Ledger
|
||||||
@section Building the program
|
@section Building the program
|
||||||
|
|
||||||
Ledger is written in ANSI C++, and should compile on any platform. It
|
Ledger is written in ANSI C++, and should compile on any unix platform.
|
||||||
depends on the GNU multiple precision arithmetic library (libgmp), and
|
The easiest way to build and install ledger is to use the prepared
|
||||||
the Perl regular expression library (libpcre). It was developed using
|
acprep script, that does a lot of the footwork:
|
||||||
GNU make and gcc 3.3, on a PowerBook running OS/X.
|
|
||||||
|
|
||||||
To build and install once you have these libraries on your system,
|
|
||||||
enter these commands:
|
|
||||||
|
|
||||||
@smallexample
|
@smallexample
|
||||||
$ ./configure && make install
|
# to install missing dependencies
|
||||||
|
./acprep dependencies
|
||||||
|
# building ledger
|
||||||
|
./acprep update
|
||||||
|
# to run the actual installation
|
||||||
|
make install
|
||||||
@end smallexample
|
@end smallexample
|
||||||
|
|
||||||
|
Please read the contents of `config.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.
|
||||||
|
|
||||||
@node Getting help, , Building the program, Introduction to Ledger
|
@node Getting help, , Building the program, Introduction to Ledger
|
||||||
@section Getting help
|
@section Getting help
|
||||||
@findex help
|
@findex help
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue