More README updates
This commit is contained in:
parent
c57467bee7
commit
bafb6af93c
1 changed files with 20 additions and 16 deletions
|
|
@ -10,15 +10,19 @@ h2. For the Impatient
|
||||||
I know, you just want to build and play. Do this:
|
I know, you just want to build and play. Do this:
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
|
<code>
|
||||||
git clone git://github.com/jwiegley/ledger.git
|
git clone git://github.com/jwiegley/ledger.git
|
||||||
cd ledger && ./acprep && make check
|
cd ledger && ./acprep && make check
|
||||||
|
</code>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
If you have all the dependencies installed (see below), this is all you need.
|
If you have all the dependencies installed (see below), this is all you need.
|
||||||
Now try your first ledger command:
|
Now try your first ledger command:
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
|
<code>
|
||||||
./ledger -f doc/sample.dat reg
|
./ledger -f doc/sample.dat reg
|
||||||
|
</code>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
h2. To the Rest
|
h2. To the Rest
|
||||||
|
|
@ -77,15 +81,19 @@ h3. MacPorts
|
||||||
If you build stuff using MacPorts, as I do, here is what you would run:
|
If you build stuff using MacPorts, as I do, here is what you would run:
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
sudo port install boost +python25+st
|
<code>
|
||||||
sudo port install gmp mpfr libedit pcre libofx
|
sudo port install boost +python25+st gmp mpfr gettext libedit
|
||||||
sudo port install cppunit doxygen texlive texinfo lcov
|
sudo port install cppunit texlive doxygen graphviz texinfo lcov
|
||||||
|
sudo port install sloccount pcre libofx expat
|
||||||
|
</code>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
You can even just install the current Ledger *RELEASE* directly:
|
You can even just install the current Ledger *RELEASE* directly:
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
|
<code>
|
||||||
sudo port install ledger
|
sudo port install ledger
|
||||||
|
</code>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
h3. Ubuntu
|
h3. Ubuntu
|
||||||
|
|
@ -94,9 +102,12 @@ If you're going to be build on Ubuntu, @sudo apt-get install ...@
|
||||||
the following packages (current as of Ubuntu Hardy):
|
the following packages (current as of Ubuntu Hardy):
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
build-essential libtool autoconf automake texinfo python-dev
|
<code>
|
||||||
zlib1g-dev libbz2-dev stow libgmp3-dev bjam libboost-dev
|
sudo apt-get install build-essential libtool autoconf automake \
|
||||||
libboost-regex-dev libboost-date-time-dev libboost-filesystem-dev
|
texinfo python-dev zlib1g-dev libbz2-dev stow libgmp3-dev \
|
||||||
|
bjam libboost-dev libboost-regex-dev libboost-date-time-dev \
|
||||||
|
libboost-filesystem-dev
|
||||||
|
</code>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
h2. Preparing the Build
|
h2. Preparing the Build
|
||||||
|
|
@ -106,18 +117,11 @@ The next step is preparing your environment for building. While you can use
|
||||||
you:
|
you:
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
./acprep
|
<code>
|
||||||
|
tools/myacprep
|
||||||
|
</code>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
If you want to run with complete debugging on, as I do, use this:
|
|
||||||
|
|
||||||
<pre>
|
|
||||||
./acprep --devel --boost SUFFIX
|
|
||||||
</pre>
|
|
||||||
|
|
||||||
Where *SUFFIX* is the letters that occur after @libboost_regex-SUFFIX.a@ in
|
|
||||||
your library directory. It might be @mt@, or @xgcc40@, or @st@, etc.
|
|
||||||
|
|
||||||
Please read the contents of @config.log@ if the configure step fails.
|
Please read the contents of @config.log@ if the configure step fails.
|
||||||
|
|
||||||
h2. Building
|
h2. Building
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue